Re: Open an URL
Re: Open an URL
- Subject: Re: Open an URL
- From: Sébastien Gruhier <email@hidden>
- Date: Wed, 5 Jan 2005 22:26:52 +0100
Thank you all
WORedirect is what I was looking for
Seb
Le 5 janv. 05, à 20:19, Chuck Hill a écrit :
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:
villag
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