Wiadomosc od Prashant z 2006-07-24 09:52 brzmiala:

Hello,

How can i retrive portals Url in portlet for eg. http://localhost:8080/jetspeed/portal/

i want to redirect to some other psml in processAction of portlet.

i tried to use PortalAdministration but without success.(
context.getAttribute(CommonPortletServices.CPS_PORTAL_ADMINISTRATION)
returning null )
Services (components) line "portal administration" should be declared in jetepeed-portlet.xml of your webapp. But here you donn't need it.

does anyone have any idea abt it??
You can retrieve it from a PortalURL ubject:
((RequestContext)request.getAttribute(RequestContext.REQUEST_PORTALENV)).getPortalURL();

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