jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: Creating NodeType with dynamic, linked properties
Date Thu, 16 Nov 2006 11:05:04 GMT
yes, but the CND parser automatically adds nt:base as supertype, if needed.

for jackrabbit 1.1, this is automatically done when registering the nodetype.
see: http://issues.apache.org/jira/browse/JCR-433

regards, toby

On 11/16/06, Ted Roeloffzen <ted.roeloffzen@gmail.com> wrote:
> But when we extend from mix:referenceable we also have to extend from
> nt:base, right? Because every primarytype should directly or indirectly
> extend from nt:base and mix:referenceable has no supertype.
>
> Ted
>
> 2006/11/16, Ted Roeloffzen <ted.roeloffzen@gmail.com>:
> >
> > I copied it from the jackrabbit example on the site.
> > So the example on the site should be altered, because it isn't correct.
> >
> > Ted
> >
> > 2006/11/16, Tobias Bocanegra < tobias.bocanegra@day.com>:
> > >
> > > > mix:referencable
> > > < mix:referenceable
> > >
> > > :-)
> > >
> > > On 11/16/06, Ted Roeloffzen <ted.roeloffzen@gmail.com> wrote:
> > > > When I extend my nodetype from mix:referencable I get an exception.
> > > > Invalid supertype.
> > > >
> > > > Do you have any idea what this could be?
> > > >
> > > > Ted
> > > >
> > > > 2006/11/16, Stefan Guggisberg <stefan.guggisberg@gmail.com>:
> > > > >
> > > > > On 11/16/06, Ted Roeloffzen <ted.roeloffzen@gmail.com> wrote:
> > > > > > So that would mean that those nodetype are referenceable by
> > > default?
> > > > >
> > > > > yes
> > > > >
> > > > > >
> > > > > > Ted
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > -----------------------------------------< tobias.bocanegra@day.com >---
> > > Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
> > > T +41 61 226 98 98, F +41 61 226 98 97
> > > -----------------------------------------------< http://www.day.com >---
> > >
> >
> >
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message