Hello,

My Contact.xml (it's only the ibm tutorial) but i try with various one it's 
always the same error :

<?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%/Default/config/validators.xml"
>
  <ae:configuration>
    
    <validators method="write">
      <validator class="string">
        <arguments>
          <argument>name</argument>
        </arguments>
        <errors>
          <error for="required">ERROR: Name is missing</error>
          <error>ERROR: Name is invalid</error>
        </errors>
        <ae:parameters>
          <ae:parameter name="required">true</ae:parameter>
        </ae:parameters>
      </validator>
      
      <validator class="email">
        <arguments>
          <argument>email</argument>
        </arguments>
        <errors>
          <error for="required">ERROR: Email address is missing</error>
          <error>ERROR: Email address is invalid</error>
        </errors>
        <ae:parameters>
          <ae:parameter name="required">true</ae:parameter>
        </ae:parameters>
      </validator>
      
      <validator class="string">
        <arguments>
          <argument>message</argument>
        </arguments>
        <errors>
          <error for="required">ERROR: Message body is missing</error>
          <error>ERROR: Message body is invalid</error>
        </errors>
        <ae:parameters>
          <ae:parameter name="required">true</ae:parameter>
        </ae:parameters>
      </validator>
    </validators>
    
  </ae:configuration>
</ae:configurations>


my environment :

Agavi:      
    0.11.8        
PHP:       
    5.2.6-3ubuntu4.2        
System:
         
    Linux sddj-desktop 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 
2009 i686
  

Thanks for any help

Stephane



      
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to