• 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: EOF Boolean Qualifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOF Boolean Qualifier


  • Subject: Re: EOF Boolean Qualifier
  • From: Sacha Mallais <email@hidden>
  • Date: Tue, 3 May 2005 16:03:48 -0700

On May 3, 2005, at 7:43 am, Kieran Kelleher wrote:

I have been using the EOF Boolean custom attribute ( CHAR(5), "true", "false") as described in Practical WebObjects on page 41/42.

I am struggling with the syntax required to qualify this custom attribute type in a Fetch Specification in EOModeler. I am trying to qualify with a constant qualifier

I've tried all of these and I get an exception error message in EOModeler:
didRespond=true
didRespond ='true'
didRespond =java.lang.Boolean.TRUE


I have no problem in code fetching, for example this works fine as expected:
NSArray responders = EOUtilities.objectsMatchingKeyAndValue( ec,"EPRecipient","didRespond",Boolean.TRUE);


Is it possible to qualify this using a Boolean constant in a fetch spec?

Hmm... I've never tried that with the constant in the qualifier itself. You can certainly use the %@ notation then bind Boolean.TRUE to it.


sacha


-- Sacha Michel Mallais - 800 lb. gorilla Global Village Consulting Inc.: http://www.global-village.net/ ObAd: read "Practical WebObjects" <fnord> http://www.global-village.net/products/practical_webobjects

_______________________________________________
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


References: 
 >EOF Boolean Qualifier (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: RE: WebObjects 5.2.4
  • Next by Date: Re: WOProject XcodeIndex working
  • Previous by thread: EOF Boolean Qualifier
  • Next by thread: deprecation, need help
  • Index(es):
    • Date
    • Thread