GWT : Help with injecting HTML text in new browser window using
Hi All,
I have written a JSNI code that takes HTML string as an input
parameter and displays it in a new browser window. The code is working
fine with firefox but for IE, I don't see the HTMLText getting
displayed. can someone please share any insight with this issue or
share any possible solution.
Here is the JSNI code
public static native void printHTMLString(String htmlString)/*-{
var win = $wnd.open("", "win",
"width=940,height=400,status=1,resizeable=1,scrollbars=1");
win.document.open("text/html", "replace");
win.document.write(htmlString);
win.document.close();
win.focus();
}-*/;
--
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