jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandru Popescu <the.mindstorm.mailingl...@gmail.com>
Subject Re: node definition that allows both single and multi properties
Date Sat, 03 Dec 2005 11:29:47 GMT
#: Peeter Piegaze changed the world a bit at a time by saying on  12/3/2005 12:56 PM :#
>> 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
> 

Thanks for confirmation Peet.

./alex
--
.w( the_mindstorm )p.


Mime
View raw message