Announcement Announcement Module
Collapse
No announcement yet.
How to create User in jetspeed2.0 from a portlet created with spring Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to create User in jetspeed2.0 from a portlet created with spring

    Hi, i have a problem,

    i create a portlet with spring and the classes extended SimpleFormController
    the following code:
    userManager = (UserManager) getPortletContext()

    .getAttribute(CommonPortletServices.CPS_USER_MANAG ER_COMPONENT);

    if (null == userManager)

    {

    throw new PortletException("Failed to find the User Manager on portlet initialization");

    }

    said always Nullpointer because i don't know how initialize the object userManager. I read that in the file jetspeed-portlet.xml there are js service
    but i don't know how to use .
    my portlet don't have this file, i create this in folder WEB-INF/ but the problem remains

    can yu help me?
Working...
X