call javascript function in JSP (placed in Frame object) from GWT (works in IE but not in Firefox)
hi,
I have a JSP placed in a Frame object. The Frame has the id
'oldWebFrame'.
Frame frame_ = new Frame();
frame_.getElement().setId('oldWebFrame');
The JSP has a Javascript function called updatePattern().
I define a JSNI call in GWT:
public native void updatePattern() /*-{
var f = $wnd.frames["oldWebFrame"];
f.updatePattern();
}-*/;
It works ok with IE but with Firefox I get an error ("f is
undefined").
Does I need to make a different call for Firefox ?
Thanks !
pep
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home