I have few problems developing a GWT application. I am trying to develop an RIA application (with only one main widget, giving it a call to Main). First, the user must be registered. Here is my way to do this, but it has a problem, you will see.
- Show root panel login components.
- If the login was successful (checks the database), show the main widget
- A widget has been added to the root panel
Everything works, but when you click Refresh , it again displays the input components ... All this happens in the method onModuleLoad.
How do I redo this logic? I would like the user to register (this means that the RootPanel will store the main widget) for a certain amount of time.
Xorty source
share