variable-resolver"
From Documentation
m |
m (correct highlight (via JWB)) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKJSPTagsEssentialsPageHeader}} | {{ZKJSPTagsEssentialsPageHeader}} | ||
+ | ==Variable-resolver== | ||
'''Syntax''' | '''Syntax''' | ||
− | <zk:variable-resolver | + | <zk:variable-resolver use="..." |
− | [arg0="..."] [arg1="..."] [arg2="..."] [arg3="..."] | + | [arg0="..."] [arg1="..."] [arg2="..."] [arg3="..."] /> |
It specifies the variable resolver that will be used by the zscript interpreter. | It specifies the variable resolver that will be used by the zscript interpreter. | ||
− | The class must be specified in the < | + | The class must be specified in the <code>use</code> attribute<ref>Unlike ZUML, the attribute is called <code>use</code>, rather than <code>class</code>, 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 Reference/ZUML/Processing Instructions/variable-resolver|ZUML Reference]]. | For more information please refer to [[ZUML Reference/ZUML/Processing Instructions/variable-resolver|ZUML Reference]]. |
Latest revision as of 12:40, 19 January 2022
Variable-resolver
Syntax
<zk:variable-resolver use="..." [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>
- ↑ Unlike ZUML, the attribute is called
use
, rather thanclass
, because of the limitation of JSP
Version History
Version | Date | Content |
---|---|---|