• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: target _blank with submit button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: target _blank with submit button?


  • Subject: RE: target _blank with submit button?
  • From: "Weide, Björn" <email@hidden>
  • Date: Tue, 26 Apr 2005 14:09:01 +0200

Hi,

you have to set the target as FORM-Property, you cannot use it as a button
property.

Ciao,
Björn

-----Original Message-----
From: Wolfram Stebel [mailto:email@hidden]
Sent: Tuesday, April 26, 2005 1:49 PM
To: WebObjects-List Apple
Subject: target _blank with submit button?


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
 _______________________________________________
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

  • Prev by Date: Re: target _blank with submit button?
  • Next by Date: Re: D2W and CooperatingEditingContext: Can anybody use together? SOLVED
  • Previous by thread: Re: target _blank with submit button?
  • Next by thread: How to force IE-Win to accept Unix newline
  • Index(es):
    • Date
    • Thread