Hi,
I am new to JCR and I have this problem registering a custom node type as
versionable (i hope I got this right)
To explain a little better, I am using Magnolia CMS and my goal is to
version my custom nodes in order to give the possibility to the editor of
the page to have a list of versions and to be able to see the changes.
My nodetypes.xml looks something like this:
<nodeTypes
xmlns:rep="internal"
xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:mix="http://www.jcp.org/jcr/mix/1.0"
xmlns:mgnl="http://www.magnolia.info/jcr/mgnl"
xmlns:jcr="http://www.jcp.org/jcr/1.0">
<nodeType name="mgnl:product" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
<supertypes>
<supertype>mgnl:content</supertype>
<supertype>mix:referenceable</supertype>
</supertypes>
</nodeType>
<nodeType name="mgnl:productCar" isMixin="false"
hasOrderableChildNodes="true" primaryItemName="">
<supertypes>
<supertype>mgnl:product</supertype>
</supertypes>
</nodeType>
.........................................................................................
</nodeTypes>
I have to say that mgnl:content already has mix:referenceable as a supertype
and I expected to see some inheritance... but the node of type mgnl:product
was not versionable in the end.
Is there something else that I must configure or it's just the XML
containing the node types?
Any help will be highly appreciated.
Thanks a lot,
Catalin
--
View this message in context:
http://jackrabbit.510166.n4.nabble.com/How-to-register-a-custom-node-type-as-versionable-tp4364043p4364043.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.