jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julio Castillo" <jcasti...@edgenuity.com>
Subject RE: How to allow for duplicate entries
Date Fri, 24 Oct 2008 15:31:56 GMT
I'm confused.
I know the use of the "multiple" property for elements within a node (e.g. 
[xxx:file] > nt:file
  - xxx:id (string)
  - xxx:displayName (string)
  - xxx:keywords (string) multiple

This allows me to specify multiple values for a given property. But how do I
specify so that it allows multiple nodes of the same name for the same

** julio

-----Original Message-----
From: iapilgrim [mailto:iapilgrim@gmail.com] 
Sent: Thursday, October 23, 2008 7:38 PM
To: users@jackrabbit.apache.org
Subject: Re: How to allow for duplicate entries

You could allow entry duplication by adding this instruction to your cnd.
// and supports same name siblings
Hope this help,

Julio Castillo wrote:
> I get the following error when trying to add a second node with the 
> same node name ("First Title") under the same folder. I'm doing this 
> remotely through the SPI/Webdav interface (latest versions).
> "Cannot add child node 'First Title' to /content/blog: colliding with 
> same-named existing node."
> Is there a way to configure jackrabbit to allow me to do that? I am 
> able to do if I only use nt:unstructured type nodes, but then I can't 
> put this type of nodes inside a nt:folder structure, so I tried a 
> combination, but it didn't work. The following is a sample of my 
> preconfigured types:
> ----------------------------
> <nt='http://www.jcp.org/jcr/nt/1.0'>
> <xxx='http://www.edgenuity.com/edge'>
> [xxx:file] > nt:file
>   - xxx:id (string)
>   - xxx:displayName (string)
> [xxx:blogEntry] > xxx:file, nt:unstructured
> [xxx:folder] > nt:folder
> --------------------------------
> Thanks
> Julio Castillo

View this message in context:
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message