i've always used used $jlink.addQueryData(name,value) to post some query
parameters,
to retrieve the url just $jlink. Though $jlink should be an older version of
$jslink, now i don't remember what changes it had, but if i remember right i
coudln't use addQueryData with that last one.


----- Original Message -----
From: "Michael Rothrock" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 9:00 PM
Subject: Getting URL for current page


> Hi!
>
> I've had no luck with the archives or the source, so I thought I'd try the
> list.
>
> The question:
> Does anyone know how to grab the URL for the currently displayed page,
> including current pane etc.?
>
> The context:
> I have a portlet that displays a list of items.  Each item has a link to
get
> the detail for that item, which calls the current page with the item id in
> the query parameters.  In an ideal world, it would also include the
current
> url as a query parameter, so the detail template can display an
appropriate
> 'back' link.
>
> As far as I can tell, I need to get the current URL for both setting up
the
> link for item details (basically referencing the current page + the
selected
> item), and for the 'back' link.  I'm currently doing it with
getTemplate(),
> but that's too dependent on the location of the portlet, breaking as soon
as
> someone moves the portlet.
>
> Any ideas?
>
> Thanks!
>
> -- Michael
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to