How to Cause validate Methods to be Called?
How to Cause validate Methods to be Called?
- Subject: How to Cause validate Methods to be Called?
- From: email@hidden
- Date: Tue, 13 Apr 2004 10:11:33 -0400
- Priority: normal
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
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.