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]>

Reply via email to