[jboss-user] [JBoss Portal] - A little more detail on this documentation would be very hel

tseckend do-not-reply at jboss.com
Wed Aug 30 18:36:30 EDT 2006


<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



More information about the jboss-user mailing list