jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Cosenza" <alessandro.cose...@itkey.it>
Subject CND file and Node.addMixin questions
Date Tue, 27 Jan 2009 14:56:49 GMT
hi 
my cnd file contains a nodetype definition
[dms:document] > mix:versionable

when i create a node
addedNode = parent.addNode("document","dms:document");
the versionable mixin type is added immediately or
i have to call addedNode.addMixin("mix:versionable") ?

another question, could i add another mixin type to a node
which is not specified in cnd file?
for example addedNode.addMixin("mix:lockable") ?

thanks



Mime
View raw message