portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edgar Poce" <edgarp...@gmail.com>
Subject Re: How to get the portlet entity path from a portlet request?
Date Tue, 12 Sep 2006 19:27:40 GMT
hi Jacek,

On 9/12/06, Jacek Wiślicki <jacek.wislicki@gmail.com> 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
>
> jacek.wislicki@gmail.com
> http://www.nauka-biznes.org.pl/jetspeed/portal/
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
Mime
View raw message