public class ERXListContainsItemConditional extends ERXWOConditional
List
.Name | Description |
---|---|
list | array of objects |
item | object to test inclusion in the list |
negate | inverts the sense of the conditional. |
Modifier and Type | Field and Description |
---|---|
protected WOAssociation |
_item |
protected WOAssociation |
_list |
_condition, LAST_CONDITION_KEY
_children
_ConstructorParameters
Constructor and Description |
---|
ERXListContainsItemConditional(String aName,
NSDictionary aDict,
WOElement aElement) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
conditionInComponent(WOComponent component)
Tests if the bound item is contained within the bound list.
|
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 _list
protected WOAssociation _item
public ERXListContainsItemConditional(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)
conditionInComponent
in class ERXWOConditional
Copyright © 2002 – 2024 Project Wonder.