You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/08/27 18:51:57 UTC

[jira] [Closed] (TAP5-2189) Upload component does not override the isRequired method

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

Howard M. Lewis Ship closed TAP5-2189.
--------------------------------------

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

> Upload component does not override the isRequired method
> --------------------------------------------------------
>
>                 Key: TAP5-2189
>                 URL: https://issues.apache.org/jira/browse/TAP5-2189
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-upload
>    Affects Versions: 5.3.7
>            Reporter: Emmanuel DEMEY
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.4
>
>
> There is a bug when an upload field is required. The client-side validation works well, but I have some bad effect on the server side. 
> The Upload component extends the AbstractField class, that implements the isRequired method (and returning always false).  So if my field is required, when I create a ValidationDecorator, the field.isRequired return always false !
> For other inputs, everything is OK, because they are extending the AbstractTextField class that override again the isRequired method (but with the expected behavior)



--
This message was sent by Atlassian JIRA
(v6.2#6252)