• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERXValidationFactory exceptions question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >ERXValidationFactory exceptions question (From: Catarina Vieira Simoes <email@hidden>)
 >Re: ERXValidationFactory exceptions question (From: Guido Neitzer <email@hidden>)
 >Re: ERXValidationFactory exceptions question (From: Catarina Vieira Simoes <email@hidden>)

  • Prev by Date: Re: ERXValidationFactory exceptions question
  • Next by Date: Re: Web Service with PostgreSQL
  • Previous by thread: Re: ERXValidationFactory exceptions question
  • Next by thread: Re: soap/xml-rpc (please dont beat me)
  • Index(es):
    • Date
    • Thread