The org.zkoss.xel.VariableResolver interface"

From Documentation
m
Line 6: Line 6:
 
  [since 5.0.4]
 
  [since 5.0.4]
  
<javadoc type="interface">org.zkoss.xel.VariableResolver</javadoc> 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.
+
<javadoc type="interface">org.zkoss.xel.VariableResolver</javadoc> 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. It is also called system-level variable resolver.
  
 
ZK will instantiate an instance of the given class for each page, so the variable resolver is no need to be thread safe.
 
ZK will instantiate an instance of the given class for each page, so the variable resolver is no need to be thread safe.

Revision as of 04:27, 31 March 2011


DocumentationZK Configuration Referencezk.xmlThe listener ElementThe org.zkoss.xel.VariableResolver interface
The org.zkoss.xel.VariableResolver interface


Property:

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. It is also called system-level variable resolver.

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.



Last Update : 2011/03/31

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