Chuck Hill wrote:
That is generally how it is done. We have a KeyValueConditional in our frameworks or in the PracticalWebObjects code that has bindings like:

Foo: KeyValueConditional {
    key = someKey;
    value = someValue;
    negate = false;
}

Where the condition evaluates to true if key.equals(value). I am pretty sure that Wonder has this also. Or you could use WOOgnl from Wonder.

There is also a WOKeyValueConditional component in the woextensions library.

http://developer.apple.com/documentation/WebObjects/Reference/API/
com/webobjects/woextensions/WOKeyValueConditional.html

The key needs to be a keypath in quotes, eg)
kvc : WOKeyValueConditional{
  key = "bar";
  value = blah;
}

cheers,
 - shaun
_______________________________________________
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