Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width20%
<field-to-session>
Column
Copies a field to a servlet session attribute.
Code Block
xml
xml
<field-to-session field="foo" session-name="fooAttribute" />

Attributes

field

optional

The name of the field to copy from

session-name

optional

The name of the session attribute to copy to

map-name

optional

The name of the map containing field


Info
titleProposed Changes
  • Currently, all attributes are optional. Require the field and session-name attributes.
  • Eliminate the map-name attribute.
  • Deprecate and replace with a UEL expression.
Section
Column
width20%
<first-from-list>
Column
Copies the first element in a list to a field. If the list is empty or not found, sets the field to null.
Code Block
xml
xml

<first-from-list entry-name="foo" list-name="fooList" />

Attributes

entry-name

optional

The name of the field to copy to

list-name

optional

The name of the list to copy from


Info
titleProposed Changes
  • Currently, both attributes are optional. Require both attributes.
  • Deprecate and replace with a UEL expression.
Section
Column
width20%
<list-to-list>
Column
Copies list elements to another list. If the target list is not found, a new list is created.
Code Block
xml
xml

<list-to-list list-name="foo" to-list-name="fooList" />

Attributes

list-name

optional

The name of the list to copy from

to-list-name

optional

The name of the list to copy to


Info
titleProposed Changes
  • Currently, both attributes are optional. Require both attributes.
  • Rename the list-name attribute to from-field or from-list to make the syntax similar to other operators.
Section
Column
width20%
<map-to-map>
Column
Copies map entries to another map. If the target map is not found, a new map is created.
Code Block
xml
xml

<map-to-map map-name="foo" to-map-name="fooMap" />

Attributes

map-name

optional

The name of the map to copy from

to-map-name

optional

The name of the map to copy to


Info
titleProposed Changes
  • Currently, both attributes are optional. Require both attributes.
  • Rename the map-name attribute to from-field or from-map to make the syntax similar to other operators.
<now-date-to-env>
<now-timestamp-to-env>

...