Hi,
just like Thomas said, u can use any of this ways dipending on the req.
I had a req. where the two modules run in the same window and I used a JSNI
methods
module A
public static native void setMessage(JavaScriptObject message) /*-{
$wnd.myMessage = message ;
}-*/;
public static native JavaScriptObject getMessage() /*-{
return $wnd.myMessage;
}-*/;
module B
public static native void setMessage(JavaScriptObject message) /*-{
$wnd.myMessage = message ;
}-*/;
public static native JavaScriptObject getMessage() /*-{
return $wnd.myMessage;
}-*/;
Hope this helps
B
Am Montag, 28. Januar 2013 14:47:12 UTC+1 schrieb Clement:
>
> Hi All,
>
> I have the below requirement.
> Currently we have two modules a.gwt.xml and b.gwt.xml and I have a
> scenario where the text entered in module A to be passed to module B.
> I don't want to prefer the Cookie and Server side Session options.
>
> Please share your ideas on how to pass messages between the modules.
>
> Thanks in Advance
> Clement Amarnath
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.