Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC
PATH Documentation > WebObjects

Table of Contents

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.

Table of Contents
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice