• 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
How to Cause validate Methods to be Called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: How to Cause validate Methods to be Called?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: set SQL server as Argument
  • Next by Date: WO on two computers
  • Previous by thread: Re: set SQL server as Argument
  • Next by thread: Re: How to Cause validate Methods to be Called?
  • Index(es):
    • Date
    • Thread