Samples"

From Documentation
m (correct highlight (via JWB))
 
Line 1: Line 1:
 
{{ZKConfigurationReferencePageHeader}}
 
{{ZKConfigurationReferencePageHeader}}
  
Here is a sample of <tt>/metainfo/zk/config.xml</tt> (from zkex.jar):
+
Here is a sample of <code>/metainfo/zk/config.xml</code> (from zkex.jar):
  
 
<source lang="xml">
 
<source lang="xml">
Line 29: Line 29:
 
</source>
 
</source>
  
As shown, you could specify the listener and library properties in <tt>/metainfo/zk/config.xml</tt>.
+
As shown, you could specify the listener and library properties in <code>/metainfo/zk/config.xml</code>.
  
 
=Version History=
 
=Version History=

Latest revision as of 08:51, 19 January 2022


Here is a sample of /metainfo/zk/config.xml (from zkex.jar):

<config>
	<config-name>zkex</config-name><!-- used to resolve dependency -->
	<depends>zk</depends>

	<version>
		<version-class>org.zkoss.zkex.Version</version-class>
		<version-uid>5.0.6</version-uid>
		<zk-version>5.0.0</zk-version><!-- or later -->
	</version>

	<listener>
		<listener-class>org.zkoss.zkex.init.WebAppInit</listener-class>
	</listener>

	<library-property>
		<name>org.zkoss.zul.chart.engine.class</name>
		<value>org.zkoss.zkex.zul.impl.JFreeChartEngine</value>
	</library-property>
	<library-property>
		<name>org.zkoss.zul.captcha.engine.class</name>
		<value>org.zkoss.zkex.zul.impl.JHLabsCaptchaEngine</value>
	</library-property>
</config>

As shown, you could specify the listener and library properties in /metainfo/zk/config.xml.

Version History

Last Update : 2022/01/19


Version Date Content
     



Last Update : 2022/01/19

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