jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vlad_v <numaplictis...@yahoo.com>
Subject Re: Please an exemple of registerNodeType
Date Tue, 21 Oct 2008 19:47:24 GMT

hi,
if you look in the jar:   jackrabbit-core-1.4.6.jar ( i use this, but i
think in older versions there is also)
there are 2 files: 
builtin_nodetypes.cnd
builtin_nodetypes.xml

you'l find there the way nodetypes are defined.

hope that helps,
regards,
Vlad


Hervé Agnoux wrote:
> 
> Hi,
> 
> I'm trying to use the public NodeType registerNodeType(NodeTypeDefinition
> ntd, 
> boolean allowUpdate).
> 
> But I'm losted with the type and definition of nodes.
> 
> At the very begining, I hoped to register a type of a node with a 
> SameNameSiblings at false, and I was interested with allowUpdate "true".
> 
> Please give me a complete exemple or url of all that.
> 
> Thank you very much.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Please-an-exemple-of-registerNodeType-tp20096800p20097846.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message