variable-resolver"

From Documentation
m (Created page with '{{ZKJSPTagsEssentialsPageHeader}} '''Syntax''' <zk:variable-resolver class="..." [arg0="..."] [arg1="..."] [arg2="..."] [arg3="..."]?> It specifies the variable resolver t…')
 
m
Line 10: Line 10:
 
The class must be specified in the <tt>use</tt> attribute<ref>Unlike ZUML, the attribute is called <tt>use</tt>, rather than <tt>class</tt>, because of the limitation of JSP</ref>, and it must implement <javadoc type="interface">org.zkoss.xel.VariableResolver</javadoc>.
 
The class must be specified in the <tt>use</tt> attribute<ref>Unlike ZUML, the attribute is called <tt>use</tt>, rather than <tt>class</tt>, because of the limitation of JSP</ref>, and it must implement <javadoc type="interface">org.zkoss.xel.VariableResolver</javadoc>.
  
For more information please refer to [[ZUML ZUML Reference/ZUML/Processing Instructions/variable-resolver|ZUML Reference]].
+
For more information please refer to [[ZUML Reference/ZUML/Processing Instructions/variable-resolver|ZUML Reference]].
  
 
Fir example,
 
Fir example,

Revision as of 04:31, 26 November 2010


Syntax

<zk:variable-resolver class="..." 
 [arg0="..."] [arg1="..."] [arg2="..."] [arg3="..."]?>

It specifies the variable resolver that will be used by the zscript interpreter.

The class must be specified in the use attribute[1], and it must implement VariableResolver.

For more information please refer to ZUML Reference.

Fir example,

<zk:variable-resolver use="foo.MyResolver"/>
...
<zk:page>
...
</zk:page>

  1. Unlike ZUML, the attribute is called use, rather than class, because of the limitation of JSP

Version History

Last Update : 2010/11/26


Version Date Content
     


Last Update : 2010/11/26

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