[opencms-dev] Pre-filling a field with a generated value

Daniel Imhof danimhof at hotmail.com
Wed Dec 10 17:39:35 CET 2014


Hello everybody

Since a few days I unsuccessfully try to pre-fill a field of a nested XML Content with a generated value (uuid).

Whenever a user clicks the '+'-Symbol to add a element to the collection of nested content, a (readonly) field should be pre-filled with a unique random generated UUID.

Does anybody know if this or something similiar is possible with OpenCms 9 or does anybody have an idea how I can uniquely identify an item from a collection of nested XML content?

I already tried to solve this case with default values but did not get any useable solution.

Please ask me if my requirement is unclear or if you need more informations.

Thank you in advance for every hint or help.

Kind Regards

Daniel

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20141210/f58c845a/attachment.htm>


More information about the opencms-dev mailing list