hi all,
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.

2. 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....

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to