taylor 2004/09/15 15:46:39
Modified: applications/pam/src/webapp/WEB-INF web.xml portlet.xml
Log:
rough start on some admin portlets
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.7 +69 -0 jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/web.xml
Index: web.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/web.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- web.xml 2 Jul 2004 03:57:05 -0000 1.6
+++ web.xml 15 Sep 2004 22:46:39 -0000 1.7
@@ -20,6 +20,75 @@
<display-name>Portlet Application Manager Portlets</display-name>
<description>Portlet Application Manager Portlets</description>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.application.CONFIG_FILES</param-name>
+ <param-value>/WEB-INF/faces-config.xml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>net.sourceforge.myfaces.ALLOW_JAVASCRIPT</param-name>
+ <param-value>true</param-value>
+ <description>
+ This parameter tells MyFaces if javascript code should be allowed in the
+ rendered HTML output.
+ If javascript is allowed, command_link anchors will have javascript code
+ that submits the corresponding form.
+ If javascript is not allowed, the state saving info and nested
parameters
+ will be added as url parameters.
+ Default: "true"
+ </description>
+ </context-param>
+
+ <context-param>
+ <param-name>net.sourceforge.myfaces.DETECT_JAVASCRIPT</param-name>
+ <param-value>false</param-value>
+ <description>
+ This parameter tells MyFaces if javascript code should be allowed in the
+ rendered HTML output.
+ If javascript is allowed, command_link anchors will have javascript code
+ that submits the corresponding form.
+ If javascript is not allowed, the state saving info and nested
parameters
+ will be added as url parameters.
+ Default: "false"
+
+ Setting this param to true should be combined with STATE_SAVING_METHOD
"server" for
+ best results.
+
+ This is an EXPERIMENTAL feature. You also have to enable the detector
filter/filter mapping below to get
+ JavaScript detection working.
+ </description>
+ </context-param>
+
+ <context-param>
+ <param-name>net.sourceforge.myfaces.PRETTY_HTML</param-name>
+ <param-value>true</param-value>
+ <description>
+ If true, rendered HTML code will be formatted, so that it is "human
readable".
+ i.e. additional line separators and whitespace will be written, that do
not
+ influence the HTML code.
+ Default: "true"
+ </description>
+ </context-param>
+
+ <!-- Listener, that does all the startup work (configuration, init). -->
+ <listener>
+
<listener-class>net.sourceforge.myfaces.webapp.StartupServletContextListener</listener-class>
+ </listener>
+
+ <!-- Faces Servlet -->
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <!-- extension mapping -->
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
</web-app>
1.8 +72 -0
jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/portlet.xml
Index: portlet.xml
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/portlet.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- portlet.xml 9 Sep 2004 22:25:30 -0000 1.7
+++ portlet.xml 15 Sep 2004 22:46:39 -0000 1.8
@@ -65,5 +65,77 @@
</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.myfaces.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="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>
+ <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.portals.bridges.myfaces.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>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-app>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]