The org.zkoss.xel.VariableResolver interface"
From Documentation
(Created page with ' {{ZKConfigurationReferencePageHeader}} [since 5.0.4] <javadoc type="interface">org.zkoss.xel.VariableResolver</javadoc> is implemented by a listener class that will be used a…') |
|||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
− | + | '''Property:''' | |
+ | The org.zkoss.xel.VariableResolver Interface | ||
+ | |||
[since 5.0.4] | [since 5.0.4] | ||
Revision as of 08:02, 6 December 2010
Property:
The org.zkoss.xel.VariableResolver Interface [since 5.0.4]
VariableResolver is implemented by a listener class that will be used as the default variable resolver of each page. In other words, the variable resolver defined will be available to all pages.
ZK will instantiate an instance of the given class for each page, so the variable resolver is no need to be thread safe.
This feature is useful for tools and utilities to provide the default variable resolvers (aka., implicit variables). A tool can specify the listeners in metainfo/zk/config.xml (locatable by the class loader) -- not just in WEB-INF/zk.xml.