Versions Compared

Key

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

...

Section
Column
width20%
<set-calendar>
Column
Performs a Timestamp adjustment operation.
Code Block
xml
xml
<set-calendar field="tomorrowStamp" from-field="nowTimestamp" day="1" />
<set-calendar field="yesterdayStamp" from-field="nowTimestamp" day="-1" />

Attributes

field

optional

The name of the field to set (the l-value)

from-field

optional

The name of a field to copy from (the r-value)

value

optional

A constant value

default-value

optional

A default constant value - used if from-field evaluates to null

type

optional

The Java data type of field

years

optional

A signed integer adjustment amount

months

optional

A signed integer adjustment amount

days

optional

A signed integer adjustment amount

hours

optional

A signed integer adjustment amount

minutes

optional

A signed integer adjustment amount

seconds

optional

A signed integer adjustment amount

millis

optional

A signed integer adjustment amount

period-align-start

optional

Set the adjusted Timestamp to period start: "day", "week", "month", "year"

period-align-end

optional

Set the adjusted Timestamp to period end: "day", "week", "month", "year"

locale

optional

The locale (calendar) to be used for the operation

time-zone

optional

The time zone to be used for the operation


Info
titleProposed Changes
  • Currently, the field attribute is optional. Require the field attribute.
  • Currently, the from-field and value attributes are optional. Require one of the two attributes.
  • Rename the from-field attribute to from. The attribute will be used exclusively for UEL expressions.
  • Change the behavior of the value attribute: The attribute will be used exclusively for string constants.
  • Remove the default-value attribute. The value attribute will be used for default constant values.

...

Section
Column
width20%
<string-append>
Column
Info
titleProposed Changes

Deprecate and replace with UEL expression or <set>

Section
Column
width20%
<string-to-field>
Column
Info
titleProposed Changes

Deprecate and replace with UEL expression or <set>

Section
Column
width20%
<string-to-list>
Column
Info
titleProposed Changes

Deprecate and replace with UEL expression or <set>

Section
Column
width20%
<to-string>
Column
Info
titleProposed Changes

Deprecate and replace with UEL expression or <set>

Section
Column
width20%
<webapp-property-to-field>
Column
Copies a ServletContext resource property to a field.
Code Block
xml
xml
<webapp-property-to-field field="foo" resource="fooResource" property="fooKey" />

Attributes

field

optional

The name of the field for the new object

resource

optional

The resource that contains the property

property

optional

The property key

default

optional

A default value to be used when the property is not found

map-name

optional

The name of the map containing field


Info
titleProposed Changes
  • Currently, the field, resource and property attributes are optional. Require all three attributes.
  • Eliminate the map-name attribute.

...

Section
Column
width20%
<if-compare>
Column
Compares a field to a constant value.

Attributes

field

optional

The name of the field to test

 

operator

optional

The comparison operator

 

value

optional

A constant value

 

type

optional

The Java data type of field

Defaults to "String"

format

optional

Object type conversion format

 

map-name

optional

The name of the map containing field

 


Info
titleProposed Changes
  • Currently, the field and operator attributes are optional. Require the field and operator attributes.
  • Eliminate the map-name attribute.
<if-compare-field>
Section
Column
width20%
<if-compare-field>
Column
Compares a field to another field.

Attributes

field

optional

The name of the field to test (the l-value)

 

operator

optional

The comparison operator

 

to-field

optional

The name of the field to test (the r-value)

Defaults to field

type

optional

The Java data type of field

Defaults to "String"

format

optional

Object type conversion format

 

map-name

optional

The name of the map containing field

 

to-map-name

optional

The name of the map containing to-field

 


Info
titleProposed Changes
  • Currently, the field, operator, and to-field attributes are optional. Require the field, operator and to-field attributes.
  • Eliminate the map-name and to-map-name attributes.
Section
Column
width20%
<if-empty>
Column
Contains blocks of code that are executed based on the size of a collection.

Attributes

field

optional

The name of the field to test

map-name

optional

The name of the map containing field


Child Elements

<else>

optional


Info
titleProposed Changes
  • Currently, the field attribute is optional. Require the field attribute.
  • Eliminate the map-name attribute.
<if-has-permission>
<if-instance-of>

...