Well...Looking at the javadocs I'd say you need to do something more like:
cycle.getEngine().getService(Tapestry.PAGE_SERVICE).getLink(cycle,
page, new Object[] { "Your .page name "}).getURL()
You can also try getAbsoluteURL() if it's not putting the
http//context/ stuff in there for some reason.
On 3/22/07, Mark Stang <[EMAIL PROTECTED]> wrote:
This is what I get:
HTTP ERROR: 404
Not Found
RequestURI=/pingfederate/help/account-number-help.html
Powered by Jetty://
I specifically used an html page that doesn't exist. I guess the question is
how I would specify a .page...
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&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
>
>
--
Jesse Kuhnert
Tapestry/Dojo team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jesse Kuhnert
Tapestry/Dojo team member/developer
Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]