portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r348264 [2/2] - in /portals/jetspeed-2/trunk/applications/jetspeed-admin: ./ src/ src/java/ src/java/org/ src/java/org/apache/ src/java/org/apache/jetspeed/ src/java/org/apache/jetspeed/portlets/ src/java/org/apache/jetspeed/portlets/entity...
Date Tue, 22 Nov 2005 22:07:12 GMT
Added: portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/WEB-INF/web.xml?rev=348264&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/WEB-INF/web.xml (added)
+++ portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/WEB-INF/web.xml Tue Nov
22 14:06:45 2005
@@ -0,0 +1,133 @@
+<?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.
+-->
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+                         "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+    <display-name>Jetspeed-2 Portal Administration Portlets</display-name>
+    <description>Administration Portlets for the Jetspeed-2 Enterprise Portal</description>
+
+	<context-param>
+    	<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+    	<param-value>server</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>org.apache.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>org.apache.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>org.apache.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>org.apache.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>
+  
+    <!-- Define Velocity Servlet -->
+	<servlet>
+		<servlet-name>velocity</servlet-name>
+		<servlet-class>org.apache.portals.bridges.velocity.BridgesVelocityViewServlet</servlet-class>
+		<init-param>
+			<param-name>org.apache.velocity.toolbox</param-name>
+			<param-value>/WEB-INF/velocity/toolbox.xml</param-value>
+		</init-param>
+		<init-param>
+			<param-name>org.apache.velocity.properties</param-name>
+			<param-value>/WEB-INF/velocity/velocity.properties</param-value>
+		</init-param>
+		<load-on-startup>10</load-on-startup>
+	</servlet>
+  
+  	<!-- Map *.vm files to Velocity  -->
+	<servlet-mapping>
+		<servlet-name>velocity</servlet-name>
+		<url-pattern>*.vm</url-pattern>
+	</servlet-mapping>	
+
+  	<!-- extension mapping -->
+  	<servlet-mapping>
+  		<servlet-name>Faces Servlet</servlet-name>
+   		<url-pattern>*.jsf</url-pattern>
+  	</servlet-mapping>
+
+	<!-- Tag libraries -->
+	<taglib>
+		<taglib-uri>c.tld</taglib-uri>
+		<taglib-location>/WEB-INF/c.tld</taglib-location>
+	</taglib>
+	<taglib>
+		<taglib-uri>fmt.tld</taglib-uri>
+		<taglib-location>/WEB-INF/fmt.tld</taglib-location>
+	</taglib>
+	<taglib>
+		<taglib-uri>sql.tld</taglib-uri>
+		<taglib-location>/WEB-INF/sql.tld</taglib-location>
+	</taglib>
+	<taglib>
+		<taglib-uri>x.tld</taglib-uri>
+		<taglib-location>/WEB-INF/x.tld</taglib-location>
+	</taglib>
+  
+</web-app>

Modified: portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/images/Thumbs.db
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/images/Thumbs.db?rev=348264&r1=345531&r2=348264&view=diff
==============================================================================
Binary files - no diff available.

Added: portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/images/tree/Thumbs.db
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/images/tree/Thumbs.db?rev=348264&view=auto
==============================================================================
Binary file - no diff available.

Propchange: portals/jetspeed-2/trunk/applications/jetspeed-admin/src/webapp/images/tree/Thumbs.db
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: portals/jetspeed-2/trunk/applications/jetspeed-admin/xdocs/navigation.xml
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/jetspeed-admin/xdocs/navigation.xml?rev=348264&view=auto
==============================================================================
--- portals/jetspeed-2/trunk/applications/jetspeed-admin/xdocs/navigation.xml (added)
+++ portals/jetspeed-2/trunk/applications/jetspeed-admin/xdocs/navigation.xml Tue Nov 22 14:06:45
2005
@@ -0,0 +1,25 @@
+<?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.
+-->
+<project>
+    <body>
+        <links>
+            <item name="Jetspeed 2" href="../../index.html" />
+            <!-- Cannot access ${pom.id}... Hard coding pdf name. -->
+            <item name="PDF Documentation" href="/j2-admin.pdf" img="../../images/pdf.gif"
/>
+        </links>
+    </body>
+</project>



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


Mime
View raw message