tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Wiederkehr (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Updated: (TAPESTRY-219) Upload component validation
Date Sun, 31 Oct 2004 14:41:33 GMT
     [ http://issues.apache.org/jira/browse/TAPESTRY-219?page=history ]

Markus Wiederkehr updated TAPESTRY-219:

    Attachment: RequiredUploadValidator.java

> Upload component validation
> ---------------------------
>          Key: TAPESTRY-219
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-219
>      Project: Tapestry
>         Type: New Feature
>   Components: Framework
>     Versions: 3.0.1
>     Reporter: Markus Wiederkehr
>  Attachments: IUploadValidator.java, RequiredUploadValidator.java, ValidUpload.java,
> It would be nice if an enhanced Upload component could be validated with a mechanism
similar to IValidationDelegate and IValidator. The validator should be able to check things
like file name, file size and content type. The validation delegate should be able to decorate
the Upload component just like it decorates a ValidField. Furthermore it should be possible
to use a FieldLabel in conjunction with the Upload component.
> The attached files demonstrate how this could be accomplished. The patch works as intended
but it's a bit of a hack. A cleaner solution should be found.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org

View raw message