Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Portal] - Re: UserModule.findUserByUserName
 problem

scott.stark@jboss.org

2007-06-12


If anyone else needs to know I found the answer in the 2.4 wiki as follows:
do this to the jboss-portlet.xml
<portlet-app>
 ...
 
   <portlet-name>MyPortlet</portlet-name>
   
     <trans-attribute>Required</trans-attribute>
   
 
 ...
 
   <service-name>UserModule</service-name>
   <service-class>org.jboss.portal.core.modules.UserModule</service-class>
   <service-ref>:service=Module,type=User</service-ref>
 
 ...
</portlet-app>
Also in that example we ask the portal to propagate the portal transaction to our portlet in order to be able to modify data in the scope of the same request.



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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053614
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.