jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunil Dhage <sunil.dh...@coreobjects.com>
Subject RE: How can I extend jcr:content to new properties?
Date Mon, 30 Nov 2009 05:56:29 GMT

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 [ovaraksin@googlemail.com]
Sent: Saturday, November 28, 2009 3:36 AM
To: users@jackrabbit.apache.org
Subject: Re: How can I extend jcr:content to new properties?


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.

View raw message