I am new to GWT here and my English is not so good, so please excuse me. I need to create a website using GWT. The website has a hierarchical structure: the main global signature and a couple of buttons. Each button opens a new part of the application, which has its own tabs. each of the sub-tabs allows navigation. eg:
Basic form
→ problems with the application
---> preferences ---> create something ---> edit something
→ administration
---> user management -> policies
Now, I want to understand what is the best option for using GWT. I thought of two options: 1. will be at the main entry point. in our launch function, we will create an ActivityManager for each submenu (= sub tab = child). each submenu will create activity managers for each of its submenus, etc. we will set the display for each activity manager and the event of the place of the fire change.
the problem is that I need to manage the places (all places should go to the main activity, which should take their parameters and delegate them to sub-items, etc.) otherwise, when the user copies and pastes the URL, this will result to start only child activity, and parent activity will not be initialized.
- I can create an OOP hierarchy for widgets, so there will be activity for each sheet in the hierarchy structure tree. the hierarchy of offsets will also correspond. each fork sheet contains its own components, and all its parent components (such as the main title of the form) in this case, only one asset is active.
What is the best option? How to implement a hierarchical structure?
thanks....
source share