| PATH |
WOKeyValueConditional
Component Description
A WOKeyValueConditional component displays its contents (that
is, everything between the <WEBOBJECT...> and </WEBOBJECT...> tags
in the template file) if the result of the parent component's valueForKey method
matches a particular value. Raises an exception if the parent component's dictionary
does not contain key.
This component is very similar to the WOConditional dynamic element
and is usually used in conjunction with the WOTabPanel component.
Synopsis
WOKeyValueConditional { key=aString; value=anObject; };Bindings
- key
- The key whose value is compared.
- value
- The value that must match the result of the parent's valueForKey method.