• 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: Validating in a subcomponent (reusable component)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validating in a subcomponent (reusable component)


  • Subject: Re: Validating in a subcomponent (reusable component)
  • From: Arturo Pérez <email@hidden>
  • Date: Fri, 10 Oct 2003 14:31:17 -0400

On Friday, October 10, 2003, at 02:25  PM, Chuck Hill wrote:

Arturo Pirez wrote:

On Friday, October 10, 2003, at 01:57 PM, Chuck Hill wrote:
Arturo Pirez wrote:

I'm seeing strange behavior if I throw a NSValidation.ValidationException from a subcomponent/reusable component.


Shouldn't that be where the validation logic happens? I guess I'm not really understanding what you're saying above.
Yes. I was more asking if you were throwing the exception while invoking an action or creating the response. Throwing an exception there could be expected to have a very different result. :-)

Right. My validation takes place in a validateKey() method. So the exception should be happening in the correct place. It works mostly nicely except for the disappearing exception. Oh well. Must be one of those warts that
drive certain kinds of people crazy. Thanks again.


Chuck
-------
WebObjects in Philadelphia.  You want a cheesesteak with that?
Visit http://webobjects.meetup.com
_______________________________________________
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.

References: 
 >Re: Validating in a subcomponent (reusable component) (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Rép : WebObjects and Panther
  • Next by Date: Eclipse/WOLips vs. Project Builder
  • Previous by thread: Re: Validating in a subcomponent (reusable component)
  • Next by thread: Help Please: Problem with Insert in Chapter 10 of Web Applications Tutorial
  • Index(es):
    • Date
    • Thread