I have tried doing like this. 

I have two websites. One javascript based and one GWT based. I would like to 
login to the GWT based application from the Javascript  application. I 
thought i could use JSNI to export the login method from the GWT application 
and call it from the other javascript application. Both the websites are on 
https, so i am assuming there wont be any security issues.

I have exported the login method of the GWT application as follows, 

 public static native void exportLogin() /*-{
       
 $wnd.login=@com.sequenom.assaydesigner.login.client.LoginModule1::loadModule();
    }-*/;

How do i invoke this from the javascript application and bring up the GWT 
application. From the documentation i understand that the GWT module has to 
be loaded to get access to the exported method. So i dont know how exactly 
implement this. 

*is it even possible to do it this? *


-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to