Hai All,
I have one requirement like, i need to get the string data from
project html file to entry point class.
like say i project html file is Home.html .From this html file i need
to pass string value to entry point
class.
In entry point , i need to get that value and check whether user
logg
This is not very clear.
Are you trying to manage user authentication in a GWT application ?
If yes, what kind of authentication do you want to manage. Simple web based
one, using ACEGI,?
2009/1/8 rajesh_ch
>
> Hai All,
>
> I have one requirement like, i need to get the string data from
> p
Hai,Thanks for quick reply.
i am trying to call one of the GWT method from outside application.
Like , i have to check whether user logged in or not.
i written a method to check whether user logged in or not,but i need
to call this method from outside my gwt application.
is it possible to cal
Yes you can :
http://code.google.com/intl/fr/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=DevGuideJavaFromJavaScript
2009/1/9 rajesh_ch
>
> Hai,Thanks for quick reply.
>
>
> i am trying to call one of the GWT method from outside application.
>
> Like , i have to chec
Thanks for reply.
My Entry point class :
package com.mantra.draw2d.Home.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Cookies;
import com.google.gwt.user.client.Element;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Butt
You're almost done :-)
You can't use
@com.mantra.draw2d.Home.client:: checkLogin()()
in you handwritten javascript.
this notation can only be used from JSNI methods.
but as you did in your class, you can exposes these methods :
private static native void checkLogin(Home x)/*-{
$wn