Where is the full client filename during FileUpload?

2010-02-03 Thread Nicola Tucci
Hi all, I'm using a FIleUpload form component in order to save the full client filename (path + filename, i.e. /home/jdoe/myfiles/MyUploadableDocument.pdf), but for what I can see, I can retrieve only the filename using FileItem.getName(). I've tried to deeply debug wicket code to find the full

Form FileUploadField maxSize does not work

2009-09-04 Thread Nicola Tucci
I'm working with a file upload, using http://www.wicket-library.com/wicket-examples/upload/single as example. I've created an UploadPanel very similar to UploadPage.java of the example (with the FileUploadForm form). Well I've maxsize set to 100K and this check work if I add my uploadpanel to the

Form skips validation for disabled/not visible components

2009-08-03 Thread Nicola Tucci
Hi all! I've a situation where I want the form to validate some hidden or disabled field. An example is a text field where the user is not allowed to write directly but only insert some items from some source, a lookup button (this is much more flexible than a drop down box!). I set this