Wednesday, December 31, 2014

GWT - Get dom element's value from another page

Suppose I have two pages A.jsp and B.jsp. I have few elements on both the pages which has been generated through GWT code. Now I want to get the value of a element which is there on A.jsp while I'm sending a request through B.jsp and I want to pass that value into the request header. I'm generating a request with:

RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, queryUrl);

I have tried using getElement() getElement however it is giving the elements which are there on that.

I want to access elements from other pages. Is it possible?

--
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