• 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: WOConditional Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOConditional Question


  • Subject: Re: WOConditional Question
  • From: "Markus Lux" <email@hidden>
  • Date: Tue, 2 Jan 2007 21:53:40 +0100

Hi Chip,

you can't do this with a WOConditional. You can use a WOConditional only for checking booleans or null values (if the given condition is null, then no content is displayed).
You need to write a method that checks that for you and returns a boolean value.

Greetings, Markus

2007/1/2, Chip Myers <email@hidden>:
This question is in regards to the condition attribute within a WOConditional.  How do I perform a simple check on an integer, to see if it equals a certain number?  In this case, I only want the contents of the WOConditional to be displayed when this integer equals 4.

Any help offered would be appreciated.

Thanks,
Michael

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (


 _______________________________________________
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: WOConditional Question
      • From: Chuck Hill <email@hidden>
    • Re: WOConditional Question
      • From: Quattromultimedia <email@hidden>
References: 
 >WOConditional Question (From: Chip Myers <email@hidden>)

  • Prev by Date: WOConditional Question
  • Next by Date: Re: WOConditional Question
  • Previous by thread: WOConditional Question
  • Next by thread: Re: WOConditional Question
  • Index(es):
    • Date
    • Thread