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
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
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
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
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
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
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
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