Re: Client en Server side validation

2011-01-20 Thread Jeroen Wolff
I've got 2 types of validation. Syntax and business rules. The syntax can be solved in the presenter, but i don't want to validate the whole bean if i only want to validate one property of that bean. I'm thinking to make it like this: Class Foo() { Date date; String otherfield; public

Client en Server side validation

2011-01-19 Thread Jeroen Wolff
make the presenter responsible for validating the widgets input, how does i know on the server which validator to use because on the server i have no presenter. Do you have patterns for this problem? Thanks, Jeroen Wolff -- You received this message because you are subscribed to the Google

Who handles UI rules...the Activity?

2011-01-17 Thread Jeroen Wolff
in the View? Is this the 'right' way? Regards, Jeroen Wolff -- 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

Re: dumb / dto domain model

2010-09-09 Thread Jeroen Wolff
want to program my business (showing/not showing fields etc) in the presenter for the ui logic and on the server for model validating. Twice. Regards, Jeroen Wolff On Aug 25, 10:46 pm, John Ivens john.wagner.iv...@gmail.com wrote: Won't the event bus and presenters solve this problem for you

dumb / dto domain model

2010-08-25 Thread Jeroen Wolff
Hi, where are in the middle of designing a big app with a lot off difficult forms. On these forms there will be a lot of questions and based on the results more questions. Also lot of field validation. The current app is a standalone app and the domain model is a big tree with the Observable

MPV HasTitle for TabPanel???

2010-08-18 Thread Jeroen Wolff
Hi, i'm just starting with the MVP pattern. I've got a Presenter with a View that has a TabLayoutPanel component. The title of the tab's must be filled by the presenter with a title/ text from the model. Any ideas how to do this? Regards, Jeroen Wolff -- You received this message because you

Re: MPV HasTitle for TabPanel???

2010-08-18 Thread Jeroen Wolff
 am, Jeroen Wolff jeroen.wo...@gmail.com wrote: Hi, i'm just starting with the MVP pattern. I've got a Presenter with a View that has a TabLayoutPanel component. The title of the tab's must be filled by the presenter with a title/ text from the model. Any ideas how to do this? Regards

mvp for application with menutree

2010-07-04 Thread Jeroen Wolff
Hi, i'm just starting with GWT. First is started to build my app without MVP and now i see why they advise to use the MVP pattern and the eventbus. I'm building an application with a DockLayout with on the west a treemenu and in the center a form. Which form to display depends on the selected