@ref"
From Documentation
Dennischen (talk | contribs) (Created page with "{{ZKDevelopersReferencePageHeader}} {{Template:UnderConstruction}} __TOC__ Since 6.0.1 =Syntax= <tt> @ref(</tt> ''[EL-expression]'' <tt>) </tt> = Description = '''Target A...") |
|||
Line 14: | Line 14: | ||
'''Target Attribute:''' a custom attribute. | '''Target Attribute:''' a custom attribute. | ||
− | '''Purpose:''' | + | '''Purpose:''' Create a reference whose name is the custom attribute. It is useful to shorten an EL expression and be referred by another expression. |
= Example = | = Example = |
Revision as of 01:09, 9 March 2012
Since 6.0.1
Syntax
@ref( [EL-expression] )
Description
Target Attribute: a custom attribute.
Purpose: Create a reference whose name is the custom attribute. It is useful to shorten an EL expression and be referred by another expression.
Example
<div p="@ref(vm.selectedPerson)"/>
<label value="@load(p.id)" />
<label value="@load(p.name)" />
</div>
Version History
Version | Date | Content |
---|---|---|
6.0.1 | May 2012 | The new reference-binding feature. |