org.zkoss.zk.ui.sys.XMLResourcesLocator.class"

From Documentation
m
m
Line 3: Line 3:
 
'''Property:'''
 
'''Property:'''
 
  org.zkoss.zk.ui.sys.XMLResourcesLocator.class
 
  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>)

Revision as of 08:13, 7 July 2016


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.zk.ui.sys.XMLResourcesLocator.class
org.zkoss.zk.ui.sys.XMLResourcesLocator.class


Property:

org.zkoss.zk.ui.sys.XMLResourcesLocator.class
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png 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).



Last Update : 2016/07/07

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