<add>

Purpose/Function

Invoke the add[OgreScript:Property] method on the putative bean object. Bean object should be dereferenced from the environment.

Attributes

NAME

TYPE

DEFAULT VALUE

DESCRIPTION

bean

java.lang.Object

(required)

bean on which to invoke method

property

java.lang.String

(required)

name of property for which value should be added

See also note below.

Elements

See note below.

ReturnValues

None.

NOTE:

This class subclasses <assign>, so the latter's attributes (excepting name and global) may be applied; the default value for configured here is true. Child elements also function as they do for <assign>.

Examples

<add bean="${bean1}" property="addSomeValue" object="${someValue}"/>

<add bean="${bean2}" property="addSomeValue">
    <deserialized>${someXML}</deserialized>
</add>

<!-- etc. -->
  • No labels