Re: Re-DirectAction and incidentally JSModalWindow
Re: Re-DirectAction and incidentally JSModalWindow
- Subject: Re: Re-DirectAction and incidentally JSModalWindow
- From: Mark Morris <email@hidden>
- Date: Wed, 30 Mar 2005 21:21:48 -0600
A target of _blank will always get a new window. Giving the target
some name (e.g. "HelpWindow") and it will always go back to that window
if it's already open. (But in that case it may load behind the current
window; you have to do something like an onLoad to bring it to the
front.)
If you want to control the size and other attributes of the new window,
you have to use JavaScript and WOActionURL.
Regards,
Mark
On Mar 30, 2005, at 9:02 PM, Arturo Pérez wrote:
-arturo
On Mar 30, 2005, at 9:29 PM, Baiss Eric Magnusson wrote:
So I replaced the JSModalWindow with a WOHyperLink which is bound to
a DirectAction, but I don't know how to set it up to open in a
separate window, which is important. Can I use javascript somehow in
this scenario?
You can use javascript but all you really need to do is include a
target binding on the hyperlink. Typically target="_new" or something
like that.
_______________________________________________
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