[Wicket-user] MultipartForm

2007-01-31 Thread Matthes Rieke
Hi everybody, i've got a problem with multipart-forms. i have a form with some input-field and inside this form there is another form for uploading an image: form wicket:id= input type=text.../ form enctype=multipart/form-data wicket:id=... input type=file.../ input

Re: [Wicket-user] MultipartForm

2007-01-31 Thread Carfield Yim
I think we are not suppose to have form inside anyother form. On 1/31/07, Matthes Rieke [EMAIL PROTECTED] wrote: Hi everybody, i've got a problem with multipart-forms. i have a form with some input-field and inside this form there is another form for uploading an image: form wicket:id=

Re: [Wicket-user] MultipartForm

2007-01-31 Thread Matthes R.
k. thanks. i was just wondering, because it worked all fine with the inner-form, just this thing with the multipart.. Carfield Yim schrieb: I think we are not suppose to have form inside anyother form. On 1/31/07, Matthes Rieke [EMAIL PROTECTED] wrote: Hi everybody, i've got a problem

Re: [Wicket-user] MultipartForm

2007-01-31 Thread Martijn Dashorst
Multipart nested forms are not supported (yet). I am not sure that we ever will support them. Martijn On 1/31/07, Matthes R. [EMAIL PROTECTED] wrote: k. thanks. i was just wondering, because it worked all fine with the inner-form, just this thing with the multipart.. Carfield Yim schrieb:

Re: [Wicket-user] MultipartForm

2007-01-31 Thread Igor Vaynberg
yes, we already do enough hacking to allow users to nest forms eventhough it is not allowed in the html spec. what wicket does is turn all inner form tags into divs and use its magic to route the values/call events. but when it comes to multipart there isnt much we can do because at the end there

Re: [Wicket-user] MultipartForm

2007-01-31 Thread Carfield Yim
On 2/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, we already do enough hacking to allow users to nest forms eventhough it is not allowed in the html spec. what wicket does is turn all inner form tags into divs and use its magic to route the values/call events. but when it comes to

Re: [Wicket-user] MultipartForm

2007-01-31 Thread Igor Vaynberg
html was not designed with encapsulation in mind. imagine a panel that processes some inputs via textfields. that panel needs a form. so you either have a restriction that you can only use that panel inside a form, or put the form into the panel and let wicket figure it out - that way the panel