here is example just implement in your java class
public static native void testMethod()/*-{
$wnd.testMethod2 = function() {
return
@com.test.client.TestEntryPoint::testMethod2(Ljava/lang/String;)(null);
}
}-*/;
public static void testMethod2(String test){
Window.alert("Hi there ...");
}
>From your HTML page call testMethod2 function
Thanks
Muhammad Ismail
On Sun, Nov 23, 2008 at 12:17 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Hi I am trying to call a GWT function from a hand written SVG script.
> I was just wondering if anyone has already managed this, and could
> provided an example? Thanks.
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---