org.zkoss.zk.ui.sys.XMLResourcesLocator.class"
From Documentation
(Created page with ' {{ZKConfigurationReferencePageHeader}} Default: <i>none</i> (it implies <javadoc>org.zkoss.util.resource.ClassLocator</javadoc>) [since 5.5.0] It specifies the name of the c…') |
m ((via JWB)) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
+ | |||
+ | '''Property:''' | ||
+ | org.zkoss.zk.ui.sys.XMLResourcesLocator.class | ||
+ | |||
+ | {{GlobalLibraryProperty}} | ||
Default: <i>none</i> (it implies <javadoc>org.zkoss.util.resource.ClassLocator</javadoc>) | Default: <i>none</i> (it implies <javadoc>org.zkoss.util.resource.ClassLocator</javadoc>) | ||
− | + | {{versionSince|6.6.0}} | |
− | It specifies the name of the class used to load <code>metainfo/config.xml</code>, <code>metainfo/lang.xml</code> and <code>metainfo/lang-addon.xml</code>. By default, they are loaded from the class path. If you prefer to load them from other | + | It specifies the name of the class used to load <code>metainfo/config.xml</code>, <code>metainfo/lang.xml</code> and <code>metainfo/lang-addon.xml</code>. By default, they are loaded from the class path. If you prefer to load them from other locations, implement the <javadoc>org.zkoss.util.resource.XMLResourcesLocator</javadoc> interface. |
* Notice that you can specify the property in <code>WEB-INF/zk.xml</code>, since it is too late. Rather, you have to specify in the server's configuration (as a system property). | * Notice that you can specify the property in <code>WEB-INF/zk.xml</code>, since it is too late. Rather, you have to specify in the server's configuration (as a system property). | ||
{{ZKConfigurationReferencePageFooter}} | {{ZKConfigurationReferencePageFooter}} |
Latest revision as of 09:34, 14 March 2022
Property:
org.zkoss.zk.ui.sys.XMLResourcesLocator.class
Applicable: globally in zk.xml via <library-property> not as <custom-attribute>
Default: none (it implies ClassLocator)
Since 6.6.0
It specifies the name of the class used to load metainfo/config.xml
, metainfo/lang.xml
and metainfo/lang-addon.xml
. By default, they are loaded from the class path. If you prefer to load them from other locations, implement the XMLResourcesLocator interface.
- Notice that you can specify the property in
WEB-INF/zk.xml
, since it is too late. Rather, you have to specify in the server's configuration (as a system property).