The id-generator-class Element"
From Documentation
m (Created page with '{{ZKConfigurationReferencePageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- | | | |} {{ZKConfig…') |
m |
||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
+ | |||
+ | '''Syntax:''' | ||
+ | <id-generator-class>''a_class_name''</id-generator-class> | ||
+ | |||
+ | [Default: ''none''] | ||
+ | |||
+ | It specifies which class used to generate UUID of page and components, and ID of desktops. The class must have a default constructor (without any argument), and implement the <javadoc type="interface">org.zkoss.zk.ui.sys.IdGenerator</javadoc> interface. | ||
+ | |||
+ | One instance of the ID generator is created and shared for each Web application, so you have to synchronize the access properly. | ||
+ | |||
+ | If no ID generator is specified, the default ID generation algorithm will be used. | ||
=Version History= | =Version History= |
Revision as of 15:26, 4 December 2010
Syntax:
<id-generator-class>a_class_name</id-generator-class>
[Default: none]
It specifies which class used to generate UUID of page and components, and ID of desktops. The class must have a default constructor (without any argument), and implement the IdGenerator interface.
One instance of the ID generator is created and shared for each Web application, so you have to synchronize the access properly.
If no ID generator is specified, the default ID generation algorithm will be used.
Version History
Version | Date | Content |
---|---|---|