jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoltan Farkas <zolyfar...@yahoo.com>
Subject Re: Question about updating node types
Date Fri, 01 Oct 2010 16:51:22 GMT
Thank you!

--zoly

On Sep 28, 2010, at 5:39 PM, Justin Edelson <justinedelson@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 <justinedelson@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
>>> 
> 

Mime
View raw message