The id-generator-class Element"
From Documentation
m (Created page with '{{ZKConfigurationReferencePageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- | | | |} {{ZKConfig…') |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKConfigurationReferencePageHeader}} | {{ZKConfigurationReferencePageHeader}} | ||
+ | |||
+ | '''Syntax:''' | ||
+ | <id-generator-class>''a_class_name''</id-generator-class> | ||
+ | |||
+ | [Default: ''none''] | ||
+ | |||
+ | It specifies which class should be used to generate the 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= |
Latest revision as of 03:47, 8 August 2011
Syntax:
<id-generator-class>a_class_name</id-generator-class>
[Default: none]
It specifies which class should be used to generate the 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 |
---|---|---|