Portlet Factory, Version 6.1.2
Passing values from the model to actions
When specifying argument values, you can enter a string or use the reference chooser to select the value from a variable or method in your model. This table shows the indirect reference syntax used to supply an argument value from various elements in the model.
In order to... Syntax Pass the results of a Java expression ${Java/webAppAccess.getRequestData().getContextURL()} Pass the results of a service call ${MethodCall/ServiceCallName_reply} Pass the value of a variable ${Variables/VariableName} Pass the value of an XML element in a variable ${Variables/VariableName/parentElement/childElement} Pass the value of a form input ${Inputs/FieldName} Pass the value returned by a method ${MethodCall/MethodName} Pass the value returned by an LJO method ${MethodCall/LJOName.MethodName} Pass the value stored in a repeated region's loop variable ${Variables/LoopVar/ElementName} Parent topic: Using input mappings for builder calls in a repeated region
Library | Support |