Re: SimpleBeanEditorDriver and MVP
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 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.
SimpleBeanEditorDriver and MVP
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 SimpleBeanEditorDriver know about concrete view(SimpleBeanEditorDriverModel, ConcreteView), therefore it should located in View(not in presenter). -- 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.
Re: SimpleBeanEditorDriver and MVP
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 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.
Re: SimpleBeanEditorDriver and MVP
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 http://code.google.com/p/google-web-toolkit/issues/detail?id=5727can=1q=editorsort=-idcolspec=ID%20Type%20Status%20Owner%20Milestone%20Summary%20Stars -- 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.