Re: Catching maxSize of fileUpload error

2010-10-10 Thread Zilvinas Vilutis
See: 
org.apache.wicket.markup.html.form.Form.onFileUploadException(FileUploadException,
MapString, Object)

Regards

Žilvinas Vilutis

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



On Fri, Oct 8, 2010 at 11:09 AM, meduolis meduol...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



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



Re: Catching maxSize of fileUpload error

2010-10-10 Thread meduolis

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Catching maxSize of fileUpload error

2010-10-08 Thread meduolis

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org