You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Zoltan Farkas <zo...@yahoo.com> on 2010/10/01 18:51:22 UTC
Re: Question about updating node types
Thank you!
--zoly
On Sep 28, 2010, at 5:39 PM, Justin Edelson <ju...@gmail.com> wrote:
> This is the easiest method:
> http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/commons/cnd/CndImporter.html#registerNodeTypes(java.io.Reader,
> java.lang.String, javax.jcr.nodetype.NodeTypeManager,
> javax.jcr.NamespaceRegistry, javax.jcr.ValueFactory, boolean)
>
> Pass true as the last parameter.
>
> I should point out that this only works with Jackrabbit 2.0 and above.
>
> Justin
>
> On 9/28/10 5:04 PM, Zoltan Farkas wrote:
>> Cool, how can I achieve that? Can you point me to the API, or a sample?
>>
>> Thank you
>>
>> --zoly
>>
>> On Sep 28, 2010, at 4:27 PM, Justin Edelson <ju...@gmail.com> wrote:
>>
>>> Yes, although not if the property is mandatory.
>>>
>>> On 9/28/10 4:01 PM, Zoltan Farkas wrote:
>>>> Can a node type be updated ? (add a property)
>>>>
>>>> --zoly
>>>
>