public class ERXKeyValueConditional extends ERXWOConditional
WOKeyValueConditional
, but as a dynamic element. Matches if
a given key from the component matches the given value. Compares EOs by global ID.Name | Description |
---|---|
key | key |
value | value |
Modifier and Type | Field and Description |
---|---|
protected WOAssociation |
_key |
protected WOAssociation |
_value |
_condition, LAST_CONDITION_KEY
_children
_ConstructorParameters
Constructor and Description |
---|
ERXKeyValueConditional(String aName,
NSDictionary aDict,
WOElement aElement) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
conditionInComponent(WOComponent component)
Override this to return true when your condition is met.
|
protected void |
pullAssociations(NSDictionary<String,? extends WOAssociation> dict)
Override to pull the associations for your condition.
|
appendChildrenToResponse, appendToResponse, invokeAction, invokeChildrenAction, lastCondition, meetsConditionInComponent, setLastCondition, takeChildrenValuesFromRequest, takeValuesFromRequest, toString
addChildElement, childrenElements, EmptyGroup, hasChildrenElements
protected WOAssociation _key
protected WOAssociation _value
public ERXKeyValueConditional(String aName, NSDictionary aDict, WOElement aElement)
protected void pullAssociations(NSDictionary<String,? extends WOAssociation> dict)
ERXWOConditional
negate
has already been pulled, so don't call super, as you
will get an IllegalStateException because condition
isn't
bound.pullAssociations
in class ERXWOConditional
protected boolean conditionInComponent(WOComponent component)
ERXWOConditional
conditionInComponent
in class ERXWOConditional
Copyright © 2002 – 2024 Project Wonder.