<?xml version="1.0" encoding="utf-8" ?>
<!-- Spring Manged Objects -->
<objects xmlns="http://www.springframework.net"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:v="http://www.springframework.net/validation"
         xsi:schemaLocation="http://www.springframework.net http://www.springframework.net/xsd/spring-objects.xsd
                             http://www.springframework.net Xsd/spring-validation-1.3.xsd" >


  <description>
    Spring Validation
    See this for more info:
    http://www.springframework.net/doc-latest/reference/html/validation.html
  </description>

  <!--
    For the custom field to work you must create the following messages
      valid.custom.field.required
      valid.custom.field.bool
      valid.custom.field.date
      valid.custom.field.number
      valid.custom.field.format
      
    All of these message should include a placeholder for the field label
    {0} is required or {0} must be a date etc.
    -->

  <!-- Public Custom Field -->
  <v:validator id="publicCustomFieldValidator" test="CustomFields" type="Sleis.Validation.Spring.FieldValidator">
    <v:property name="ViewType" value="Public" />
    <v:property name="IdPrefix" value="valid.custom.field" />
  </v:validator>

  <!-- Agency Custom Field -->
  <v:validator id="agencyCustomFieldValidator" test="CustomFields" type="Sleis.Validation.Spring.FieldValidator">
    <v:property name="ViewType" value="Agency" />
    <v:property name="IdPrefix" value="valid.custom.field" />
  </v:validator>


</objects>