Hi
I have to create one login module using GWT with RPC with the functionality of login, registration and forgotPassword. Login is working fine. Now i ha开发者_开发问答ve to proceed for registration and forgot password but i have in trouble to configure entry point. In my login page i have created hyperlink "REGISTER" and "FORGOT PASSWORD" and when i will click on Register Hyperlink i want to open Registration page (created using GWT) but i have no idea to implement that. please provide me any useful suggestion..Thanks
ArunYou can create Hyperlink objects that have tokens for example Register and forgotPassword. Then you add a HistoryListener or a ValueChangeHandler (depends on which version of GWT you are using) and then just add the page to the panel or if you want to do a redirect you can do a JSNI redirect.
public static native void redirect(String url)/*-{
$wnd.location = url;
}-*/;
Docs for GWT 2.0
精彩评论