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 PROTECTED]>:

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      ([email protected])
Help/Unsubscribe/Update your Subscription:

http://lists.apple.com/mailman/options/webobjects-dev/markus.lux%40gmail.com

This email sent to [EMAIL PROTECTED]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to