Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
{div:class=} {div2:class=
Wiki Markup
Div
classapi-page
Div
classapi-table
} ||Description| Evaluates an EL expression by fetching a

Description

Evaluates an EL expression by fetching a dot-separated

list

of

members

recursively

from

a

provided

root.

| ||Method| {{

Method

fluid.get(root,

EL,

environment)

}} | ||Parameters| _{{root}}_\\ The root data structure in which the EL expression is to be evaluated.\\ \\ _{{EL}}_ The EL expression to be evaluated.\\ \\ _{{environment}}_ An optional "environment" which, if it contains any members at top level, will take priority over the root data structure | ||Returns| The fetched data value;\\ {{undefined}} if the EL path doesn't exist. | ||Availability| Infusion 1.3 and later | ||See also| [fluid.set]\\ [fluid.model.getBeanValue] | {div2} h2. Examples h2. Notes {div}

Parameters

root
The root data structure in which the EL expression is to be evaluated.

EL
The EL expression to be evaluated.

environment
An optional "environment" which, if it contains any members at top level, will take priority over the root data structure

Returns

The fetched data value;
undefined if the EL path doesn't exist.

Availability

Infusion 1.3 and later

See also

fluid.set
fluid.model.getBeanValue

Examples

Notes