jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: Adding new properties to a node
Date Wed, 01 Sep 2010 11:35:48 GMT
Hi,

On Wed, Sep 1, 2010 at 11:39 AM, sriraj paul <srirajpaul@yahoo.co.uk> wrote:
> ...For example : "nt:folder" type had properties like "jcr:created",
> "jcr:createdby" etc. I want to add some additional new properties to
> nt:folder...

The nt:folder node type does not allow for arbitrary properties.

You can either use nt:unstructured instead, or derive your own node
type from nt:folder, as done in [1]

(and that would be a question for users@, not dev@)

-Bertrand

[1] http://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/resource/src/main/resources/SLING-INF/nodetypes/folder.cnd

Mime
View raw message