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 com.webobjects.appserver.WOAssociation |
_condition |
static String |
LAST_CONDITION_KEY |
| Constructor and Description |
|---|
ERXWOConditional(String name,
NSDictionary dict,
com.webobjects.appserver.WOElement element) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendChildrenToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext) |
void |
appendToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext) |
protected boolean |
conditionInComponent(com.webobjects.appserver.WOComponent wocomponent)
Override this to return true when your condition is met.
|
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext) |
com.webobjects.appserver.WOActionResults |
invokeChildrenAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext) |
static Boolean |
lastCondition() |
protected boolean |
meetsConditionInComponent(com.webobjects.appserver.WOComponent wocomponent) |
protected void |
pullAssociations(NSDictionary<String,? extends com.webobjects.appserver.WOAssociation> nsdictionary)
Override to pull the associations for your condition.
|
static void |
setLastCondition(Boolean lastCondition) |
void |
takeChildrenValuesFromRequest(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext) |
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext) |
String |
toString() |
public static final String LAST_CONDITION_KEY
protected com.webobjects.appserver.WOAssociation _condition
public ERXWOConditional(String name, NSDictionary dict, com.webobjects.appserver.WOElement element)
public static void setLastCondition(Boolean lastCondition)
public static Boolean lastCondition()
protected boolean conditionInComponent(com.webobjects.appserver.WOComponent wocomponent)
protected final boolean meetsConditionInComponent(com.webobjects.appserver.WOComponent wocomponent)
protected void pullAssociations(NSDictionary<String,? extends com.webobjects.appserver.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.WODynamicGrouppublic void takeValuesFromRequest(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
takeValuesFromRequest in class com.webobjects.appserver._private.WODynamicGrouppublic void takeChildrenValuesFromRequest(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
takeChildrenValuesFromRequest in class com.webobjects.appserver._private.WODynamicGrouppublic com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
invokeAction in class com.webobjects.appserver._private.WODynamicGrouppublic com.webobjects.appserver.WOActionResults invokeChildrenAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
invokeChildrenAction in class com.webobjects.appserver._private.WODynamicGrouppublic void appendToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
appendToResponse in class com.webobjects.appserver._private.WODynamicGrouppublic void appendChildrenToResponse(com.webobjects.appserver.WOResponse woresponse,
com.webobjects.appserver.WOContext wocontext)
appendChildrenToResponse in class com.webobjects.appserver._private.WODynamicGroupCopyright © 2002 – 2020 Project Wonder.