jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Dullaart" <marcel.dulla...@gmail.com>
Subject References in CND notation
Date Tue, 09 Jan 2007 09:58:53 GMT
Hi all,

I have defined some custom node types that contain references to other nodes.
I'd like to restrict the node type that the reference refers to, is
that possible using CND notation?

Following is a snippet of my CND file:

// Describes the category a content items belongs to.
[my:category]
> nt:base, mix:referenceable
- my:name

// The actual content item
[my:content]
>
- nt:base
- jcr:content
- my:category (reference) multiple

Thanks in advance,
Marcel

Mime
View raw message