Hi Oleg,

you can extend any node type provide you need to follow the below steps.

First create your.cnd file, cnd refers to compact node definition.
[namespace:yournodetype] > jcr:content
[namespace:yourproperty] (datatype) 
..
..


Then register your cnd.

You can find both cnd and registering cnd in the jackrabbit wiki

/Sunil Dhage
________________________________________
From: Oleg [[email protected]]
Sent: Saturday, November 28, 2009 3:36 AM
To: [email protected]
Subject: Re: How can I extend jcr:content to new properties?

Hi,

I have just found that. The line <supertype>nt:file</supertype> must be
deleted because there is "ambiguous child node definition" (jackrabbit class
EffectiveNodeType, method internalMerge).

- Oleg.
--
View this message in context: 
http://n4.nabble.com/How-can-I-extend-jcr-content-to-new-properties-tp788810p803928.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to