mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Property constraint dictionary support
Constraint implementation support Regular expression constraint git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -21,6 +21,12 @@
|
||||
</data-type>
|
||||
|
||||
</data-types>
|
||||
|
||||
<constraints>
|
||||
<constraint name="test:regex1" type="REGEX">
|
||||
<parameter name="expression">[A-Z]*</parameter>
|
||||
</constraint>
|
||||
</constraints>
|
||||
|
||||
<types>
|
||||
|
||||
@@ -34,6 +40,9 @@
|
||||
<type>d:text</type>
|
||||
<protected>true</protected>
|
||||
<default></default>
|
||||
<constraints>
|
||||
<constraint ref="test:regex1"/>
|
||||
</constraints>
|
||||
</property>
|
||||
</properties>
|
||||
|
||||
|
Reference in New Issue
Block a user