Mark,

Have you tried the "NewWindowLink" in tassel?
http://www.tapestrycomponents.org/Tassel/app?service=external/ ViewComponent&sp=SNewWindowLink

Robert

On Mar 23, 2007, at 3/2310:36 AM , Mark Stang wrote:

Nick,
I will give it a shot, nothing else has worked. I suppose I could write my own component as a last resort.

Thanks!

Mark

Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity



-----Original Message-----
From: Nick Westgate [mailto:[EMAIL PROTECTED]
Sent: Fri 3/23/2007 5:26 AM
To: Tapestry users
Subject: Re: Tapestry 3.0.3 Popups

Hi Mark.

Can't you just use the PopupLinkRenderer?

<component id="detailPrintLink" type="ExternalLink">
     <binding name="page" expression="'DetailPrint'"/>
     <binding name="parameters" expression="{detail.id}"/>
<binding name="renderer" expression="beans.detailPrintLinkRenderer"/>
</component>
...
<bean class="org.apache.tapestry.contrib.link.PopupLinkRenderer" name="detailPrintLinkRenderer">
     <set-property name="windowName" expression="'DetailPrint'"/>
<set-property name="features" expression="'top=100,left=100,height=600,width=800,scrollbars'"/>
</bean>

Cheers,
Nick.


Mark Stang wrote:
Jesse,
Thanks for the response. It looks like it will put an .html into a pop-up. It requires a URL, I have a .page that I am displaying.

Thoughts?

Thanks!

Mark

Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity



-----Original Message-----
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
Sent: Thu 3/22/2007 2:52 PM
To: Tapestry users
Subject: Re: Tapestry 3.0.3 Popups

You can use the PopupLink component to have them go to the same window
name or control it yourself via target="". (i think)

On 3/22/07, Mark Stang <[EMAIL PROTECTED]> wrote:
Hi,
Every time I have an external link pop up a window, I get a new window. Even if it is the same link. Any idea how to have it re- use the same window? I think it is a parameter to the javascript, but I don't know how to pass the value down to the javascript.

<a href="javascript: w = window.open('/pingfederate/app? service=external/SamlEndpointsPopUp&amp;sp=SIdP+Application +Endpoint', '', 'top=100,left=100,height=600,width=800,scrollbars'); w.focus ();">Application Endpoints</a>

thanks,

Mark

Mark J. Stang
Senior Engineer/Architect
office: +1 303.468.2900
mobile: +1 303.507.2833
Ping Identity





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to