incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r178031 - in /incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF: jetspeed-portlet.xml portlet.xml web.xml
Date Mon, 23 May 2005 21:20:34 GMT
Author: clombart
Date: Mon May 23 14:20:33 2005
New Revision: 178031

URL: http://svn.apache.org/viewcvs?rev=178031&view=rev
Log:
Use the graffito framework

Added:
    incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/jetspeed-portlet.xml
    incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/portlet.xml
    incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/web.xml

Added: incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/jetspeed-portlet.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/jetspeed-portlet.xml?rev=178031&view=auto
==============================================================================
--- incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/jetspeed-portlet.xml
(added)
+++ incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/jetspeed-portlet.xml
Mon May 23 14:20:33 2005
@@ -0,0 +1,27 @@
+<?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="graffito-test" 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">
+    
+    <portlet>
+        <portlet-name>graffitoBrowser</portlet-name>
+        <dc:title>Graffito Browser Portlet</dc:title>
+        <dc:creator>Graffito Team</dc:creator>
+    </portlet>	
+</portlet-app>
\ No newline at end of file

Added: incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/portlet.xml?rev=178031&view=auto
==============================================================================
--- incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/portlet.xml (added)
+++ incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/portlet.xml Mon May 23
14:20:33 2005
@@ -0,0 +1,74 @@
+<?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="graffito-browser" version="1.0">
+	<portlet id="graffitoBrowser">
+		<description>Graffito Content Browser Portlet</description>
+		<portlet-name>graffitoBrowser</portlet-name>
+		<display-name>Graffito Browser</display-name>
+		<portlet-class>org.apache.portals.graffito.portlets.browser.BrowserPortlet</portlet-class>
	
+		<init-param>
+			<name>AllowPreferences</name>
+			<value>true</value>
+		</init-param>		
+		<init-param>
+			<name>HelpPage</name>
+			<value>/WEB-INF/view/help.vm</value>
+		</init-param>
+		<init-param>
+			<name>PortletPageConfig</name>
+			<value>/WEB-INF/pages.xml</value>
+		</init-param>		
+		<init-param>
+			<name>UploadTempFolder</name>
+			<value>./upload</value>
+		</init-param>				
+		<init-param>
+			<name>ViewerServlet</name>
+			<value>viewer</value>
+		</init-param>					
+		<init-param>
+			<name>DocumentTypes</name>
+			<value>document.type.upload,document.type.text,document.type.html</value>
+		</init-param>
+		<init-param>
+			<name>DocumentLanguages</name>			
+			<value>document.en,document.fr</value>
+		</init-param>			
+		<expiration-cache>-1</expiration-cache>
+		<supports>
+			<mime-type>text/html</mime-type>
+			<portlet-mode>VIEW</portlet-mode>
+			<portlet-mode>EDIT</portlet-mode>
+			<portlet-mode>HELP</portlet-mode>
+		</supports>
+		<supported-locale>en</supported-locale>
+		<supported-locale>fr</supported-locale>
+		<resource-bundle>org.apache.portals.graffito.portlets.browser.resources.messages</resource-bundle>
+		<portlet-preferences>
+			<preference>
+				<name>graffito.content.scope</name>
+				<value>/graffito</value>
+			</preference>
+		</portlet-preferences>
+	    <portlet-info>
+		  <title>Graffito Browser</title>
+	      <short-title>Graffito Browser</short-title>
+		  <keywords>graffito, cms</keywords>
+	    </portlet-info>		
+	</portlet>  
+</portlet-app>
+

Added: incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/web.xml?rev=178031&view=auto
==============================================================================
--- incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/web.xml (added)
+++ incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/web.xml Mon May 23 14:20:33
2005
@@ -0,0 +1,61 @@
+<?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>Graffito Browser</display-name>
+	<description>Graffito Browser Application</description>
+	<servlet>
+		<servlet-name>JetspeedContainer</servlet-name>
+		<display-name>Jetspeed Container</display-name>
+		<description>MVC Servlet for Jetspeed Portlet Applications</description>
+		<servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
+	</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>
+	<!-- Define Velocity Servlet -->
+	<servlet>
+		<servlet-name>viewer</servlet-name>
+		<servlet-class>org.apache.portals.graffito.servlets.GraffitoViewerServlet</servlet-class>
+		<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>
+	<servlet-mapping>
+		<servlet-name>viewer</servlet-name>
+		<url-pattern>/viewer</url-pattern>
+	</servlet-mapping>
+	<servlet-mapping>
+		<servlet-name> JetspeedContainer </servlet-name>
+		<url-pattern> /container/* </url-pattern>
+	</servlet-mapping>
+</web-app>
\ No newline at end of file



Mime
View raw message