What if I don't define a UID generator for my document types, is it
wrong ? Can Nuxeo work correctly without define one ?
Florent Guillaume wrote:
Hi,
On 26 Mar 2007, at 12:16, Vincent Dutat wrote:
I created some new document types in my project, do I need to create a
custom UID generator for them (service
org.nuxeo.ecm.platform.uidgen.service.UIDGeneratorService, point
generators) ?
If the default generator (coreDocs) is ok for you new type, then you can
just associate it using:
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.uidgen.generators">
<extension
target="org.nuxeo.ecm.platform.uidgen.service.UIDGeneratorService"
point="generators">
<generator name="coreDocs"
class="org.nuxeo.ecm.platform.uidgen.generators.UIDGCoreDocument">
<docType>YourTypeHere</docType>
</generator>
</extension>
</component>
Adding new types to an existing generator has been lightly tested, you
may have to readd all the default types -- if that's the case please
report it in JIRA so that we can make extensions more flexible.
Florent
--Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm