Re: How to Cause validate Methods to be Called?
Re: How to Cause validate Methods to be Called?
- Subject: Re: How to Cause validate Methods to be Called?
- From: Chuck Hill <email@hidden>
- Date: Tue, 13 Apr 2004 08:37:47 -0700
The method signature does not match the docs.
public Object validateFirstName(Object firstName)throws
NSValidation.Exception
On Apr 13, 2004, at 7:11 AM, email@hidden wrote:
I have an EO called Subscriber and I have some validate methods for
the individual fields like
public void validateFirstName(String firstName)throws
EOValidation.Exception
where the actual field being validated is "firstName".
When I submit the page with subscriber.firstName bound to a text field
the validateFirstName is not called. Any idea why the
validateATTRIBUTE method is not being called ?
I am following the example from the stepwise article on data
validation:
http://www.stepwise.com/Articles/Technical/2001-06-13.01.html
I am using WO 4.5.1 and Oracle 8i.
Thanks,
p.s. I can give more details about the actual code if you wish.
A. Shiraz
44 Executive Boulevard
Elmsford, NY 10523
(914) 592- 4203 x268
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.