Documentation for Ice 3.5. The latest release is Ice 3.7. Refer to the space directory for other releases.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

A variable element defines a variable.

This element may only appear as a child of an application element or node element.

The following attributes are supported:

Attribute

Description

Required

name

Specifies the variable name. The value of this variable is substituted whenever its name is used in variable syntax, as in ${name}.

Yes

value

Specifies the variable value. If not defined, the default value is an empty string.

No

Here is an example to demonstrate the use of this element:

XML
<icegrid>
    <application name="SampleApp">
        <variable name="Var1" value="foo"/>
        <variable name="Var2" value="${Var1}bar"/>
        ...
    </application>
</icegrid>
See Also
  • No labels