<param>
param tag for remotecall

JavaScript: lz.param
extends <node> » lz.Eventable »

Tag to declaratively set parameter values for <remotecall>. If a getValue() method is declared in the body of remotecall, use its return as value for parameter. If both getValue() method and value attribute are set in param, getValue() wins.

    <remotecall name="func1" funcname="someFunc">
        <param value="'some string value'" />
    </remotecall>
    
    <remotecall name="func2" funcname="someFunc">
        <param>
            <method name="getValue">
            return 'some string value';
            </method>
        </param>
    </remotecall> 
    
    <remotecall name="func2" funcname="someFunc">
        <!-- param will use getValue's return value. -->
        <param value="'a value'">
            <method name="getValue">
            return 'some string value';
            </method>
        </param>
    </remotecall> 
                

See Also:

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
value expression any null read/write
  Value to use for parameter. A getValue() method can be declared inside param to use its return as the parameter value. If both value attribute and getValue() method are declared, param will use getValue().

Methods

getValue()
param.getValue();
Returns value.
Returns Type Description
  * the value to use for this parameter

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy