Well, it looks like I can also use the WORequest's
getFormValuesFromURLEncoding() to get to it.
Thanks
On Jul 18, 2009, at 1:00 AM, Jerome Chan wrote:
Add them in the post data. Use hidden form fields or add them into
the form data via JavaScript.
On 18-Jul-2009, at 12:57 PM, "Ricardo J. Parada" <[email protected]>
wrote:
But you can submit a form by appending the form values to the url.
Right? :-)
On Jul 17, 2009, at 11:58 PM, Jerome Chan wrote:
Forms are submitted via the post mechanism. Appending to the URL
is a get mechanism.
On 18-Jul-2009, at 11:44 AM, "Ricardo J. Parada" <[email protected]>
wrote:
Hi All,
I have a page with a form where I upload a file. So the form's
encoding is multipart/form-data. Then on the browser side, I
have some javascript that programmatically adds '?fooID=anID' to
the form's URL set in its action attribute.
I was expecting to see fooID in the request's form values but
it's nowhere in there. I can see it in the request's URI
though. Is this a bug or is this the way multipart/form-data
submits work?
If I make the form a normal submit, then the fooID does show up
in the request's form values.
Thanks,
Ricardo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/eviltofu%40mac.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]