To configure a URL property to use the URLPropertyValidator, update the viewmapping.xml file to use the PropertyViewAttributeDefinition.

For example:

<add-item item-descriptor="propertyViewAttributeDefinition"
    id="SaAvURLPropertyValidator">
<set-property name="defaultValue">
<![CDATA[atg.assetmanager.editor.view.property.validate.URLProperty
    Validator]]>
</set-property>
</add-item>

The propertyView of the editor implements the validation process, then sets the property view attribute definition in its list of attributes.

For example:

<set-property name="attributes"><![CDATA[propertyValidators=
    SaAvURLPropertyValidator]]</set-property>

The SaAvURLPropertyValidator can be used in any propertyView that needs URL format validation.


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices