This content has been marked as final.
Show 1 reply
-
1. Re: UserModule.findUserByUserName problem
glarenzie Jun 12, 2007 11:16 AM (in response to glarenzie)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.