<!-- TODO! see MRM-150 for progress on these -->
<validators>
- <!-- TODO: constrain more -->
<field name="id">
<field-validator type="requiredstring">
<message>You must enter the repository identifier.</message>
</field-validator>
</field>
- <!-- deng todo: check if the entered repo url exists -->
<field name="url">
<field-validator type="requiredstring">
<message>You must enter the repository URL.</message>
</field-validator>
</field>
- <!-- deng todo: check if the interval validator is still valid -->
+ <!-- TODO: is the validation correct? -->
<validator type="interval">
<message/>
</validator>
</field-validator>
</field>
- <!-- TODO: validate managed repository -->
- <!-- TODO: validate layout -->
- <!-- TODO: validate policies -->
- <!-- TODO: validate that intervals are integers -->
- <!-- TODO: validate that intervals are empty if policy is not interval -->
</validators>
\ No newline at end of file
"http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd">
<!-- TODO! see MRM-150 for progress on these -->
-<validators>
- <!-- TODO: constrain more -->
+<validators>
<field name="id">
<field-validator type="requiredstring">
<message>You must enter the repository identifier.</message>
<message>You must enter the repository name.</message>
</field-validator>
</field>
- <!-- deng todo: validate if the specified directory exists -->
<field name="directory">
<field-validator type="requiredstring">
<message>You must enter the repository directory.</message>