Default (if null is returned): UUID is generated by prefixing a portion of the desktop's ID with a number starting from 0.
Notice that UUID cannot be empty and can only have alphanumeric characters or underscore (i.e., a-z, A-Z, 0-9, and _).
This method is called when {@link Component#getUuid}is called at the first time. It is usually when the component is attached to a page, unless the application invokes {@link Component#getUuid} earlier.
@param desktop the current desktop (never null)
@param comp the component (never null)
@return the next component UUID, or null to generate thedefault UUID.
Note: don't return an UUID containing ':'.
|
|