Re: Validation errors inside a sub-component
Re: Validation errors inside a sub-component
- Subject: Re: Validation errors inside a sub-component
- From: Andrew Lindesay <email@hidden>
- Date: Fri, 6 Nov 2009 15:37:06 +1300
Hi Pascal;
Subsection 7.10 of this gives you a brief overview of how I handle
this which I think is akin to what Ramsey is meaning;
http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf
It may give you some ideas.
cheers.
Maybe drop all your validation handling into your page component
instead and then you can get at it with context.page? Extra bonus:
use the same page super class everywhere and your validation
handling is done in one place for your entire app. (^_^)
...
I'm trapping validation errors like this :
___
Andrew Lindesay
www.lindesay.co.nz
_______________________________________________
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