jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: override property definition in node type definition?
Date Wed, 02 Feb 2011 11:28:29 GMT
On Mon, Jan 31, 2011 at 5:46 PM, sam lee <skynare@gmail.com> wrote:
> Hey, I have this:
>
> <example = 'http://www.example.com/1.0'>
> [example:Base] > nt:base
>    - * (undefined) multiple
>    - * (undefined)
>
> example:Base nodes can have all kinds of properties named anyway.
>
> [example:Derived] > example:Base
>
> In example:Derived, can I override so that only certain properties are
> valid?
>
> I want to mask some of property definitions of example:Base:
>    - * (undefined) multiple
>    - * (undefined)
>

that's unfortunately not possible. node type inheritance supports
aggregation but not overriding of child node/property definitions.

cheers
stefan

>
> Thanks.
> Sam
>

Mime
View raw message