"pages".
The most obvious setup: the pages are part of the same GWT app.
In this case they can interchange data by sharing some class that
contains the value's you like to share. This class would be the so
called Data Model. This basically has nothing to do with GWT, it's a
general java setup.
In case the pages are separate, but are present under the same base
url, use:
- Cookies if it concerns little bit of data.
- session or local dom storage.
- RequestBuilder.
I can't tell you the correct solution due to lack of information. If
the new page is constructed on the server (the old fashion way), the
best way would be probably the RequestBuilder.
- Ed
On Dec 6, 6:13 am, -sowdri- <sow...@gmail.com> wrote:
> >> .i used formpanel but not sure what path should i set in setAction()
>
> Do not use form panel, unless you are posting your data to a servlet/jsp
> that is external to the gwt module. In this case you can also use
> RequestBuilder<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/index.htm...> for
> accomplishing this.
>
> For changing pages within the module, use PlaceController.goTo(new
> MyNewPlace());
>
> -sowdri-
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment