• 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: Re-DirectAction and incidentally JSModalWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re-DirectAction and incidentally JSModalWindow (From: Baiss Eric Magnusson <email@hidden>)
 >Re: Re-DirectAction and incidentally JSModalWindow (From: Arturo Pérez <email@hidden>)

  • Prev by Date: Re: Re-DirectAction and incidentally JSModalWindow
  • Next by Date: accessing web statistics from WO application
  • Previous by thread: Re: Re-DirectAction and incidentally JSModalWindow
  • Next by thread: accessing web statistics from WO application
  • Index(es):
    • Date
    • Thread