<?xml version="1.0" encoding="UTF-8"?>
<ae:configurations
    xmlns="http://agavi.org/agavi/config/parts/validators/1.0"
    xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0"
    parent="%core.module_dir%/Web/config/validators.xml"
>
    <ae:configuration>
        
        <validators>
        
        <validator class="string" name="cmpid" required="false">
                    <argument>cmpid</argument>
                    
                    <errors>
                        <error>Validation of htmlid failed!</error>
                    </errors>
        </validator>
        
        <validator class="string" name="parentid" required="false">
                    <argument>parentid</argument>
                    
                    <errors>
                        <error>Validation of parentid failed!</error>
                    </errors>
        </validator>
        
        <validator class="string" name="cr_base" required="false">
            <argument>cr_base</argument>
            <errors>
                <error>Validation of 'cr_base' failed</error>
            </errors>
        </validator>
        
        <validator name="groupDir" class="inarray" required="false">    
            <argument>groupDir</argument>
            <errors>
                <error>Dir must be either 'DESC' or 'ASC'</error>
            </errors>
            <ae:parameters>
                <ae:parameter name="type">string</ae:parameter>
                <ae:parameter name="case">true</ae:parameter>
                <ae:parameter name="values">
                    <ae:parameter>DESC</ae:parameter>
                    <ae:parameter>ASC</ae:parameter>
                </ae:parameter>
            </ae:parameters>
        </validator>

        <validator class="string" name="groupField" required="false">
            <argument>groupField</argument>
            <errors>
                <error>Validation of 'groupField' failed</error>
            </errors>
        </validator>

        <validator name="sortDir" class="inarray" required="false">
            <argument>sortDir</argument>
            <errors>
                <error>Dir must be either 'DESC' or 'ASC'</error>
            </errors>
            <ae:parameters>
                <ae:parameter name="type">string</ae:parameter>
                <ae:parameter name="case">true</ae:parameter>
                <ae:parameter name="values">
                    <ae:parameter>DESC</ae:parameter>
                    <ae:parameter>ASC</ae:parameter>
                </ae:parameter>
            </ae:parameters>
        </validator>

        <validator class="string" name="sortField" required="false">
            <argument>sortField</argument>
            <errors>
                <error>Validation of 'groupField' failed</error>
            </errors>
        </validator>

        <validator class="string" name="iconCls" required="false">
            <argument>iconCls</argument>
            <errors>
                <error>Validation of 'iconCls' failed</error>
            </errors>
        </validator>
        
        <validator class="string" name="template" required="false">
            <argument>template</argument>
            <errors>
                <error>Validation of 'template' failed</error>
            </errors>
        </validator>
        
        <validator class="string" name="crname" required="false">
            <argument>crname</argument>
            <errors>
                <error>Validation of 'crname' failed</error>
            </errors>
        </validator>        

        <validator class="string" name="title" required="false">
            <argument>title</argument>
            <errors>
                <error>Validation of 'title' failed</error>
            </errors>
        </validator>

        <validator class="string" name="filter" required="false">
            <argument>filter</argument>
            <errors>
                <error>Validation of 'filter' failed</error>
            </errors>
        </validator>

        </validators>
        
    </ae:configuration>
</ae:configurations>
