The set Tag
Description
Sets a value to a variable. The setting value is specifed between scope of the and tags. The
value may contain any combination of variable, index variables, constants and static method calls.
Variables do not have to be predefined.
A variable can not be typed.
Type: Control
Attributes:
- name
- identifies the variable name
Loop Control: NO
Containing Tags
Used Within Tags - suggested
- atEnd
-
- composite
-
- continue
-
- element
-
- envelope
-
- functionalgroup
-
- if
-
- loop
-
- segment
-
- select
-
- set
-
- table
-
- transactionset
-
Example
<set attribute="firstName">James</set>>
<set attribute="firstName2">${firstName}</set>>