target _blank with submit button?
target _blank with submit button?
- Subject: target _blank with submit button?
- From: Wolfram Stebel <email@hidden>
- Date: Tue, 26 Apr 2005 13:49:04 +0200
Hi all,
i want to return a new window (like target=_blank) from a request, started
by a submit button.
i need the submit button to transfer last choices from the page, so i can't
use a hyperlink due to missing "submit".
Is it possible to configure something in the submitted page or the
submitbutton to get a blank window?
Is it possible to modify a WOResponse so that it will show up in a new
window?
Something like:
WOResponse rP = new WOResponse ();
rP.setHeader ( "text/html", "content-type" );
rP.setHeader ( "_blank", "target" );
rP.setContent ( data );
rP.setHeader ( new Long ( data.length() ).toString(), "content-length");
return rP;
It does not actually work in this manner :-(
Any tips?
Wolfram
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden