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
Constructor and Description |
---|
ERXKeyValueSetter(String name,
NSDictionary<String,com.webobjects.appserver.WOAssociation> associations,
NSMutableArray<com.webobjects.appserver.WOElement> children) |
Modifier and Type | Method and Description |
---|---|
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context) |
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context) |
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context) |
afterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBinding
public ERXKeyValueSetter(String name, NSDictionary<String,com.webobjects.appserver.WOAssociation> associations, NSMutableArray<com.webobjects.appserver.WOElement> children)
public void takeValuesFromRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
takeValuesFromRequest
in class com.webobjects.appserver._private.WODynamicGroup
public com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
invokeAction
in class com.webobjects.appserver._private.WODynamicGroup
public void appendToResponse(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
appendToResponse
in class com.webobjects.appserver._private.WODynamicGroup
Copyright © 2002 – 2020 Project Wonder.