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

Re: How to Cause validate Methods to be Called?


  • Subject: Re: How to Cause validate Methods to be Called?
  • From: email@hidden
  • Date: Tue, 13 Apr 2004 12:06:41 -0400
  • Priority: normal

I believe you don't need to return an Object value in 4.5.1.

I ran the example given on the page :

http://www.stepwise.com/Articles/Technical/WOValidation.html

the movies example works like clockwork and validateATTRIBUTE is called ! but I cannot for the life of me figure out what I am doing wrong with my application.

A. Shiraz
44 Executive Boulevard
Elmsford, NY 10523
(914) 592- 4203 x268

----- Original Message -----
From: Chuck Hill <email@hidden>
Date: Tuesday, April 13, 2004 11:37 am
Subject: Re: How to Cause validate Methods to be Called?

> 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.


  • Prev by Date: Re: How to Cause validate Methods to be Called?
  • Next by Date: Accessing single element from NSArray of objects
  • Previous by thread: Re: How to Cause validate Methods to be Called?
  • Next by thread: JavaPlaybackManager issues?
  • Index(es):
    • Date
    • Thread