You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by Charles Severance <cs...@umich.edu> on 2007/02/14 19:55:32 UTC

Simple - Question - Which Portal am I dealing with?

How to I retrieve the string that indicates which portlet container I  
am dealing with from a Portlet?

/Chuck

Re: Simple - Question - Which Portal am I dealing with?

Posted by Charles Severance <cs...@umich.edu>.
Thanks - that did the trick.

/Chuck

On Feb 14, 2007, at 7:01 PM, Eric Dalquist wrote:

> http://portals.apache.org/pluto/multiproject/portlet-api/apidocs/ 
> javax/portlet/PortalContext.html
>
> |*getPortalInfo <http://portals.apache.org/pluto/multiproject/ 
> portlet-api/apidocs/javax/portlet/PortalContext.html#getPortalInfo% 
> 28%29>*()|
>
> The PortalContext is available from the PortletRequest.
>
> -Eric
>
> Charles Severance wrote:
>> How to I retrieve the string that indicates which portlet  
>> container I am dealing with from a Portlet?
>>
>> /Chuck


Re: Simple - Question - Which Portal am I dealing with?

Posted by Eric Dalquist <er...@doit.wisc.edu>.
http://portals.apache.org/pluto/multiproject/portlet-api/apidocs/javax/portlet/PortalContext.html

|*getPortalInfo 
<http://portals.apache.org/pluto/multiproject/portlet-api/apidocs/javax/portlet/PortalContext.html#getPortalInfo%28%29>*()| 


The PortalContext is available from the PortletRequest.

-Eric

Charles Severance wrote:
> How to I retrieve the string that indicates which portlet container I 
> am dealing with from a Portlet?
>
> /Chuck

Re: Simple - Question - Which Portal am I dealing with?

Posted by Elliot Metsger <em...@jhu.edu>.
Chuck,

You can get the PortalContext from a PortletRequest.  PortalContext 
should have what you want.

Elliot

Charles Severance wrote:
> How to I retrieve the string that indicates which portlet container I am 
> dealing with from a Portlet?
> 
> /Chuck