If I understand your question correctly, you want to use a value that has 
been populated by JavaScript then it should be as simple as:


public final native String getValue() /*-{
return $wnd.a;
}-*/;

but if you are wanting to pass the value to the JavaScript then it would be 
like:

public static final native void setValue(String myValue) /*-{
$wnd.a = myValue;
}-*/;

Is that what you are asking for?

Thanks,

Gordon


-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to