Re: Problem with webobject attributes in WOBuilder
Re: Problem with webobject attributes in WOBuilder
- Subject: Re: Problem with webobject attributes in WOBuilder
- From: "John Stewart" <email@hidden>
- Date: Mon, 19 Jun 2006 12:43:02 +0100
On 6/18/06, Guido Neitzer <email@hidden> wrote:
Misunderstanding. My fault. I don't do validation in the controller.
I do validation in the model. But I catch the validation errors in an
"EditPage" class and inherit from this class to build my concrete
edit pages.
What do you define by validation? If it's simply 'shape' of data,
then of course that can exist in the Model. But surely the
'significance' of the data can depend on Controller state, hence
should be validated at Controller level?
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden