mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added LIST constraint
- An optionally case-insensitive list of supported values - Supports any types that can be converted to String by our type-converter. Simple parameter values for constraints must not be in a <value> element, just like Spring properties (sorry) Constraint parameters of type java.util.List are now supported: <list> <value> <value> </list> git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2660 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -119,7 +119,16 @@
|
||||
|
||||
<mapping abstract="true" class="org.alfresco.repo.dictionary.M2NamedValue">
|
||||
<value style="attribute" name="name" field="name" />
|
||||
<value style="text" field="value"/>
|
||||
<structure name="value" usage="optional">
|
||||
<value style="text" field="simpleValue" />
|
||||
</structure>
|
||||
<structure name="list" usage="optional">
|
||||
<collection field="listValue" factory="org.alfresco.repo.dictionary.M2Model.createList" usage="optional" >
|
||||
<structure name="value" usage="optional" >
|
||||
<value style="text" />
|
||||
</structure>
|
||||
</collection>
|
||||
</structure>
|
||||
</mapping>
|
||||
|
||||
<mapping name="constraint" class="org.alfresco.repo.dictionary.M2Constraint">
|
||||
|
Reference in New Issue
Block a user