public class ERXWOConditional extends com.webobjects.appserver._private.WODynamicGroup
meetsConditionInComponent(WOComponent)
and pullAssociations(NSDictionary)
.Name | Description |
---|---|
condition | condition |
negate | negate |
Modifier and Type | Field and Description |
---|---|
protected WOAssociation |
_condition |
static String |
LAST_CONDITION_KEY |
_children
_ConstructorParameters
Constructor and Description |
---|
ERXWOConditional(String name,
NSDictionary dict,
WOElement element) |
Modifier and Type | Method and Description |
---|---|
void |
appendChildrenToResponse(WOResponse woresponse,
WOContext wocontext) |
void |
appendToResponse(WOResponse woresponse,
WOContext wocontext) |
protected boolean |
conditionInComponent(WOComponent wocomponent)
Override this to return true when your condition is met.
|
WOActionResults |
invokeAction(WORequest worequest,
WOContext wocontext) |
WOActionResults |
invokeChildrenAction(WORequest worequest,
WOContext wocontext) |
static Boolean |
lastCondition() |
protected boolean |
meetsConditionInComponent(WOComponent wocomponent) |
protected void |
pullAssociations(NSDictionary<String,? extends WOAssociation> nsdictionary)
Override to pull the associations for your condition.
|
static void |
setLastCondition(Boolean lastCondition) |
void |
takeChildrenValuesFromRequest(WORequest worequest,
WOContext wocontext) |
void |
takeValuesFromRequest(WORequest worequest,
WOContext wocontext) |
String |
toString() |
addChildElement, childrenElements, EmptyGroup, hasChildrenElements
public static final String LAST_CONDITION_KEY
protected WOAssociation _condition
public ERXWOConditional(String name, NSDictionary dict, WOElement element)
public static void setLastCondition(Boolean lastCondition)
public static Boolean lastCondition()
protected boolean conditionInComponent(WOComponent wocomponent)
protected final boolean meetsConditionInComponent(WOComponent wocomponent)
protected void pullAssociations(NSDictionary<String,? extends WOAssociation> nsdictionary)
negate
has already been pulled, so don't call super, as you
will get an IllegalStateException because condition
isn't
bound.public String toString()
toString
in class com.webobjects.appserver._private.WODynamicGroup
public void takeValuesFromRequest(WORequest worequest, WOContext wocontext)
takeValuesFromRequest
in class com.webobjects.appserver._private.WODynamicGroup
public void takeChildrenValuesFromRequest(WORequest worequest, WOContext wocontext)
takeChildrenValuesFromRequest
in class com.webobjects.appserver._private.WODynamicGroup
public WOActionResults invokeAction(WORequest worequest, WOContext wocontext)
invokeAction
in class com.webobjects.appserver._private.WODynamicGroup
public WOActionResults invokeChildrenAction(WORequest worequest, WOContext wocontext)
invokeChildrenAction
in class com.webobjects.appserver._private.WODynamicGroup
public void appendToResponse(WOResponse woresponse, WOContext wocontext)
appendToResponse
in class com.webobjects.appserver._private.WODynamicGroup
public void appendChildrenToResponse(WOResponse woresponse, WOContext wocontext)
appendChildrenToResponse
in class com.webobjects.appserver._private.WODynamicGroup
Copyright © 2002 – 2024 Project Wonder.