You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/10/31 16:56:22 UTC
T5: file uploader validation
Hi,
Is there a way to check if file selected by the user is a jpeg file name
before the uploading starts? thanks.
A.C.
--
View this message in context: http://www.nabble.com/T5%3A-file-uploader-validation-tf4725955.html#a13512340
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: file uploader validation
Posted by Angelo Chen <an...@yahoo.com.hk>.
hi,
solution is very simple, just check the extension in onValidate, if not jpg
recorderror, same as other validation.
Angelo Chen wrote:
>
> Hi,
>
> Is there a way to check if file selected by the user is a jpeg file name
> before the uploading starts? thanks.
>
> A.C.
>
>
>
--
View this message in context: http://www.nabble.com/T5%3A-file-uploader-validation-tf4725955.html#a13521865
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org