You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Mohinder Singh <ms...@swri.org> on 2009/09/11 21:04:56 UTC

Unable to create custom node type with multiple set to 'true'

Hi,

Following snippet from my custom node type definition xml, does not work if
I replace multiple="false" by multiple="true".

With multiple set to true, it simply skips sw:keywords definition.

Any ideas?

Thanks,

M Singh

 

<propertyDefinition name="sw:keywords" 

                  requiredType="String" 

                  autoCreated="false" 

                  mandatory="false" 

                  onParentVersion="COPY" 

                  protected="false" 

                  multiple="false"/>


RE: Unable to create custom node type with multiple set to 'true'

Posted by Mohinder Singh <ms...@swri.org>.
My bad, I was not using Value[] to set the multi-valued property.


-----Original Message-----
From: Mohinder Singh [mailto:mohinder.singh@swri.org] 
Sent: Friday, September 11, 2009 2:05 PM
To: users@jackrabbit.apache.org
Subject: Unable to create custom node type with multiple set to 'true'

Hi,

Following snippet from my custom node type definition xml, does not work if
I replace multiple="false" by multiple="true".

With multiple set to true, it simply skips sw:keywords definition.

Any ideas?

Thanks,

M Singh

 

<propertyDefinition name="sw:keywords" 

                  requiredType="String" 

                  autoCreated="false" 

                  mandatory="false" 

                  onParentVersion="COPY" 

                  protected="false" 

                  multiple="false"/>