You might be able to do that with some sort of ajax'y script in the
browser (but I don't think so).
The problem is essentially that until you submit the page, the server
will know nothing about the form component (that stateless thing again).
- Brill
On 30-Jul-08, at 5:11 PM, cindyvr wrote:
Hi All,
I'm newbie in wicket stuff.
I have one question regarding UploadProgessBar.
How I can detect the size of uploaded file BEFORE
the UploadProgressBar in action? What I want to do is something like
this:
If a user upload a file, the application will detect the file size
and if
the file size more than max size,
error message will display. But right now, the example in Quickstart
is
showing that a user uploaded a file and the progress bar wil display
directly if more than max size (100k) than the error message will
display.
Many thanks,
Cindy.
--
View this message in context:
http://www.nabble.com/UploadProgressBar-detect-size-before-in-action-tp18742940p18742940.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]