RE: Open an URL
RE: Open an URL
- Subject: RE: Open an URL
- From: "Weide, Björn" <email@hidden>
- Date: Wed, 5 Jan 2005 09:50:28 +0100
Hi,
myAction could return a WORedirect that points to your generated page/url.
Ciao,
Björn
-----Original Message-----
From: Sébastien Gruhier [mailto:email@hidden]
Sent: Wednesday, January 05, 2005 8:04 AM
To: WebObjects Dev Apple
Subject: Re: Open an URL
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
_______________________________________________
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