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: Modify node type definition
Date Fri, 25 Mar 2011 14:17:02 GMT
On Fri, Mar 25, 2011 at 2:34 PM, ttemprano <ttemprano@toyota.com.ve> wrote:
> Hi guys.
>
> What's the status on node type definition modification?
>
> Let's say that I have the following def:
>
> [wrn:facets] > nt:base, mix:title
>        orderable
>        + * (wrn:facets)
>        = wrn:facets
>
> And want to add a new property:
>
> [wrn:facets] > nt:base, mix:title
>        orderable
>        + * (wrn:facets)
>        = wrn:facets
>        - wrp:order (long)
>        =       '0'
>        autocreated
>
> After recreating the node definition, will the new nodes have the new
> property?

yes.

>
> Can  I programatically add the property to old nodes?

yes.

cheers
stefan

>
> Thank you.
> Tomas
>
> --
> View this message in context: http://jackrabbit.510166.n4.nabble.com/Modify-node-type-definition-tp3405385p3405385.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>

Mime
View raw message