[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 type=submit value=upload the file.../
  /form

  input type=text.../
  input type=text.../
  input type=submit value=submit the form .../

form

Wicket always sets the outer form to multipart (automatically adds 
enctype=...), but i do not submit any multipart in the outer form and so i 
get an exception that there is not multipart submitted.

how can i tell wicket, that the outer form does not contain multipart content? 
setMultiPart(false) did not help!

thanks and greets,
Matthes
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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=

   input type=text.../

   form enctype=multipart/form-data wicket:id=...
 input type=file.../
 input type=submit value=upload the file.../
   /form

   input type=text.../
   input type=text.../
   input type=submit value=submit the form .../

 form

 Wicket always sets the outer form to multipart (automatically adds 
 enctype=...), but i do not submit any multipart in the outer form and so i 
 get an exception that there is not multipart submitted.

 how can i tell wicket, that the outer form does not contain multipart 
 content? setMultiPart(false) did not help!

 thanks and greets,
 Matthes
 --
 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
 Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 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 type=submit value=upload the file.../
   /form

   input type=text.../
   input type=text.../
   input type=submit value=submit the form .../

 form

 Wicket always sets the outer form to multipart (automatically adds 
 enctype=...), but i do not submit any multipart in the outer form and so i 
 get an exception that there is not multipart submitted.

 how can i tell wicket, that the outer form does not contain multipart 
 content? setMultiPart(false) did not help!

 thanks and greets,
 Matthes
 --
 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
 Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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:
  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=
 
input type=text.../
 
form enctype=multipart/form-data wicket:id=...
  input type=file.../
  input type=submit value=upload the file.../
/form
 
input type=text.../
input type=text.../
input type=submit value=submit the form .../
 
  form
 
  Wicket always sets the outer form to multipart (automatically adds 
  enctype=...), but i do not submit any multipart in the outer form and so 
  i get an exception that there is not multipart submitted.
 
  how can i tell wicket, that the outer form does not contain multipart 
  content? setMultiPart(false) did not help!
 
  thanks and greets,
  Matthes
  --
  Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
  Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share 
  your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Vote for Wicket at the http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 is
only one top level form, and if you have upload fields then that form has to
be multipart.

-igor


On 1/31/07, Martijn Dashorst [EMAIL PROTECTED] wrote:


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:
  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=
 
input type=text.../
 
form enctype=multipart/form-data wicket:id=...
  input type=file.../
  input type=submit value=upload the file.../
/form
 
input type=text.../
input type=text.../
input type=submit value=submit the form .../
 
  form
 
  Wicket always sets the outer form to multipart (automatically adds
enctype=...), but i do not submit any multipart in the outer form and so i
get an exception that there is not multipart submitted.
 
  how can i tell wicket, that the outer form does not contain multipart
content? setMultiPart(false) did not help!
 
  thanks and greets,
  Matthes
  --
  Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
  Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
 
 
-
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
share your
  opinions on IT  business topics through brief surveys - and earn
cash
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
-
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
share your
  opinions on IT  business topics through brief surveys - and earn cash
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
http://wicketframework.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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 multipart there isnt much we can do because at the end there is
 only one top level form, and if you have upload fields then that form has to
 be multipart.

Excellent idea, but how about just don't allow it? Even if it work but
I feel it is kind of hard to maintain and manage. How many people
really need this?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


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
works anywhere you drop it.

-igor


On 1/31/07, Carfield Yim [EMAIL PROTECTED] wrote:


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 multipart there isnt much we can do because at the end there
is
 only one top level form, and if you have upload fields then that form
has to
 be multipart.

Excellent idea, but how about just don't allow it? Even if it work but
I feel it is kind of hard to maintain and manage. How many people
really need this?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user