jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iapilgrim <iapilg...@gmail.com>
Subject Re: How to allow for duplicate entries
Date Fri, 24 Oct 2008 02:37:47 GMT

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


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: http://www.nabble.com/How-to-allow-for-duplicate-entries-tp20137727p20143248.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message