perhaps if you showed your code it would be more clear. -igor
On Fri, Sep 4, 2009 at 4:50 AM, Nicola Tucci<nytrus...@gmail.com> wrote: > 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 WebPage. > > But If I add the upload panel to a form, the check does not work anymore. > The difference is that without outer form, the submit button of the upload > panel belong to FileUploadForm (with maxSize set). > With the outer form, the resulting submitting form correspond to the outer > form. I don't understand this as I'm still clicking the same submit button > of FileUploadForm. In this way, the maxsize is the one set in the outer form > (which I don't want to set! I want to have my UploadPanel component with > maxsize passed as parameter). > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org