jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Problem adding a child node
Date Mon, 07 Aug 2006 19:36:59 GMT
Hi,

On 8/7/06, JavaJ <ponfar99@yahoo.com> wrote:
> Debugging the code, I notice that the problem might be in EffectiveNodeType,
> line 703:
>
>         ItemDef[] defs = getNamedItemDefs(name);
>
> The name that is passed to this method call is the child nodes' name.
> Shouldn't it be the name of the child node's type??

No, the child node definitions are looked up by name, just like
property definitions.

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message