i am new here and in GWT, and my english is not so good, so please excuse me. i need to create a web site, using GWT. the website has hierarchical structure: main global caption, and couple of buttons. each button opens new part of the application, which has its own sub tabs. each one of the sub-tab suppose to be navigatable. for example:
Main form
-> application issues
---> preferences ---> create something --->edit something
-> administration
---> user management --> policies
now, i want to understand what is the best option to use GWT. i thought of two options: 1. there will be in the entry point main activity. in its start function we will create ActivityManager for each sub-menu (= sub tab = child). each sub menu will create activity managers for each its sub menu, and so on. we will set a display for each activity manager, and fire change place event.
the problem is that i need to manage the places (all the places should go to the main activity, that should takes its params and delegate to the sub places, etc.) otherwise, when the user copy and paste the url, it will cause only the child activity to start, and the parent activity to be not initialized.
- i can create OOP hierarchy of widges, so - there will be an activity for each leaf in the hierarchy structure tree. there will be also matching widges hierarchy. each leaf widge contains its own components, and all its parent components (such as - the main caption of the form) in this option, there is only one active activity.
what is the best option? how would you implement hierarchy structure?
thanks....