jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peeter Piegaze <peeter.pieg...@day.com>
Subject Re: node definition that allows both single and multi properties
Date Sat, 03 Dec 2005 10:56:13 GMT
> Is it possible to define 2 residual property types 1 as single and 1 as multiple?
>
> Something like:
>
> <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false"
> onParentVersion="COPY" protected="false" multiple="false"/>
> <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false"
> onParentVersion="COPY" protected="false" multiple="true"/>
>
> I am supposing that this should work, cause I guess this is the way nt:unstructured is
> defined.

That's right, you can make two residual definitions, one single-valued
and one multivalued. nt:unstrucured is one example of this, but of
course you can use the same approach in your own node types as well.

>
> Am I getting things wrong?

Nope, you are getting things right :-)

Cheers,
Peet

Mime
View raw message