Loosing my parameter in the multipart request

2002-11-19 Thread Murray, Christopher
Hey there guys n gals, I seem to be loosing a parameter of my request when I submit a multi-part form. In the page I have a, input type=hidden name=userAction/ this is written to by a call to, a href=javascript:submitFormDispatch('UploadForm','performUpload')LINK/a which calls,

Re: Loosing my parameter in the multipart request

2002-11-19 Thread Kris Schneider
If the request content type isn't application/x-www-form-urlencoded, then the getParameter family of methods won't work. However, I'm guessing that Struts will handle this for you if you make userAction a property on an ActionForm. Your app logic may need to change in that case since Struts will

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Andrew Hill
, Christopher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 21:12 To: 'Struts Users Mailing List' Subject: Loosing my parameter in the multipart request Hey there guys n gals, I seem to be loosing a parameter of my request when I submit a multi-part form. In the page I have a, input type

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Murray, Christopher
To: Struts Users Mailing List Subject: Re: Loosing my parameter in the multipart request If the request content type isn't application/x-www-form-urlencoded, then the getParameter family of methods won't work. However, I'm guessing that Struts will handle this for you if you make userAction

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Andrew Hill
Did you have any luck with the (ugly) workaround I suggested? -Original Message- From: Murray, Christopher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 21:41 To: 'Struts Users Mailing List' Subject: RE: Loosing my parameter in the multipart request It would also appear

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Kris Schneider
commented it out the validate worked fine. -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 13:39 To: Struts Users Mailing List Subject: Re: Loosing my parameter in the multipart request If the request content type isn't application/x-www-form

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Murray, Christopher
what if you wanted to retrieve a request parameter for a branch in your reset method ? -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 15:55 To: Struts Users Mailing List Subject: RE: Loosing my parameter in the multipart request Sure

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Andrew Hill
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 23:50 To: 'Struts Users Mailing List' Subject: RE: Loosing my parameter in the multipart request what if you wanted to retrieve a request parameter for a branch in your reset method ? -Original Message- From: Kris Schneider

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Kris Schneider
: Loosing my parameter in the multipart request Sure, but that's just the normal flow of form processing: reset - populate - validate Quoting Murray, Christopher [EMAIL PROTECTED]: It would also appear that the request parameters are only revealed once the ActionForm has been populated

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Kris Schneider
for a branch in your reset method ? -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 15:55 To: Struts Users Mailing List Subject: RE: Loosing my parameter in the multipart request Sure, but that's just the normal flow of form

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Andrew Hill
- From: Kris Schneider [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 00:56 To: Struts Users Mailing List Subject: RE: Loosing my parameter in the multipart request Just to clarify, your specific situation violates #3. The content type of your request is multipart/form-data, right

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Kris Schneider
!). -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 00:56 To: Struts Users Mailing List Subject: RE: Loosing my parameter in the multipart request Just to clarify, your specific situation violates #3. The content type of your request

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Murray, Christopher
-Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 16:52 To: Struts Users Mailing List Subject: RE: Loosing my parameter in the multipart request Im rather in agreement. It really should parse the request parameters before reset is called so

Re: Loosing my parameter in the multipart request

2002-11-19 Thread Martin Cooper
On Tue, 19 Nov 2002, Murray, Christopher wrote: Hey there guys n gals, I seem to be loosing a parameter of my request when I submit a multi-part form. Yes, this is a bug. A fix is already in the works. Thanks for submitting the bug report to Bugzilla. -- Martin Cooper In the page I

RE: Loosing my parameter in the multipart request

2002-11-19 Thread Murray, Christopher
Thanks Andrew that spells it out nicely. Going for manual reset. -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 13:51 To: Struts Users Mailing List Subject: RE: Loosing my parameter in the multipart request The multipart request is indeed