Re: SimpleBeanEditorDriver and MVP

2011-03-06 Thread John Maitland
The driver is auto generated by the GWT compiler and therefore should belong in the view. Any code that call GWT.create should really belong in the view or your presenter will have to use the slow GWTTestCase. -- You received this message because you are subscribed to the Google Groups Google

SimpleBeanEditorDriver and MVP

2011-03-04 Thread Pavel Ko
I am a novice in GWT and MVP. I have question about Editors. Where should SimpleBeanEditorDriver located? in Presenter layer or in View layer? From one point of view SimpleBeanEditorDriver know about model, therefore it should be in Presenter(not in view). From another point of view

Re: SimpleBeanEditorDriver and MVP

2011-03-03 Thread Jeff Larsen
The real kicker is you probably need to do a GWT.create on the driver, so from that standpoint it makes the most sense to put it into the view otherwise your presenter is doomed to GWTTestCase rather than to extending TestCase. -- You received this message because you are subscribed to the

Re: SimpleBeanEditorDriver and MVP

2011-03-03 Thread John Maitland
As Jeff said, I would put it in the view. You might want to look at the following Issue in how to structure your View interface to access your editor driver in the presenter. John