public class ERXKeyValueSetter extends ERXDynamicElement
source="edit"
and destination=d2wContext.task
when you are on a list page.
Another would be the typical scenario where you iterate over keys of a
dictionary and you want the corresponding entry. Normally you'd need an
accessor for that, but using this component you would set
source=myDict
, sourceKeypath=currentyKey
and
destination=currentEntry
.Name | Description |
---|---|
source | the source object |
sourceKeypath | (optional) the key path off the source object. If omitted, the source itself is used. |
destination | the destination of the value |
destinationKeypath | (optional) the key path off the destination object. If omitted, the source itself is used. |
ERXDynamicElement.ContextData<T>
log
_children
_ConstructorParameters
Constructor and Description |
---|
ERXKeyValueSetter(String name,
NSDictionary<String,WOAssociation> associations,
NSMutableArray<WOElement> children) |
Modifier and Type | Method and Description |
---|---|
void |
appendToResponse(WOResponse response,
WOContext context) |
WOActionResults |
invokeAction(WORequest request,
WOContext context) |
void |
takeValuesFromRequest(WORequest request,
WOContext context) |
afterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBinding
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, toString
public ERXKeyValueSetter(String name, NSDictionary<String,WOAssociation> associations, NSMutableArray<WOElement> children)
public void takeValuesFromRequest(WORequest request, WOContext context)
takeValuesFromRequest
in class com.webobjects.appserver._private.WODynamicGroup
public WOActionResults invokeAction(WORequest request, WOContext context)
invokeAction
in class com.webobjects.appserver._private.WODynamicGroup
public void appendToResponse(WOResponse response, WOContext context)
appendToResponse
in class com.webobjects.appserver._private.WODynamicGroup
Copyright © 2002 – 2024 Project Wonder.