• 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: Chuck Hill <email@hidden>
  • Date: Fri, 10 Oct 2003 10:57:39 -0700
  • Organization: Global Village Consulting, Inc.

Hi Arutro,

Arturo Pirez wrote:

I'm seeing strange behavior if I throw a NSValidation.ValidationException from a subcomponent/reusable component.
>
What sort of strange behavior?  Which phase is it being throw from?


Does anyone know if subcomponents can use that mechanism to report errors? Or is that an unsupported paradigm?

I'd think that they are only handled during the takeValues phase. You could do something like call parent().validationFailedWithException directly. I've used that and also added a more extensive validation reporting mechanism when the situation called for it.

FWIW

Chuck


--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net

Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
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: Validating in a subcomponent (reusable component)
      • From: Arturo Pérez <email@hidden>
References: 
 >Validating in a subcomponent (reusable component) (From: Arturo Pérez <email@hidden>)

  • Prev by Date: Re: Help Please: Problem with Insert in Chapter 10 of Web Applications Tutorial
  • Next by Date: Re: Validating in a subcomponent (reusable component)
  • Previous by thread: Validating in a subcomponent (reusable component)
  • Next by thread: Re: Validating in a subcomponent (reusable component)
  • Index(es):
    • Date
    • Thread