Shelley
unread,Jul 22, 2010, 1:15:09 AM7/22/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gwt-mvc
hi all:
seems Gwt-MVC deal with this situation best: one controller->one or
more view, and these view does not coupling together. then the
relationships between controller and views is straightforward.
but how to deal with several views which coupling together?
i was doing a project, the app's main view is a dockpanel, which has
north, east, west and south areas each containing a widget, i consider
each area should has a controller and a view, the view will be
initialized in the controller's init() methods. then it will be
straightforward that the control will handle the event issued by the
view. but how to integrate the views together? where to integrate?
if in the root control, in the init() method you first create a
dockpanel, then you have to create several views and put it into the
dockpanel, but the "several views" should be create by their own
controller, not the root control.
anyone has suggestions for this? thanks in advance.
-Shelley