You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by meduolis <me...@gmail.com> on 2010/10/08 20:09:20 UTC

Catching maxSize of fileUpload error

Hello, is it possible to handle validation of maxSize of file upload
(FileUploadField)? I need something like this

    onFileMaxSizeError() {
         someOtherField.error(someValidationMessage);
    }

I hope someone understand what I want :D, if not, please let me know, i will
try to describe more accuretly.

Thanks in advance
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Catching-maxSize-of-fileUpload-error-tp2968831p2968831.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Catching maxSize of fileUpload error

Posted by meduolis <me...@gmail.com>.
It's working, thanks a lot ;)
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Catching-validation-error-of-fileUpload-maxSize-failing-tp2968831p2970111.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Catching maxSize of fileUpload error

Posted by Zilvinas Vilutis <ci...@gmail.com>.
See: org.apache.wicket.markup.html.form.Form.onFileUploadException(FileUploadException,
Map<String, Object>)

Regards

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cikasfm@gmail.com



On Fri, Oct 8, 2010 at 11:09 AM, meduolis <me...@gmail.com> wrote:
>
> Hello, is it possible to handle validation of maxSize of file upload
> (FileUploadField)? I need something like this
>
>    onFileMaxSizeError() {
>         someOtherField.error(someValidationMessage);
>    }
>
> I hope someone understand what I want :D, if not, please let me know, i will
> try to describe more accuretly.
>
> Thanks in advance
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Catching-maxSize-of-fileUpload-error-tp2968831p2968831.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org