Anyway, i was able to create a userform widget (composite) which enabled me to add a new user and another usersform widget which presented all users. It took me a while to understand how the Async interface worked since the return type can only be 'void'. Luckily a quick look at the AsyncCallback.java reveiled how it all works.
Below some screenshots of how it works:



Another thing which takes getting used to is page navigation with GWT. You only have one html page representing your EntryPoint. So what you basically do is dynamically adding and removing your widgets in the pagecontainer.
Next weeks I will write more about my findings.
Cheers,
Robby
No comments:
Post a Comment