You would typically have one presenter and one view for each discrete
part of the page. The idea is to componentise the parts of the page so
that they can be re-used in a variety of contexts; for example: you
might have a page navigation sub-panel that gets used on several
pages.
To re-use your panel do something like this:
public MyContainingPresenter(MyContainingPresenter.Display
display, MyReusablePanel subPanel) {
...
display.setSubPanel(subPanel.getDisplay().asWidget()).
...
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---