0 Replies Latest reply on Aug 30, 2006 6:36 PM by Tim Seckendorf

    A little more detail on this documentation would be very hel

    Tim Seckendorf Newbie

      <portlet-app>

      <service-name>UserModule</service-name>
      <service-class>org.jboss.portal.identity.UserModule</service-class>
      <service-ref>:service-Module,type=User</service-ref>

      </portlet-app>

      UserModule userModule = (UserModule) getPortletContext().getAttribute("UserModule");
      String userId = request.getParameters().getParameter("userid");
      User user = userModule.findUserById(userID);

      Where does one implement this code in the class that implements or extends genericPorlet. What else needs to be done to correctly and completely implement a "service" which the GenericPortlet class could call.

      -tseckend