The id-generator-class Element"

From Documentation
m
Line 6: Line 6:
 
  [Default: ''none'']
 
  [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.
+
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.
  
 
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.

Revision as of 03:47, 8 August 2011


The id-generator-class Element


Syntax:

<id-generator-class>a_class_name</id-generator-class>
[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 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

Last Update : 2011/08/08


Version Date Content
     



Last Update : 2011/08/08

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