You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2005/11/25 03:25:20 UTC

svn commit: r348854 [11/16] - in /portals/jetspeed-2/trunk/applications/j2-admin: ./ src/java/org/apache/jetspeed/portlets/entityeditor/ src/java/org/apache/jetspeed/portlets/localeselector/ src/java/org/apache/jetspeed/portlets/localeselector/resource...

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/fmt.tld
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/fmt.tld?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/fmt.tld (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/fmt.tld Thu Nov 24 18:24:19 2005
@@ -0,0 +1,442 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE taglib
+  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+  "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+<taglib>
+  <tlib-version>1.0</tlib-version>
+  <jsp-version>1.2</jsp-version>
+  <short-name>fmt</short-name>
+  <uri>http://java.sun.com/jstl/fmt</uri>
+  <display-name>JSTL fmt</display-name>
+  <description>JSTL 1.0 i18n-capable formatting library</description>
+
+  <validator>
+    <validator-class>
+	org.apache.taglibs.standard.tlv.JstlFmtTLV
+    </validator-class>
+    <init-param>
+	<param-name>expressionAttributes</param-name>
+	<param-value>
+            requestEncoding:value 
+	    setLocale:value
+	    setLocale:variant
+	    timeZone:value
+	    setTimeZone:value
+	    bundle:basename
+	    bundle:prefix
+            setBundle:basename
+	    message:key
+	    message:bundle
+	    param:value
+	    formatNumber:value
+	    formatNumber:pattern
+            formatNumber:currencyCode
+            formatNumber:currencySymbol
+            formatNumber:groupingUsed
+            formatNumber:maxIntegerDigits
+            formatNumber:minIntegerDigits
+            formatNumber:maxFractionDigits
+            formatNumber:minFractionDigits
+	    parseNumber:value
+	    parseNumber:pattern
+	    parseNumber:parseLocale
+            parseNumber:integerOnly
+	    formatDate:value
+	    formatDate:pattern
+	    formatDate:timeZone
+	    parseDate:value
+	    parseDate:pattern
+	    parseDate:timeZone
+	    parseDate:parseLocale
+	</param-value>
+	<description>
+	    Whitespace-separated list of colon-separated token pairs
+	    describing tag:attribute combinations that accept expressions.
+	    The validator uses this information to determine which
+	    attributes need their syntax validated.
+	</description>
+     </init-param>
+  </validator>
+
+  <tag>
+    <name>requestEncoding</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.RequestEncodingTag</tag-class>
+    <body-content>empty</body-content>
+    <description>
+        Sets the request character encoding
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>setLocale</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetLocaleTag</tag-class>
+    <body-content>empty</body-content>
+    <description>
+        Stores the given locale in the locale configuration variable
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>variant</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>timeZone</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.TimeZoneTag</tag-class>
+    <body-content>JSP</body-content>
+    <description>
+        Specifies the time zone for any time formatting or parsing actions
+        nested in its body
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>setTimeZone</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetTimeZoneTag</tag-class>
+    <body-content>empty</body-content>
+    <description>
+        Stores the given time zone in the time zone configuration variable
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>var</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>bundle</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.BundleTag</tag-class>
+    <body-content>JSP</body-content>
+    <description>
+        Loads a resource bundle to be used by its tag body
+    </description>
+    <attribute>
+        <name>basename</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>prefix</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>setBundle</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.SetBundleTag</tag-class>
+    <body-content>empty</body-content>
+    <description>
+        Loads a resource bundle and stores it in the named scoped variable or
+        the bundle configuration variable
+    </description>
+    <attribute>
+        <name>basename</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>var</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>message</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.MessageTag</tag-class>
+    <body-content>JSP</body-content>
+    <description>
+        Maps key to localized message and performs parametric replacement
+    </description>
+    <attribute>
+        <name>key</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>bundle</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>var</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>param</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParamTag</tag-class>
+    <body-content>JSP</body-content>
+    <description>
+        Supplies an argument for parametric replacement to a containing
+        &lt;message&gt; tag
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>formatNumber</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.FormatNumberTag</tag-class>
+    <body-content>JSP</body-content>
+    <description>
+        Formats a numeric value as a number, currency, or percentage
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>type</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>pattern</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>currencyCode</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>currencySymbol</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>groupingUsed</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>maxIntegerDigits</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>minIntegerDigits</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>maxFractionDigits</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>minFractionDigits</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>var</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>parseNumber</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag</tag-class>
+    <body-content>JSP</body-content>
+    <description>
+        Parses the string representation of a number, currency, or percentage
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>type</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>pattern</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>parseLocale</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>integerOnly</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>var</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>formatDate</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.FormatDateTag</tag-class>
+    <body-content>empty</body-content>
+    <description>
+        Formats a date and/or time using the supplied styles and pattern
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>true</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>type</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>dateStyle</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>timeStyle</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>pattern</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>timeZone</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>var</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+  <tag>
+    <name>parseDate</name>
+    <tag-class>org.apache.taglibs.standard.tag.el.fmt.ParseDateTag</tag-class>
+    <body-content>JSP</body-content>
+    <description>
+        Parses the string representation of a date and/or time
+    </description>
+    <attribute>
+        <name>value</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>type</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>dateStyle</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>timeStyle</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>pattern</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>timeZone</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>parseLocale</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>var</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+    <attribute>
+        <name>scope</name>
+        <required>false</required>
+        <rtexprvalue>false</rtexprvalue>
+    </attribute>
+  </tag>
+
+</taglib>

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/jetspeed-portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/jetspeed-portlet.xml?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/jetspeed-portlet.xml (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/jetspeed-portlet.xml Thu Nov 24 18:24:19 2005
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<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">
+
+    <dc:title>Jetspeed-2 Administration Portlets</dc:title>
+    <dc:title xml:lang="en">Jetspeed-2 Administration Portlets</dc:title>
+    <dc:creator>J2 Team</dc:creator>
+
+    <portlet>
+        <portlet-name>LoginPortlet</portlet-name>
+        <dc:title>Login Portlet</dc:title>
+        <dc:creator>J2 Team</dc:creator>
+    </portlet>
+
+    <portlet>
+        <portlet-name>LocaleSelectorPortlet</portlet-name>
+        <dc:title>Locale Selector Portlet</dc:title>
+        <dc:creator>J2 Team</dc:creator>
+    </portlet>
+
+	<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>
\ No newline at end of file

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/jetspeed-tree.tld
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/jetspeed-tree.tld?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/jetspeed-tree.tld (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/jetspeed-tree.tld Thu Nov 24 18:24:19 2005
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE taglib
+  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+         "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+<!-- 
+Copyright 2004 The Apache Software Foundation
+Licensed  under the  Apache License,  Version 2.0  (the "License");
+you may not use  this file  except in  compliance with the License.
+You may obtain a copy of the License at 
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed  under the  License is distributed on an "AS IS" BASIS,
+WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+
+<taglib>
+
+  <tlib-version>1.0</tlib-version>
+  <jsp-version>1.2</jsp-version>
+  <short-name>Tags for Security</short-name>
+  
+  <!-- ========== Tree Control Tag ======================================== -->
+
+  <tag>
+
+    <name>tree</name>
+    <tag-class>org.apache.jetspeed.portlets.tags.PortletTreeControlTag</tag-class>
+    <body-content>empty</body-content>
+    <description>
+      Render a "tree" control, based on the current state of a data object
+      of type org.apache.webapp.admin.TreeControl, which is identified
+      by the name specified in the "tree" attribute, in the JSP scope
+      specified by the "scope" attribute.
+    </description>
+
+    <attribute>
+      <name>action</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        Hyperlink to which expand/contract actions should be sent,
+        with a string "${node}" marking where the node name of the
+        affected node should be included (which will usually be as
+        the value of a request parameter).
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>images</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        Name of a directory containing the images for our icons,
+        relative to the page including this tag.  If not specified,
+        defaults to "images".
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>scope</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        The JSP scope within which the "tree" attribute is to be found
+        (page, request, session, or application).  If not specified, the
+        "tree" attribute will be searched for in any scope.
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>style</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        The CSS style class to be applied to the entire rendered output
+        of the tree control.  If not specified, no overall style class
+        is applied.
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>styleSelected</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        The CSS style class to be applied to the text of any node that
+        is currently selected.  If not specified, no style class will be
+        applied to the text of the selected node.
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>styleUnselected</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        The CSS style class to be applied to the text of any node that
+        is *not* currently selected.  If not specified, no style class will
+         be applied to the text of non-selected nodes.
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>tree</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        Name of the attribute (in the scope specified by the "scope"
+        attribute, if any) under which an object of type
+        org.apache.webapp.admin.TreeControl is stored.  This object
+        represents the entire current state of the tree, including
+        a representation of the hierarchical representation of the
+        nodes, plus the current expanded/ or contracted state of
+        non-leaf nodes.
+      </description>
+    </attribute>
+
+  </tag>
+
+</taglib>
\ No newline at end of file

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/model/spring-portlet-configuration.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/model/spring-portlet-configuration.xml?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/model/spring-portlet-configuration.xml (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/model/spring-portlet-configuration.xml Thu Nov 24 18:24:19 2005
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE beans PUBLIC  "-//SPRING//DTD BEAN//EN"
+ "http://www.springframework.org/dtd/spring-beans.dtd">
+
+<beans>
+    <description>Spring Portlet Components</description>
+    
+<!-- Model -->    
+    <bean id="folderBean" singleton='false' class="org.apache.jetspeed.portlets.site.FolderProxyBean">
+        <description>Folder bean</description>
+		<property name="lookupKey">
+			<value>site.folder.key</value>
+		</property>
+    </bean>    
+    <bean id="pageBean" singleton='false' class="org.apache.jetspeed.portlets.site.PageProxyBean">
+        <description>Page bean</description>
+		<property name="lookupKey">
+			<value>site.page.key</value>
+		</property>
+    </bean>    
+    
+<!-- Views -->
+    <bean id="portlet-views" class="java.util.HashMap">
+       <description>Logical View name to actual view</description>
+  	   <constructor-arg>
+  	   	<map>
+  	   	  <entry key="folder-view">
+  	   	  	<value>/WEB-INF/view/site/folder-details.vm</value>
+  	   	  </entry>
+  	   	  <entry key="page-view">
+  	   	  	<value>/WEB-INF/view/site/page-details.vm</value>
+  	   	  </entry>          
+  	   	  <entry key="add-page">
+  	   	  	<value>/WEB-INF/view/site/add-page.vm</value>
+  	   	  </entry>
+  	   	  <entry key="add-subfolder">
+  	   	  	<value>/WEB-INF/view/site/add-subfolder.vm</value>
+  	   	  </entry>
+  	   	  <entry key="add-link">
+  	   	  	<value>/WEB-INF/view/site/add-link.vm</value>
+  	   	  </entry>
+  	   	  <entry key="doc-order">
+  	   	  	<value>/WEB-INF/view/site/doc-order.vm</value>
+  	   	  </entry>
+  	   	  <entry key="menus">
+  	   	  	<value>/WEB-INF/view/site/menus.vm</value>
+  	   	  </entry>
+  	   	  <entry key="security">
+  	   	  	<value>/WEB-INF/view/site/security.vm</value>
+  	   	  </entry>
+          
+  	   	  <entry key="site-help">
+  	   	  	<value>/WEB-INF/view/site/site-help.vm</value>
+  	   	  </entry>
+  	   	  <entry key="site-edit">
+  	   	  	<value>/WEB-INF/view/site/site-edit.vm</value>
+  	   	  </entry>  	   	  
+  	   	</map>
+  	   </constructor-arg>    	
+    </bean>
+
+
+<!-- MVC Map: Views to Beans -->    
+    <bean id="portlet-view-bean-map" singleton="true" class="java.util.HashMap">
+       <description>Maps views to model beans</description>
+  	   <constructor-arg>
+  	   	<map>
+  	   	  <entry key="folder-view">
+  	   	  	<value>folderBean</value>
+  	   	  </entry>
+  	   	  <entry key="page-view">
+  	   	  	<value>pageBean</value>
+  	   	  </entry>          
+  	   	  <entry key="add-page">
+  	   	  	<value>pageBean</value>
+  	   	  </entry>          
+  	   	  <entry key="add-folder">
+  	   	  	<value>folderBean</value>
+  	   	  </entry>          
+  	   	</map>
+  	   </constructor-arg>    	
+    </bean>
+
+<!-- MVC Map: Views to Validator -->    
+    <bean id="portlet-view-validator-map" singleton="true" class="java.util.HashMap">
+       <description>Maps views to validators</description>
+  	   <constructor-arg>
+  	   	<map>
+  	   	  <entry key="folder-view">
+  	   	  	<value>folderBean</value>
+  	   	  </entry>
+  	   	  <entry key="page-view">
+  	   	  	<value>pageBean</value>
+  	   	  </entry>          
+  	   	  <entry key="add-page">
+  	   	  	<value>pageBean</value>
+  	   	  </entry>          
+  	   	  <entry key="add-folder">
+  	   	  	<value>folderBean</value>
+  	   	  </entry>          
+  	   	</map>
+  	   </constructor-arg>    	
+    </bean>
+
+    
+<!-- MVC Map: Action Forward Map - 2 standard actions: success, failure
+			  Naming Convention: (viewname):action i.e. myview:success, myview:failure			  
+			  entry key == view name : action (success or failure)
+			  value == view name, mode:[view,edit,help], state:[minimized,maximized,norma], any combination of 3
+-->    
+    <bean id="portlet-action-forward-map" singleton="true" class="java.util.HashMap">
+       <description>Maps logical forward names to views</description>
+  	   <constructor-arg>
+  	   	<map>
+  	   	  <entry key="folder-view:success">
+  	   	  	<value>folder-view,mode:view</value>
+  	   	  </entry>            
+  	   	  <entry key="page-view:success">
+  	   	  	<value>page-view,mode:view</value>
+  	   	  </entry>                      
+  	   	</map>  	   	
+  	   </constructor-arg>    	
+    </bean>    
+</beans>
\ No newline at end of file

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/model/validator-configuration.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/model/validator-configuration.xml?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/model/validator-configuration.xml (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/model/validator-configuration.xml Thu Nov 24 18:24:19 2005
@@ -0,0 +1,46 @@
+<!DOCTYPE form-validation PUBLIC
+     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
+     "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">
+     
+<form-validation>
+   <global>
+      <validator name="required"
+                 classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
+                 method="validateRequired"
+                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
+                 msg="errors.required"/>
+      <validator name="range"
+                 classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
+                 method="validateRange"
+                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
+                 msg="errors.range"/>
+      <validator name="doubleRange"
+                 classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
+                 method="validateDoubleRange"
+                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
+                 msg="errors.range"/>
+      <validator name="mask"
+                 classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
+                 method="validateMask"
+                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
+                 msg="errors.mask"/>
+      <validator name="maxLength"
+                 classname="org.apache.portals.bridges.frameworks.spring.validation.ValidationSupport"
+                 method="validateMaxLength"
+                 methodParams="java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,java.util.Map,java.util.ResourceBundle"
+                 msg="errors.maxlength"/>
+                 
+   </global>
+   <formset>
+      <form name="folderBean">
+         <field property="title"  depends="required">
+         	   <arg key="Title"/>
+         </field>    
+      </form>
+      <form name="pageBean">
+         <field property="title"  depends="required">
+         	   <arg key="Title"/>
+         </field>    
+      </form>      
+   </formset>   
+</form-validation>

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/pam.tld
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/pam.tld?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/pam.tld (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/pam.tld Thu Nov 24 18:24:19 2005
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE taglib
+  PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
+         "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+<!-- 
+Copyright 2004 The Apache Software Foundation
+Licensed  under the  Apache License,  Version 2.0  (the "License");
+you may not use  this file  except in  compliance with the License.
+You may obtain a copy of the License at 
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed  under the  License is distributed on an "AS IS" BASIS,
+WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+implied.
+
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+
+<taglib>
+
+  <tlib-version>1.0</tlib-version>
+  <jsp-version>1.2</jsp-version>
+  <short-name>Tags for PAM</short-name>
+  
+  <!-- ========== Tree Control Tag ======================================== -->
+
+  <tag>
+
+    <name>tree</name>
+    <tag-class>org.apache.jetspeed.portlets.tags.PortletTreeControlTag</tag-class>
+    <body-content>empty</body-content>
+    <description>
+      Render a "tree" control, based on the current state of a data object
+      of type org.apache.webapp.admin.TreeControl, which is identified
+      by the name specified in the "tree" attribute, in the JSP scope
+      specified by the "scope" attribute.
+    </description>
+
+    <attribute>
+      <name>action</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        Hyperlink to which expand/contract actions should be sent,
+        with a string "${node}" marking where the node name of the
+        affected node should be included (which will usually be as
+        the value of a request parameter).
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>images</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        Name of a directory containing the images for our icons,
+        relative to the page including this tag.  If not specified,
+        defaults to "images".
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>scope</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        The JSP scope within which the "tree" attribute is to be found
+        (page, request, session, or application).  If not specified, the
+        "tree" attribute will be searched for in any scope.
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>style</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        The CSS style class to be applied to the entire rendered output
+        of the tree control.  If not specified, no overall style class
+        is applied.
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>styleSelected</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        The CSS style class to be applied to the text of any node that
+        is currently selected.  If not specified, no style class will be
+        applied to the text of the selected node.
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>styleUnselected</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        The CSS style class to be applied to the text of any node that
+        is *not* currently selected.  If not specified, no style class will
+         be applied to the text of non-selected nodes.
+      </description>
+    </attribute>
+
+    <attribute>
+      <name>tree</name>
+      <required>false</required>
+      <rtexprvalue>true</rtexprvalue>
+      <description>
+        Name of the attribute (in the scope specified by the "scope"
+        attribute, if any) under which an object of type
+        org.apache.webapp.admin.TreeControl is stored.  This object
+        represents the entire current state of the tree, including
+        a representation of the hierarchical representation of the
+        nodes, plus the current expanded/ or contracted state of
+        non-leaf nodes.
+      </description>
+    </attribute>
+
+  </tag>
+
+</taglib>
\ No newline at end of file

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.tld
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.tld?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.tld (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.tld Thu Nov 24 18:24:19 2005
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<!DOCTYPE taglib PUBLIC
+  "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
+  "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
+<taglib>
+    <tlibversion>1.0</tlibversion>
+    <jspversion>1.1</jspversion>
+    <shortname>Tags for portlets</shortname>
+    <tag>
+        <name>defineObjects</name>
+        <tagclass>org.apache.pluto.tags.DefineObjectsTag</tagclass>
+        <teiclass>org.apache.pluto.tags.DefineObjectsTag$TEI</teiclass>
+        <bodycontent>empty</bodycontent>
+    </tag>
+    <tag>
+        <name>param</name>
+        <tagclass>org.apache.pluto.tags.ParamTag</tagclass>
+        <bodycontent>empty</bodycontent>
+        <attribute>
+            <name>name</name>
+            <required>true</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+        <attribute>
+            <name>value</name>
+            <required>true</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+    </tag>
+    <tag>
+        <name>actionURL</name>
+        <tagclass>org.apache.pluto.tags.ActionURLTag</tagclass>
+        <teiclass>org.apache.pluto.tags.BasicURLTag$TEI</teiclass>
+        <bodycontent>JSP</bodycontent>
+        <attribute>
+            <name>windowState</name>
+            <required>false</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+        <attribute>
+            <name>portletMode</name>
+            <required>false</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+        <attribute>
+            <name>secure</name>
+            <required>false</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+        <attribute>
+            <name>var</name>
+            <required>false</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+    </tag>
+    <tag>
+        <name>renderURL</name>
+        <tagclass>org.apache.pluto.tags.RenderURLTag</tagclass>
+        <teiclass>org.apache.pluto.tags.BasicURLTag$TEI</teiclass>
+        <bodycontent>JSP</bodycontent>
+        <attribute>
+            <name>windowState</name>
+            <required>false</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+        <attribute>
+            <name>portletMode</name>
+            <required>false</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+        <attribute>
+            <name>secure</name>
+            <required>false</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+        <attribute>
+            <name>var</name>
+            <required>false</required>
+            <rtexprvalue>true</rtexprvalue>
+        </attribute>
+    </tag>
+    <tag>
+        <name>namespace</name>
+        <tagclass>org.apache.pluto.tags.NamespaceTag</tagclass>
+        <bodycontent>empty</bodycontent>
+    </tag>
+</taglib>

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/portlet.xml Thu Nov 24 18:24:19 2005
@@ -0,0 +1,843 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<portlet-app id="j2-admin" version="1.0">
+
+<portlet id="PortletApplicationLifecyleManager">
+    <init-param>
+        <description>This parameter sets the template used in view mode.</description>
+        <name>ViewPage</name>
+            <value>/WEB-INF/view/palm.jsp</value>
+     </init-param>
+    <portlet-name>PortletApplicationLifecycleManager</portlet-name>
+    <display-name>Portlet Application Lifecycle Manager</display-name>
+    <description>The PALM (Portlet Application Lifecycle Manager) manages the lifecyle of portlet applications. From here you can start, stop, undeploy and delete portlet applications</description>
+    <portlet-class>org.apache.jetspeed.portlets.palm.PortletApplicationLifecycleManager</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>
+    <portlet-info>
+      <title>Portlet Application Lifecycle Manager</title>
+      <short-title>PALM</short-title>
+      <keywords>applications,apps,PALM</keywords>
+    </portlet-info>
+  </portlet>
+
+    <portlet id="LoginPortlet">
+        <init-param>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/login/login.jsp</value>
+        </init-param>
+        <portlet-name>LoginPortlet</portlet-name>
+        <display-name>Login</display-name>
+        <portlet-class>org.apache.portals.bridges.common.GenericServletPortlet</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <supported-locale>ja</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.LoginResources</resource-bundle>
+        <portlet-info>
+            <title>Login</title>
+            <short-title>Login</short-title>
+        </portlet-info>
+    </portlet>
+    <portlet id="LoginPortletForXHTMLBasic">
+        <init-param>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/login/login-xhtmlbasic.jsp</value>
+        </init-param>
+        <portlet-name>LoginPortletForXHTMLBasic</portlet-name>
+        <display-name>Login for XHTML Basic</display-name>
+        <portlet-class>org.apache.portals.bridges.common.GenericServletPortlet</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <supported-locale>ja</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.LoginResources</resource-bundle>
+        <portlet-info>
+            <title>Login</title>
+            <short-title>Login</short-title>
+        </portlet-info>
+    </portlet>
+    <!-- *********************** -->
+    <!-- Change Password Portlet -->
+    <!-- *********************** -->
+    <portlet id="ChangePasswordPortlet">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/chgpwd/change-password.jsp</value>
+        </init-param>
+        <portlet-name>ChangePasswordPortlet</portlet-name>
+        <display-name>Change Password</display-name>
+        <description>Change current logged on user its password.</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.ChangePasswordPortlet</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <supported-locale>nl</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.ChgPwdResources</resource-bundle>
+        <portlet-info>
+            <title>Change Password</title>
+            <short-title>Change Password</short-title>
+            <keywords>security,user,password</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="UserBrowserPortlet">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/users/user-browser.vm</value>
+        </init-param>
+        <portlet-name>UserBrowserPortlet</portlet-name>
+        <display-name>User Browser</display-name>
+        <description>The User Browser displays a list of users managed in this portal. From here you can add, edit, and users.</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.users.UserBrowser</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+            <!--  not implemented yet
+                <portlet-mode>EDIT</portlet-mode>
+                <portlet-mode>HELP</portlet-mode>
+            -->
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.UserBrowserResources</resource-bundle>
+        <portlet-info>
+            <title>User Browser</title>
+            <short-title>Users</short-title>
+            <keywords>admin,security,users</keywords>
+        </portlet-info>
+        <portlet-preferences>
+            <preference>
+                <name>WindowSize</name>
+                <value>10</value>
+            </preference>
+        </portlet-preferences>
+    </portlet>
+
+    <portlet id="UserDetailsPortlet">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/users/user-details.jsp</value>
+        </init-param>
+        <init-param>
+            <description>This parameter sets the template used in edit mode.</description>
+            <name>EditPage</name>
+            <value>/WEB-INF/security/users/user-details-edit.jsp</value>
+        </init-param>
+        <portlet-name>UserDetailsPortlet</portlet-name>
+        <display-name>User Information</display-name>
+        <description>The User Details portlet displays a users details in a tabbed view. From here you can add, edit, and user information.</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.users.UserDetailsPortlet</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>EDIT</portlet-mode>
+            <portlet-mode>VIEW</portlet-mode>
+            <!-- not implemented yet
+                <portlet-mode>HELP</portlet-mode>
+            -->
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.UserDetailsResources</resource-bundle>
+        <portlet-preferences>
+            <preference>
+                <name>showUserTab</name>
+                <value>false</value>
+            </preference>
+            <preference>
+                <name>showAttributesTab</name>
+                <value>true</value>
+            </preference>
+            <preference>
+                <name>showPasswordTab</name>
+                <value>true</value>
+            </preference>
+            <preference>
+                <name>showRoleTab</name>
+                <value>true</value>
+            </preference>
+            <preference>
+                <name>showGroupTab</name>
+                <value>true</value>
+            </preference>
+            <preference>
+                <name>showProfileTab</name>
+                <value>true</value>
+            </preference>
+            <preference>
+                <name>showPasswordOnUserTab</name>
+                <value>false</value>
+            </preference>
+            <preference>
+                <name>showPasswordExpiration</name>
+                <value>false</value>
+            </preference>
+            <preference>
+                <name>showChangePasswordRequiredForAddUser</name>
+                <value>true</value>
+            </preference>
+            <preference>
+                <name>showRoleForAddUser</name>
+                <value>true</value>
+            </preference>
+            <preference>
+                <name>showProfileForAddUser</name>
+                <value>true</value>
+            </preference>
+            <preference>
+                <name>defaultChangePasswordRequired</name>
+                <value>false</value>
+            </preference>
+            <preference>
+                <name>defaultRole</name>
+                <value>user</value>
+            </preference>
+            <preference>
+                <name>defaultProfile</name>
+                <value>j2</value>
+            </preference>
+            <preference>
+                <name>newUserTemplateDirectory</name>
+                <value>/_user/template/</value>
+            </preference>
+        </portlet-preferences>
+        <portlet-info>
+            <title>User Detail Information</title>
+            <short-title>User</short-title>
+            <keywords>admin,security,users</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="GroupDetailsPortlet">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/groups/group-details.vm</value>
+        </init-param>
+        <portlet-name>GroupDetailsPortlet</portlet-name>
+        <display-name>Group Information</display-name>
+        <description>The Group Details portlet displays a groups details in a tabbed view. From here you can add, edit, and group information.</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.groups.GroupDetails</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+            <!-- not implemented yet
+                <portlet-mode>EDIT</portlet-mode>
+                <portlet-mode>HELP</portlet-mode>
+            -->
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.GroupDetailsResources</resource-bundle>
+        <portlet-info>
+            <title>Group Detail Information</title>
+            <short-title>Group</short-title>
+            <keywords>admin,security,group</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="RoleDetailsPortlet">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/roles/role-details.vm</value>
+        </init-param>
+        <portlet-name>RoleDetailsPortlet</portlet-name>
+        <display-name>Role Information</display-name>
+        <description>The Role Details portlet displays a roles details in a tabbed view. From here you can add, edit, and role information.</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.roles.RoleDetails</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+            <!-- not implemented yet
+                <portlet-mode>EDIT</portlet-mode>
+                <portlet-mode>HELP</portlet-mode>
+            -->
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.RoleDetailsResources</resource-bundle>
+        <portlet-info>
+            <title>Role Detail Information</title>
+            <short-title>Role</short-title>
+            <keywords>admin,security,role</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="SSOBrowserPortlet">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/sso/sites-view.vm</value>
+        </init-param>
+        <portlet-name>SSOBrowserPortlet</portlet-name>
+        <display-name>SSO Sites Browser</display-name>
+        <description>SSO Sites Browser Portlet</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.sso.SSOBrowser</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+            <!-- not implemented yet
+                <portlet-mode>EDIT</portlet-mode>
+                <portlet-mode>HELP</portlet-mode>
+            -->
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.SSOResources</resource-bundle>
+        <portlet-info>
+            <title>SSO Sites</title>
+            <short-title>Sites</short-title>
+            <keywords>admin,security,site,SSO</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="SSODetailsPortlet">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/sso/sites-details.vm</value>
+        </init-param>
+        <portlet-name>SSODetailsPortlet</portlet-name>
+        <display-name>SSO Details</display-name>
+        <description>SSO Site Details Portlet</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.sso.SSODetails</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+            <!-- not implemented yet
+                <portlet-mode>EDIT</portlet-mode>
+                <portlet-mode>HELP</portlet-mode>
+            -->
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.SSODetailsResources</resource-bundle>
+        <portlet-info>
+            <title>SSO Details</title>
+            <short-title>SSO Details</short-title>
+            <keywords>admin,security,site,SSO</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="UserChooser">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/users/user-chooser.vm</value>
+        </init-param>
+        <portlet-name>UserChooser</portlet-name>
+        <display-name>Users</display-name>
+        <description>User Chooser Portlet</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.users.UserChooserPortlet</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>EDIT</portlet-mode>
+            <portlet-mode>VIEW</portlet-mode>
+            <portlet-mode>HELP</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>
+        <portlet-preferences>
+            <preference>
+                <name>WindowSize</name>
+                <value>1000</value>
+            </preference>
+        </portlet-preferences>
+        <portlet-info>
+            <title>User Select</title>
+            <short-title>Users</short-title>
+            <keywords>admin,security,users</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="UserMultiChooser">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/users/user-multi-chooser.vm</value>
+        </init-param>
+        <portlet-name>UserMultiChooser</portlet-name>
+        <display-name>Choose Multiple Users</display-name>
+        <description>Multiple User Chooser Portlet</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.users.UserChooserPortlet</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>EDIT</portlet-mode>
+            <portlet-mode>VIEW</portlet-mode>
+            <portlet-mode>HELP</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>
+        <portlet-preferences>
+            <preference>
+                <name>WindowSize</name>
+                <value>1000</value>
+            </preference>
+        </portlet-preferences>
+        <portlet-info>
+            <title>Users Select</title>
+            <short-title>Users</short-title>
+            <keywords>admin,security,users</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="RoleChooser">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/users/role-chooser.vm</value>
+        </init-param>
+        <portlet-name>RoleChooser</portlet-name>
+        <display-name>Roles</display-name>
+        <description>Role Chooser Portlet</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.users.RoleChooserPortlet</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>EDIT</portlet-mode>
+            <portlet-mode>VIEW</portlet-mode>
+            <portlet-mode>HELP</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>
+        <portlet-preferences>
+            <preference>
+                <name>WindowSize</name>
+                <value>1000</value>
+            </preference>
+        </portlet-preferences>
+        <portlet-info>
+            <title>Role Select</title>
+            <short-title>Roles</short-title>
+            <keywords>admin,security,roles</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="GroupChooser">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/users/group-chooser.vm</value>
+        </init-param>
+        <portlet-name>GroupChooser</portlet-name>
+        <display-name>Groups</display-name>
+        <description>Group Chooser Portlet</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.users.GroupChooserPortlet</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>EDIT</portlet-mode>
+            <portlet-mode>VIEW</portlet-mode>
+            <portlet-mode>HELP</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.SecurityResources</resource-bundle>
+        <portlet-preferences>
+            <preference>
+                <name>WindowSize</name>
+                <value>1000</value>
+            </preference>
+        </portlet-preferences>
+        <portlet-info>
+            <title>Group Select</title>
+            <short-title>Groups</short-title>
+            <keywords>admin,security,groups</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="GroupBrowser">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/groups/groups-view.vm</value>
+        </init-param>
+        <portlet-name>GroupBrowserPortlet</portlet-name>
+        <display-name>Group Admin</display-name>
+        <description>Group Browser Portlet</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.groups.GroupBrowser</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.GroupBrowserResources</resource-bundle>
+        <portlet-preferences>
+            <preference>
+                <name>WindowSize</name>
+                <value>1000</value>
+            </preference>
+        </portlet-preferences>
+        <portlet-info>
+            <title>Group admin</title>
+            <short-title>Groups</short-title>
+            <keywords>admin,security,groups</keywords>
+        </portlet-info>
+    </portlet>
+
+    <portlet id="RoleBrowser">
+        <init-param>
+            <description>This parameter sets the template used in view mode.</description>
+            <name>ViewPage</name>
+            <value>/WEB-INF/security/roles/roles-view.vm</value>
+        </init-param>
+        <portlet-name>RoleBrowserPortlet</portlet-name>
+        <display-name>Role Admin</display-name>
+        <description>Role Browser Portlet</description>
+        <portlet-class>org.apache.jetspeed.portlets.security.roles.RoleBrowser</portlet-class>
+        <expiration-cache>-1</expiration-cache>
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <resource-bundle>org.apache.jetspeed.portlets.security.resources.RoleBrowserResources</resource-bundle>
+        <portlet-preferences>
+            <preference>
+                <name>WindowSize</name>
+                <value>1000</value>
+            </preference>
+        </portlet-preferences>
+        <portlet-info>
+            <title>Role admin</title>
+            <short-title>Roles</short-title>
+            <keywords>admin,security,roles</keywords>
+        </portlet-info>
+    </portlet>
+
+<portlet id="LocaleSelector">
+    <portlet-name>LocaleSelector</portlet-name>
+    <display-name>Locale Selector</display-name>
+    <description>Locale Selector is a portlet to select your preferred locale</description>
+    <portlet-class>org.apache.jetspeed.portlets.localeselector.LocaleSelectorPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>
+    <supported-locale>ja</supported-locale>
+    <resource-bundle>org.apache.jetspeed.portlets.localeselector.resources.LocaleSelectorResources</resource-bundle>
+    <portlet-info>
+      <title>Locale Selector</title>
+      <short-title>This is a portlet to select your preferred locale</short-title>
+      <keywords>Locale,Language</keywords>
+    </portlet-info>
+</portlet>
+
+<portlet id="PortletApplicationBrowser">
+    <init-param>
+    	<description>This parameter sets the template used in view mode.</description>
+		<name>ViewPage</name>
+			<value>/WEB-INF/view/pam-browser.jsp</value>
+     </init-param>   
+    <portlet-name>PortletApplicationBrowser</portlet-name>
+    <display-name>Portlet Application Browser</display-name>
+    <description>The PAM (Portlet Application Manager) Portlet Application Browser displays a list of portlet applications deployed to this portal. From here you can add, edit, and delete portlet applications.</description>
+    <portlet-class>org.apache.jetspeed.portlets.pam.PortletApplicationBrowser</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>    
+    <portlet-info>
+      <title>Portlet Application Browser</title>
+      <short-title>Apps</short-title>
+      <keywords>applications,apps,PAM</keywords>
+    </portlet-info>
+  </portlet>
+
+  <portlet id="PortletApplicationDetail">
+    <init-param>
+      <description>This parameter sets the template used in view mode.</description>
+      <name>ViewPage</name>
+      <value>//WEB-INF/view/pam-detail.jsp</value>
+    </init-param>   
+    <portlet-name>PortletApplicationDetail</portlet-name>
+    <display-name>Portlet Application Detail</display-name>
+    <description>The PAM (Portlet Application Manager) Portlet Application Detail displays a specific portlet application deployed to this portal. From here you can add, edit, and delete this portlet application.</description>
+    <portlet-class>org.apache.jetspeed.portlets.pam.PortletApplicationDetail</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>    
+    <portlet-info>
+      <title>Portlet Application Detail</title>
+      <short-title>PAD</short-title>
+      <keywords>applications,apps,PAM</keywords>
+    </portlet-info>
+  </portlet>
+<!--
+<portlet id="PortalSiteBrowser">
+    <init-param>
+    	<description>This parameter sets the template used in view mode.</description>
+		<name>ViewPage</name>
+			<value>/WEB-INF/view/site-browser.jsp</value>
+     </init-param>   
+    <portlet-name>PortalSiteBrowser</portlet-name>
+    <display-name>Portal Site Browser</display-name>
+    <description>The Portal Site Browser displays a hierarchical view of the portal site. From here you can add, edit, and delete folders and pages.</description>
+    <portlet-class>org.apache.portals.bridges.jsf.FacesPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Portal Site Browser</title>
+      <short-title>Site</short-title>
+      <keywords>admin,site</keywords>
+    </portlet-info>
+</portlet>
+-->
+<portlet id="PortalSiteBrowser">
+    <init-param>
+    	<description>This parameter sets the template used in view mode.</description>
+		<name>ViewPage</name>
+			<value>/WEB-INF/view/site/site-browser.jsp</value>
+     </init-param>   
+    <portlet-name>PortalSiteBrowser</portlet-name>
+    <display-name>Portal Site Browser</display-name>
+    <description>The Portal Site Browser displays a hierarchical view of the portal site. From here you can add, edit, and delete folders and pages.</description>
+    <portlet-class>org.apache.jetspeed.portlets.site.SiteBrowserPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Portal Site Browser</title>
+      <short-title>Site</short-title>
+      <keywords>admin,site</keywords>
+    </portlet-info>
+</portlet>
+
+<portlet id="PortalSiteDetail">
+	<init-param>
+		<name>spring-configuration</name>
+		<value>/WEB-INF/model/spring-portlet-configuration.xml</value>
+	</init-param>
+	<init-param>
+		<name>validator-configuration</name>
+		<value>/WEB-INF/model/validator-configuration.xml</value>
+	</init-param>	
+    <init-param>
+    	<description>This parameter sets the template used in view mode.</description>
+		<name>ViewPage</name>
+			<value>folder-view</value>
+     </init-param>   
+    <portlet-name>PortalSiteDetail</portlet-name>
+    <display-name>Portal Site Detail</display-name>
+    <description>The Portal Site Detail portlet displays the details of a selected folder/page.  From here you can add, edit, and delete folders and pages.</description>
+    <portlet-class>org.apache.jetspeed.portlets.site.SiteDetailsPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+     <resource-bundle>org.apache.jetspeed.portlets.site.resources.SiteResources</resource-bundle>            	
+    <portlet-info>
+      <title>Portal Site Detail</title>
+      <short-title>Site</short-title>
+      <keywords>admin,site</keywords>
+    </portlet-info>
+	
+</portlet>
+
+<portlet id="ProfilerAdmin">
+    <init-param>
+    	<description>This parameter sets the template used in view mode.</description>
+		<name>ViewPage</name>
+		<value>/WEB-INF/view/profiler-admin.jsp</value>
+     </init-param>   
+    <init-param>
+    	<description>This parameter sets the template used in help mode.</description>
+		<name>HelpPage</name>
+		<value>/WEB-INF/view/profiler-help.html</value>
+     </init-param>   
+    <portlet-name>ProfilerAdmin</portlet-name>
+    <display-name>Profiler Admin</display-name>
+    <description>The Profiler Admin is used to adminstrate profiling rules.</description>
+    <portlet-class>org.apache.jetspeed.portlets.profiler.ProfilerAdminPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>Profiler Admin</title>
+      <short-title>Profiler</short-title>
+      <keywords>admin,profiler</keywords>
+    </portlet-info>
+</portlet>
+
+<portlet id="JetspeedUserAdmin">
+    <init-param>
+        <description>This parameter sets the template used in view mode.</description>
+                <name>ViewPage</name>
+                        <value>/WEB-INF/view/user-admin.jsp</value>
+     </init-param>   
+    <portlet-name>JetspeedUserAdmin</portlet-name>
+    <display-name>User Administration</display-name>
+    <description>User Administration of portal users in the system.</description>
+    <portlet-class>org.apache.jetspeed.portlets.security.users.UserManagerPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <portlet-info>
+      <title>User Administration</title>
+      <short-title>Users</short-title>
+      <keywords>admin,security,users</keywords>
+    </portlet-info>
+</portlet>
+
+<portlet id="PortletSelector">
+    <init-param>
+    	<description>This parameter sets the template used in view mode.</description>
+		<name>ViewPage</name>
+			<value>/WEB-INF/view/selectors/portlet-selector.vm</value>
+     </init-param>   
+    <portlet-name>PortletSelector</portlet-name>
+    <display-name>Portlet Selector</display-name>
+    <description>Select one or more portlets from the customizer</description>
+    <portlet-class>org.apache.jetspeed.portlets.selector.PortletSelector</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>EDIT</portlet-mode>
+      <portlet-mode>VIEW</portlet-mode>
+      <portlet-mode>HELP</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>
+    <resource-bundle>org.apache.jetspeed.portlets.site.resources.SiteResources</resource-bundle>            
+    <portlet-preferences>
+      <preference>                            
+        <name>WindowSize</name>                    
+        <value>15</value>    
+      </preference>                               		    
+    </portlet-preferences>            
+    <portlet-info>
+      <title>Portlet Selector</title>
+      <short-title>Portlets</short-title>
+      <keywords>portlet,selector,customizer,chooser,add</keywords>
+    </portlet-info>
+</portlet>
+<portlet id="PortletEntityBrowserPortlet">
+    <init-param>
+        <description>This parameter sets the template used in view mode.</description>
+        <name>ViewPage</name>
+            <value>/WEB-INF/view/pemp/browser_view.vm</value>
+     </init-param>
+    <portlet-name>PortletEntityBrowserPortlet</portlet-name>
+    <display-name>Portlet Entity Browser</display-name>
+    <description>Provides for browsing portlet enitites</description>
+    <portlet-class>org.apache.jetspeed.portlets.entityeditor.PortletEntityBrowserPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>
+    <portlet-info>
+      <title>Portlet Entity Browser</title>
+      <short-title>Portlet Entity Browser</short-title>
+      <keywords>applications,apps,entity,manager</keywords>
+    </portlet-info>
+  </portlet>
+  <portlet id="PortletEntityEditorPortlet">
+    <init-param>
+        <description>This parameter sets the template used in view mode.</description>
+        <name>ViewPage</name>
+            <value>/WEB-INF/view/pemp/editor_view.vm</value>
+     </init-param>
+    <portlet-name>PortletEntityEditorPortlet</portlet-name>
+    <display-name>Portlet Entity Browser</display-name>
+    <description>Provides for editing of portlet enitites</description>
+    <portlet-class>org.apache.jetspeed.portlets.entityeditor.PortletEntityEditorPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>
+    <portlet-info>
+      <title>Portlet Entity Editor</title>
+      <short-title>Portlet Entity Editor</short-title>
+      <keywords>applications,apps,entity,manager</keywords>
+    </portlet-info>
+  </portlet>
+
+<portlet id="StatisticsPortlet">
+    <init-param>
+        <description>This parameter sets the template used in view mode.</description>
+        <name>ViewPage</name>
+            <value>/WEB-INF/view/statistics/statistics.vm</value>
+     </init-param>
+    <portlet-name>StatisticsPortlet</portlet-name>
+    <display-name>Portal Statistics</display-name>
+    <description>Provides statistics about portal access by page, portlet, user</description>
+    <portlet-class>org.apache.jetspeed.portlets.statistics.StatisticsPortlet</portlet-class>
+    <expiration-cache>-1</expiration-cache>
+    <supports>
+      <mime-type>text/html</mime-type>
+      <portlet-mode>VIEW</portlet-mode>
+    </supports>
+    <supported-locale>en</supported-locale>
+    <portlet-info>
+      <title>Portal Statistics</title>
+      <short-title>Statistics</short-title>
+      <keywords>statistics,portlets,pages,access</keywords>
+    </portlet-info>
+  </portlet>
+
+</portlet-app>
+

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/security/chgpwd/change-password.jsp
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/security/chgpwd/change-password.jsp?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/security/chgpwd/change-password.jsp (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/security/chgpwd/change-password.jsp Thu Nov 24 18:24:19 2005
@@ -0,0 +1,98 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@page import="org.apache.jetspeed.request.RequestContext"%>
+<%@page import="org.apache.jetspeed.portlets.security.ChangePasswordPortlet"%>
+<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
+<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
+<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c_rt"%>
+<%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
+
+<portlet:defineObjects/>
+<fmt:setBundle basename="org.apache.jetspeed.portlets.security.resources.ChgPwdResources" />
+
+<c:choose>
+  <c:when test="${pageContext.request.userPrincipal != null}">
+
+    <c:set var="whyKey"><%=ChangePasswordPortlet.WHY%></c:set>
+    <c:set var="why" value="${requestScope[whyKey]}"/>
+    <c:set var="requiredKey"><%=ChangePasswordPortlet.REQUIRED%></c:set>
+    <c:set var="required" value="${requestScope[requiredKey]}"/>
+    <c:set var="errorMessagesKey"><%=ChangePasswordPortlet.ERROR_MESSAGES%></c:set>
+    <c:set var="errorMessages" value="${requestScope[errorMessagesKey]}"/>
+    
+    <c:if test="${why != null}">
+      <i><c:out value="${why}"/></i>
+      <br/>
+    </c:if>
+    <c:if test="${errorMessages != null}">
+    <ul>
+      <c:forEach items="${errorMessages}" var="error">
+        <li style="color:red"><c:out value="${error}"/></li>
+      </c:forEach>
+    </ul>
+    </c:if>
+
+    <c_rt:set var="passwordChangedKey" value="<%=ChangePasswordPortlet.PASSWORD_CHANGED%>"/>
+    <c:set var="p" value="${requestScope[passwordChangedKey]}"/>
+    <c:if test="${requestScope[passwordChangedKey] != null}">
+      <br>
+      <i><fmt:message key="chgpwd.message.passwordChanged"/></i>
+      <br><br>
+    </c:if>
+
+    <form method="POST" action='<portlet:actionURL/>'>
+      <table border="0">
+      <tr>
+        <td><fmt:message key="chgpwd.label.currentPassword"/></td>
+        <td><input type="password" size="30" name="<%=ChangePasswordPortlet.CURRENT_PASSWORD%>"></td>
+      </tr>
+      <tr>
+        <td><fmt:message key="chgpwd.label.newPassword"/></td>
+        <td><input type="password" size="30" name="<%=ChangePasswordPortlet.NEW_PASSWORD%>"></td>
+      </tr>
+      <tr>
+        <td><fmt:message key="chgpwd.label.newPasswordAgain"/></td>
+        <td><input type="password" size="30" name="<%=ChangePasswordPortlet.NEW_PASSWORD_AGAIN%>"></td>
+      </tr>
+      <tr>
+        <td colspan="2">
+          <input type="submit" value="<fmt:message key="chgpwd.label.save"/>">
+          <c:if test="${why != null}">
+            <c:choose>
+              <c:when test="${required == null}">
+                &nbsp;&nbsp;
+                <c_rt:set var="cancelItem" value="<%=ChangePasswordPortlet.CANCELLED%>"/>
+                <input type="checkbox" style="display:none" name="<c:out value="${cancelItem}"/>">
+                <input type="submit" 
+                       value="<fmt:message key="chgpwd.label.cancel"/>"
+                       onClick="this.form.<c:out value="${cancelItem}"/>.checked=true">
+              </c:when>
+              <c:otherwise>
+                <br/><br/>
+                <c_rt:set var="requestContext" value="<%=request.getAttribute(RequestContext.REQUEST_PORTALENV)%>"/>
+                <a href='<c:url context="${requestContext.request.contextPath}" value="/login/logout"/>'><fmt:message key="chgpwd.label.Logout"/></a>
+              </c:otherwise>
+            </c:choose>
+          </c:if>
+        </td>
+      </tr>
+      </table>
+    </form>
+  </c:when>
+  <c:otherwise>
+    <fmt:message key="chgpwd.error.notLoggedOn"/><br>
+  </c:otherwise>
+</c:choose>
\ No newline at end of file

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/security/groups/group-details.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/security/groups/group-details.vm?rev=348854&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/security/groups/group-details.vm (added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/security/groups/group-details.vm Thu Nov 24 18:24:19 2005
@@ -0,0 +1,119 @@
+#*
+Copyright 2004 The Apache Software Foundation
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*#
+
+#**
+
+@author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
+@version $Id: group-details.vm 348264 2005-11-22 22:06:45Z taylor $
+
+*#
+
+<script>
+function openWindow(pipeline)
+{	
+    var vWinUsers = window.open(pipeline, 'UserPicker', 'status=no,resizable=yes,width=200,height=300,scrollbars=yes');
+    vWinUsers.opener = self;
+	vWinUsers.focus();
+}
+</script>
+
+#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
+
+#if ($statusMsg)
+#parse ('/WEB-INF/view/status-include.vm')
+#end
+#if ($group)
+#set ($newGroup = "false")
+#else
+#set ($newGroup = "true")
+#end
+
+<form name='groupForm' action="$renderResponse.createActionURL()" method="post">
+<table>
+  <tr colspan="2" align="right">
+    <td nowrap class="portlet-section-alternate" align="right">$MESSAGES.getString('groupname')&nbsp;</td>
+    <td class="portlet-section-body" align="left">
+      <input type="text" name='group' size="40" value="$!group" 
+       class="portlet-form-field-label"
+      #if ($newGroup == "false") readonly #end
+      >
+    </td>
+  </tr>
+</table>
+
+#if ($newGroup == "true")
+<input type="submit" name="group.action.Save" value="$MESSAGES.getString('save')" class="portlet-form-button"/>
+#end
+</form>	      
+
+#if ($newGroup == "false")
+<form name='securityform' action="$renderResponse.createActionURL()" method="post">
+<table cellpadding=0 cellspacing=1 border=0 width='100%' >
+#if ($tableSize > 0)
+  <tr>
+    #foreach ($column in $title)      
+      <th align='center' class="portlet-section-header" nowrap width="260">
+        $column
+      </th>
+     <th class="portlet-section-header" width="10"></th>
+     <th width="100%"/>
+    #end
+  </tr>
+#end  
+  #foreach ( $user in $table )
+  <tr>
+    #if ($velocityCount % 2 == 0)
+       #set($rowstyle = "portlet-section-body")
+    #else
+       #set($rowstyle = "portlet-section-alternate")
+    #end  
+	  <td class="$rowstyle" nowrap width="260">
+	    <div align="center">$user</div>
+	  </td>
+	  <td class="$rowstyle" width="10">
+  	    <input type="checkbox" name="box_$user"/>
+	  </td>
+     <td width="100%"/>	  
+   </tr>
+  #end
+</table>
+
+<table>
+<tr>
+  <td>
+   <input type="submit" name="group.action.Add_New_Group" value="$MESSAGES.getString('addNewGroup')" class="portlet-form-button"  />
+  </td>
+  <td>
+   <input onclick="javascript:openWindow('$userChooser')" type="submit" name="group.action.Add_Users_To_Group" value="$MESSAGES.getString('adduserstogroup')" class="portlet-form-button"  />
+  </td>  
+#if ($tableSize > 0)  
+  <td>
+   <input type="submit" name="group.action.Remove_Checked_Users" value="$MESSAGES.getString('removecheckedusers')" class="portlet-form-button" />
+  </td>    
+#end
+  <td>
+   <input type="submit" name="group.action.Remove_Group" value="$MESSAGES.getString('removegroup')" class="portlet-form-button" />
+  </td>  
+</tr>
+</table>
+<input type='hidden' name='users'/>
+<input type='hidden' name='group' value='$group'/>
+
+</form>
+
+
+#end
+



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