hi Jacek,

On 9/12/06, Jacek Wiślicki <[EMAIL PROTECTED]> wrote:
Wiadomosc od Edgar Poce z 2006-09-12 18:45 brzmiala:

> My main problem is how to get the path from a PortletRequest, see the
> method in my first post. Once I get that path to the *fragment* of
> type portlet the snippet bellow will surely help me.
RequestContext requestContext =
(RequestContext)request.getAttribute(RequestContext.REQUEST_PORTALENV);
String currentPage = requestContext.getPortalURL().getBasePath() +
requestContext.getPath();


I think this is what I'm looking for :), I'll try it ASAP.

thanks,
edgar

--
pozdrawiam,
     Jacek Wislicki

[EMAIL PROTECTED]
http://www.nauka-biznes.org.pl/jetspeed/portal/
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki

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


Reply via email to