Hi Tanguy, Thanks for the reply. I had read the blog link you posted (and part II).
In the Contact application, the *entire* application area is initially taken up with the contacts list. When a contact is chosen for editing (or the Add button pressed), the *entire* area is replaced by the edit contact view. I see the DockLayoutPanel as being different to this. Let's assume the Mail application was to be changed to be a bit more Outlook like. The change being a calendar option that could be chosen from the left hand side (where Mailboxes, Tasks, and Contacts are). When that calendar is chosen, you don't want the entire application area to be replaced, you'd just want the two split windows in the centre area to be replaced by a big calendar. I am wondering how that would be orchestrated within the application? Would MVP be used here, and if so, how? Thanks, Pete On 26 July, 14:59, Tanguy Le Barzic <tanguy.lebar...@gmail.com> wrote: > Hi Pete, > > The Mail application from the samples doesn't follow the MVP pattern and its > separation between views and presenters. I suggest you read the articles > from the blog about mvp > (http://code.google.com/webtoolkit/articles/mvp-architecture.html), which > include an example similar to Mail (a Contact application). Concerning > DockLayoutPanel, it would be part of the view in an application following > MVP (as it defines how your application will look like). > Hope this helps > > -- > Tanguy > > 2010/7/25 PeteUK <newbar...@gmail.com> > > > Hello, > > > I've been investigating GWT recently and want to start writing with > > it. This is my first question on here, so pardon my ignorance. > > > I had just got my head around presenters and views. I then tried out > > the Mail application that ships with 2.0.4 Eclipse plugin and this > > looks really good. Looking at the source code though, I cannot see any > > presenters or views and wonder if when using DockLayoutPanel (as the > > Mail application does), would one also use presenters and views? If > > so, how would they be used with the DockLayoutPanel? What portion of > > the DockViewPanel would a view represent? > > > Thanks, > > > Pete > > > -- > > 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-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@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.