• 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: Type casting in WOComponents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type casting in WOComponents


  • Subject: Re: Type casting in WOComponents
  • From: Mike Schrag <email@hidden>
  • Date: Thu, 7 Jun 2007 12:03:52 -0400

Yes, definitely, but given his original problem description, just using regular KVC should be a totally straightforward thing to do and that it isn't working implies a design problem that is probably better solved more directly.

ms

On Jun 7, 2007, at 11:58 AM, Guido Neitzer wrote:

On 07.06.2007, at 08:39, Mike Schrag wrote:

This is not a good choice of words -- You obviously can only call a method on an object whose class HAS that method,

But isn't that just using KVC and a thing he could (not that he should) is overriding "handleQueryWithUnboundKey" and return null in cases where he knows the circumstances (like checking the keys and not throwing the exception for some of the keys). But that is the worst solution from my perspective. He better fixes the design as you suggested (at least for the user / admin thing).


cug


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Type casting in WOComponents
      • From: Guido Neitzer <email@hidden>
References: 
 >Type casting in WOComponents (From: Aaron Thompson <email@hidden>)
 >Re: Type casting in WOComponents (From: Guido Neitzer <email@hidden>)
 >Re: Type casting in WOComponents (From: Aaron Thompson <email@hidden>)
 >Re: Type casting in WOComponents (From: Mike Schrag <email@hidden>)
 >Re: Type casting in WOComponents (From: Mike Schrag <email@hidden>)
 >Re: Type casting in WOComponents (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Type casting in WOComponents
  • Next by Date: Re: Type casting in WOComponents
  • Previous by thread: Re: Type casting in WOComponents
  • Next by thread: Re: Type casting in WOComponents
  • Index(es):
    • Date
    • Thread