<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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968498#3968498

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968498
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to