Hi!I believe it's not possible to create a POST request from a link using pure HTML. You'll have to use JavaScript, and the link must trigger some form on the page with the data you want on (hidden) fields.
To open a new window with the result, just set the target of the form to be a new window, like <form target="something">. For some glorious reason, this is not pure XHTML, but I couldn't care less, it works on all browsers I know.
Yours Miguel Arroz On 2009/04/09, at 21:37, Dawn Lockhart wrote:
I have a link that when the user clicks on it, I need to redirect the new window to a URL using a POST instead of a GET so that the parameters I'm sending aren't visible. From the googling that I've done, it seems like I have to use a WORedirect to get it to use a POST, but can't seem to figureout how to do it.I tried using the nice tutorial in David LeBar's blog from Dec 2004, but couldn't get it to work in my instance because I'm redirecting to a URL outside my application and it seemed to keep formatting the URL as a GET.I'm sure by now Mike has a cool Wonder object that does this and I justhaven't found it. :) Thanks, Dawn _______________________________________________ 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/arroz%40guiamac.com This email sent to [email protected]
........................... http://www.survs.com
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
