portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick McCabe" <patrick.mcc...@gmail.com>
Subject Re: Using Jetspeed CommonPortletServices
Date Wed, 07 Jun 2006 17:26:51 GMT
I did not know about the jetspeed-portlet.xml.  Is there any documentation
on this ?
I see that in the j2-admin example that you also list 2 portlets as well.
What is the benefit of doing this?

Thanks


On 6/7/06, David Sean Taylor <david@bluesunrise.com> wrote:
>
> Patrick McCabe wrote:
> > Hi All
> >
> > I am using Jetspeed 2.1-Dev, and I am trying to access the User Manager
> > like
> > this:
> >
> >        userManager = (UserManager) getPortletContext().getAttribute(
> >                CommonPortletServices.CPS_USER_MANAGER_COMPONENT);
> >
> > I always get a null value for the userManager, so is this how I am
> supposed
> > to access this component ?
> >
> > Any advise is greatly appreciated,
> >
> >
> > Thanks
> >
> > Pat McCabe
> >
> Do you have a jetspeed-portlet.xml ?
>
>         <js:services>
>             <js:service name='UserManager'/>
>         </js:services>
>
>
> see j2-admin app for example
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message