tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TAP5-860) JavaScript errors when adding validations to checkboxes
Date Thu, 25 Jul 2013 00:23:50 GMT

     [ https://issues.apache.org/jira/browse/TAP5-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Howard M. Lewis Ship closed TAP5-860.

       Resolution: Fixed
    Fix Version/s: 5.4
         Assignee: Howard M. Lewis Ship

This has been addressed with the overall changes to client in 5.4.
> JavaScript errors when adding validations to checkboxes
> -------------------------------------------------------
>                 Key: TAP5-860
>                 URL: https://issues.apache.org/jira/browse/TAP5-860
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.2
>            Reporter: Howard M. Lewis Ship
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.4
> Tapestry doesn't support validations on checkboxes out of the box (after all, it's either
on or off).  Perhaps supporting the required validator would not be so bad.
> However, it is reasonable to add a validator on the client side, for example, to implement
"if this is selected, this must be checked as well" scenarios.
> Anyway, because $F() of a checkbox return nulls, this line fails
>         if (!t.validationError && ! value.blank())
> because value is null
> This is in Tapestry.FieldEventManager.validateInput

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message