jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Hugonnet" <ehsavoi...@gmail.com>
Subject Re: CND definition
Date Thu, 29 May 2008 18:21:08 GMT
Hi,
Yes, that is it.
The good configuration is :
/*  Nodes are the themes used in kmelia */
[slv:node] > nt:folder
  - slv:translations (reference) multiple < slv:i18nNode
 + * (slv:node)

Emmanuel

On Thu, May 29, 2008 at 6:01 PM, Alexander Klimetschek <aklimets@day.com>
wrote:

> On Thu, May 29, 2008 at 3:58 PM, Emmanuel Hugonnet <ehsavoie73@gmail.com>
> wrote:
> > [slv:node] > nt:folder
> >  + slv:translations (slv:i18nNode) multiple
> > ...
> > javax.jcr.nodetype.ConstraintViolationException: no matching property
> > definition found for {http://www.silverpeas.com/jcr/1.0}translations<http://www.silverpeas.com/jcr/1.0%7Dtranslations>
> > ...
> >   at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2446)
>
> It seems that you set the property slv:translations in your code, but
> it is defined as a child node in the slv:node definition. If not, what
> is the code the triggers this exception?
>
> Regards
> Alex
>
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message