@ref

From Documentation
Revision as of 02:32, 3 March 2012 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!

Since 6.0.1

Syntax

@ref( [EL-expression] )

Description

Target Attribute: a custom attribute.

Purpose: Make a reference which name is the custom attribute. It is useful for making a expression shorter and being referred by another expression.

Example

<div p="@ref(vm.selectedPerson)"/>
    <label value="@load(p.id)" />
    <label value="@load(p.name)" />
</div>



Version History

Last Update : 2012/03/03


Version Date Content
6.0.1 May 2012 The new reference-binding feature.




Last Update : 2012/03/03

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.