• 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: Sébastien Gruhier <email@hidden>
  • Date: Wed, 5 Jan 2005 08:04:01 +0100

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: Open an URL
      • From: Chuck Hill <email@hidden>
References: 
 >Open an URL (From: Sébastien Gruhier <email@hidden>)
 >Re: Open an URL (From: Doug Andrews <email@hidden>)

  • Prev by Date: Doubling Up
  • Next by Date: RE: Open an URL
  • Previous by thread: Re: Open an URL
  • Next by thread: Re: Open an URL
  • Index(es):
    • Date
    • Thread