You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Emmanuel DEMEY (JIRA)" <ji...@apache.org> on 2013/09/26 16:40:02 UTC
[jira] [Created] (TAP5-2189) Upload component does not override the
isRequired method
Emmanuel DEMEY created TAP5-2189:
------------------------------------
Summary: 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
Priority: Minor
There is 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 ValidationCreator, 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 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