portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: How to update user infomation ?
Date Mon, 16 Jan 2006 19:35:04 GMT
Pham Tuan Minh wrote:
> 
> When I run the portlet, userManager = null.
> What is the wrong ?
> How to update user infomation ? Which functions must I use ? 
> 
In your portlet application war, add a jetspeed-portlet.xml.
Here is an example from the j2-admin portlet application:

<?xml version="1.0" encoding="UTF-8"?>
<portlet-app id="j2-admin" version="1.0"
     xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
     xmlns:js="http://portals.apache.org/jetspeed"
     xmlns:dc="http://www.purl.org/dc">

....
	<js:services>
         <js:service name='ApplicationServerManager'/>
         <js:service name='DeploymentManager'/>
		<js:service name='EntityAccessor'/>
         <js:service name='GroupManager'/>
         <js:service name='PageManager'/>
         <js:service name='PermissionManager'/>
         <js:service name='PortalAdministration'/>
         <js:service name='PortletFactory'/>
         <js:service name='PortalAdministration'/>
         <js:service name='PortletRegistryComponent'/>
         <js:service name='PortalStatistics'/>
         <js:service name="Profiler" />
         <js:service name='RoleManager'/>
	    <js:service name='SearchComponent'/>
         <js:service name="SSO" />
         <js:service name='UserManager'/>
	</js:services>

</portlet-app>

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message