Re: ERXValidationFactory exceptions question
Re: ERXValidationFactory exceptions question
- Subject: Re: ERXValidationFactory exceptions question
- From: Guido Neitzer <email@hidden>
- Date: Tue, 2 Oct 2007 15:40:19 -0600
Hi Catarina.
On 02.10.2007, at 15:18, Catarina Vieira Simoes wrote:
That's how I'm doing the validation right now, but I was wondering
if that functionalities (the error list, etc) aren't already
implemented in Wonder. They seem to be in ERXValidationFactory but
I really don't quite understand how to use it.
You don't really have to use it. If you really want more
sophisticated validation there is the Validity framework. I had no
need to use it, as the normal validation with the Wonder extensions
gives me enough features.
I didn't have to change anything for validation when integrating
Wonder in applications.
Actually, I just use the "normal" WebObjects validation with
implementing the correct methods, catching the exceptions and so on.
If you don't want to implement that stuff all the time, create a
generic edit page, implement the method there and handle all problems
there. That's how I do it.
Chuck's book seems to be the WO bible. :) And it's a great book
actually. I'll try to find out more about the validation methods
there.
As I said, create a superclass with the methods you need for the
validation and you don't have to worry about it anymore - only catch
some special cases in the subclass implementations.
Looking at how ERDirectToWeb - ERD2WInspectPage and ERD2WPage handles
that is a good thing!
cug
--
http://www.event-s.net
_______________________________________________
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