The id-generator-class Element"
From Documentation
Line 6: | Line 6: | ||
[Default: ''none''] | [Default: ''none''] | ||
− | It specifies which class should be 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. | + | 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. | One instance of the ID generator is created and shared for each Web application, so you have to synchronize the access properly. |
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 |
---|---|---|