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] Created: (TAPESTRY-219) Upload component validation
Date Sun, 31 Oct 2004 14:39:32 GMT
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


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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message