[ 
http://issues.apache.org/jira/browse/TAPESTRY-1024?page=comments#action_12424459
 ] 
            
Jun Tsai commented on TAPESTRY-1024:
------------------------------------

please change the page spec to :
<component type="TextField" id="nameField">
    <binding value="message:name" name="displayName"/>
    <binding value="translator:string" name="translator"/>
    <binding value="ognl:entity.name" name="value"/>
    <binding name="validators" value="validators: required,maxLength=100"/>
  </component>
  <component type="TextField" id="endPicker1">
    <binding value="message:name" name="displayName"/>
    <binding value="ognl:entity.colors" name="value"/>
    <binding name="validators" value="validators:maxLength=100"/>
  </component> 

Tapestry can't show the dojo validation message dialog.



> Client validation bug
> ---------------------
>
>                 Key: TAPESTRY-1024
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1024
>             Project: Tapestry
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 4.1
>         Environment: The latest 4.1 version.
>            Reporter: Jun Tsai
>         Assigned To: Jesse Kuhnert
>
> <component type="TextField" id="nameField">
>     <binding value="message:name" name="displayName"/>
>     <binding value="translator:string" name="translator"/>
>     <binding value="ognl:entity.name" name="value"/>
>     <binding name="validators" value="validators: required,maxLength=100"/>
>   </component>
>   <component type="TextField" id="endPicker1">
>     <binding value="message:name" name="displayName"/>
>     <binding value="ognl:entity.colors" name="value"/>
>     <binding name="validators" value="validators:required,maxLength=100"/>
>   </component>
> it works well.
> If I delete any reuired validator,it will submit to server.When only all 
> validators includes required validator,it can show the dojo dialog.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to