Re: pageWithName in a new window
Re: pageWithName in a new window
- Subject: Re: pageWithName in a new window
- From: Doug Andrews <email@hidden>
- Date: Mon, 10 Jan 2005 16:29:35 -0500
You could do this without javascript if the boolean has already been
set when the page is generated.
You could have a WOConditional linked to your boolean. One condition
would have the link to pageA, the other to pageB. The pageB link could
then have the 'target' attribute set to something like '_blank' which
will cause it to come up in another window.
If you can't use the target attribute, i think your only other route is
to use javascript, which isn't so bad.
- Doug Andrews
- Baseview Products
- Ann Arbor, MI
On Jan 10, 2005, at 3:40 PM, Sébastien Gruhier wrote:
Hi,
I have already ask this kind of question but in this case, it's a
little bit different.
In a action, I can return two pages depending of a boolean, something
like this:
if (boolean == true)
return pageWithName("pageA");
else
return pageWithName("pageB");
This is fine but I would like to open pageA in the same window and
pageB in a another window. Is it possible?
Thank you
Sebastien
_______________________________________________
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