Class FcWithFormElementContextProps
java.lang.Object
de.xima.fc.workflow.model.nodes.FcWithFormElementContextProps
- All Implemented Interfaces:
Serializable
Model class for the with form element context workflow action
(
EWorkflowNodeType.FC_WITH_FORM_ELEMENT_CONTEXT).- Since:
- 8.5.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of (field name, index) pairs indicating the form element field value contexts to set during the execution of the child node.Gets the list of (field name, index) pairs indicating the form element repetition contexts to set during the execution of the child node.voidsetFieldValues(List<Setting<String>> fieldValues) Sets the list of (field name, index) pairs indicating the form element field value contexts to set during the execution of the child node.voidsetRepetitions(List<Setting<String>> repetitions) Sets the list of (field name, index) pairs indicating the form element repetition contexts to set during the execution of the child node.
-
Constructor Details
-
FcWithFormElementContextProps
public FcWithFormElementContextProps()
-
-
Method Details
-
getFieldValues
Gets the list of (field name, index) pairs indicating the form element field value contexts to set during the execution of the child node. Blank names and out of bounds indices will be ignored. For example, if set to [(sel1, 1), (sel2, 2)] and sel1 and sel2 are multi-choice select form elements, then during the execution of the form element context node: the placeholder[%sel1%]will evaluate to the second selected value of "sel1"; the placeholder[%sel2%]will evaluate to the third selected value of "sel2".- Returns:
- A list with the index for each field name.
-
setFieldValues
Sets the list of (field name, index) pairs indicating the form element field value contexts to set during the execution of the child node. Blank names and out of bounds indices will be ignored. For example, if set to [(sel1, 1), (sel2, 2)] and sel1 and sel2 are multi-choice select form elements, then during the execution of the form element context node: the placeholder[%sel1%]will evaluate to the second selected value of "sel1"; the placeholder[%sel2%]will evaluate to the third selected value of "sel2".- Parameters:
fieldValues- A list with the index for each field name.
-
getRepetitions
Gets the list of (field name, index) pairs indicating the form element repetition contexts to set during the execution of the child node. Blank names and out of bounds indices will be ignored. For example, if set to [(tf1, 1), (sel1, 2)] and tf1 and fs1 are repeated form elements, then during the execution of the form element context node: the placeholder[%tf1%]will evaluate to the value of the second repetition of "sel1"; the placeholder[%sel1%]will evaluate to the value of the third repetition of "sel1".- Returns:
- A list with the index for each field name.
-
setRepetitions
Sets the list of (field name, index) pairs indicating the form element repetition contexts to set during the execution of the child node. Blank names and out of bounds indices will be ignored. For example, if set to [(tf1, 1), (sel1, 2)] and tf1 and fs1 are repeated form elements, then during the execution of the form element context node: the placeholder[%tf1%]will evaluate to the value of the second repetition of "sel1"; the placeholder[%sel1%]will evaluate to the value of the third repetition of "sel1".- Parameters:
repetitions- A list with the index for each field name.
-