You have to call exportStaticMethod() in your GWT Java class once on app 
startup (or similar). By calling it, it will install a function pointer into 
the $wnd object called "computeLoanInterest" which points back to a GWT Java 
method in your class. 

So once you have exported your function you simply call the function pointer 
on the "$wnd" object. In case of the example you would call 
"$wnd.computeLoanInterest()" in your javascript.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/hoE5W8CilugJ.
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