The following code works fine if i do HTML = new HTML("<a href=#
onclick=window.test()>Hi 123I</a>'); ( Meaning HelloWorld gets Printed )
But the same HTML from inside a RichTextArea does not get printed .
I am doing missing something here
MyPanel
{
RichTextArea ss = new RichTextArea ();
ss.stHTML("<a href=# onclick=window.test()>Hi 123I</a>");
public static native void exportMyFunction2(MyPanel x) /*-{
$wnd.call = function () {
[email protected]::test()();
}
}-*/;
public void test()
{
GWT.log("Hello World");
}
}
--
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].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.