• 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: Open an URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open an URL


  • Subject: Re: Open an URL
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 05 Jan 2005 11:19:18 -0800

I'm not sure what your question is.  Are you asking how to write the
response out to a file instead of returning it to the browser?  Or do you
want to force it to download?  Do you want to show the result of a
different URL instead (see WORedirect)?


Chuck




At 08:04 AM 05/01/2005 +0100, Sébastien Gruhier wrote:
>Thank you for your answer.
>I know about the target attribute and I will use it. But my problem is
>not on the way to open a new browser. May be I am not clear enough.
>Here is what I want to do:
>- I have an hyperlink that calls myAction().
>- In my action I generate a file, index.html
>- After having created my file, I would like to open a link, let's say
>http://mydomain/generatedFiles/index.html (or google.com)
>If I return null in my action, it will open the same page, may be I can
>open a new WO page with pageWithName with few lines of Javascript. Or
>may me be there is a nicer solution.
>
>Thanks
>Happy new year :)
>Seb
>
>Le 4 janv. 05, à 22:43, Doug Andrews a écrit :
>
>> If your action is invoked by a hyperlink, you could set the target
>> attribute of the link to "_blank" or whatever other name you want.
>> This will cause the next page to open in another browser window.
>>
>>
>> On Jan 4, 2005, at 2:12 PM, Sébastien Gruhier wrote:
>>
>>> Hi,
>>>
>>> I would like to know if it's possible in an action if it's possible
>>> to open an url in an other window.
>>> In fact I have an action that creates html files and I would like to
>>> open a browser on the created  new files.
>>> Thank you
>>> Sébastien
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>> email@hidden
>>>
>>> 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:
e.net
>
>This email sent to email@hidden
>
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
 _______________________________________________
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

  • Follow-Ups:
    • Re: Open an URL
      • From: Sébastien Gruhier <email@hidden>
References: 
 >Re: Open an URL (From: Doug Andrews <email@hidden>)
 >Open an URL (From: Sébastien Gruhier <email@hidden>)
 >Re: Open an URL (From: Sébastien Gruhier <email@hidden>)

  • Prev by Date: Using J2ME to invoke WO web services?
  • Next by Date: Re: Doubling Up
  • Previous by thread: Re: Open an URL
  • Next by thread: Re: Open an URL
  • Index(es):
    • Date
    • Thread