Wednesday, December 31, 2014

Re: GWT - Get dom element's value from another page

RequestBuilder will return you the text of the response body. If, as you say, A.jsp generates it's content via GWT, then you'll not find the elements of interest. GWT is a client side JS technology. The content for A.jsp will not be rendered, you'll only be getting the raw HTML created by A.jsp. 

Why don't you use an XHR request to fetch the needed data from an endpoint instead? Further, it's best to no depend on fetching elements from a different page as this goes against most browser security policies.

-Joe 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment