You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by jh...@apache.org on 2007/07/31 04:35:33 UTC
svn commit: r561217 -
/struts/struts2/branches/STRUTS_2_0_X/apps/portlet/src/main/webapp/WEB-INF/portlet.xml
Author: jholmes
Date: Mon Jul 30 19:35:32 2007
New Revision: 561217
URL: http://svn.apache.org/viewvc?view=rev&rev=561217
Log:
Fix formatting to be all spaces instead of a mix of spaces and tabs. Also fix init param comments that were incorrect.
Modified:
struts/struts2/branches/STRUTS_2_0_X/apps/portlet/src/main/webapp/WEB-INF/portlet.xml
Modified: struts/struts2/branches/STRUTS_2_0_X/apps/portlet/src/main/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/apps/portlet/src/main/webapp/WEB-INF/portlet.xml?view=diff&rev=561217&r1=561216&r2=561217
==============================================================================
--- struts/struts2/branches/STRUTS_2_0_X/apps/portlet/src/main/webapp/WEB-INF/portlet.xml (original)
+++ struts/struts2/branches/STRUTS_2_0_X/apps/portlet/src/main/webapp/WEB-INF/portlet.xml Mon Jul 30 19:35:32 2007
@@ -1,118 +1,128 @@
-<portlet-app version="1.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" id="struts-portlet">
- <portlet id="StrutsPortlet">
- <description xml:lang="EN">Struts Test Portlet</description>
- <portlet-name>StrutsPortlet</portlet-name>
- <display-name xml:lang="EN">Struts Test Portlet</display-name>
-
- <portlet-class>org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher</portlet-class>
-
- <init-param>
- <!-- The view mode namespace. Maps to a namespace in the xwork config file -->
- <name>viewNamespace</name>
- <value>/view</value>
- </init-param>
- <init-param>
- <!-- The default action to invoke in view mode -->
- <name>defaultViewAction</name>
- <value>index</value>
- </init-param>
- <init-param>
- <!-- The view mode namespace. Maps to a namespace in the xwork config file -->
- <name>editNamespace</name>
- <value>/edit</value>
- </init-param>
- <init-param>
- <!-- The default action to invoke in view mode -->
- <name>defaultEditAction</name>
- <value>index</value>
- </init-param>
- <init-param>
- <!-- The view mode namespace. Maps to a namespace in the xwork config file -->
- <name>helpNamespace</name>
- <value>/help</value>
- </init-param>
- <init-param>
- <!-- The default action to invoke in view mode -->
- <name>defaultHelpAction</name>
- <value>index</value>
- </init-param>
-
-
-
- <expiration-cache>0</expiration-cache>
-
- <supports>
- <mime-type>text/html</mime-type>
- <portlet-mode>edit</portlet-mode>
- <portlet-mode>help</portlet-mode>
- </supports>
-
- <supported-locale>en</supported-locale>
-
- <portlet-info>
- <title>My StrutsPortlet portlet</title>
- <short-title>SP</short-title>
- <keywords>struts,portlet</keywords>
- </portlet-info>
- </portlet>
+<portlet-app
+ version="1.0"
+ xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+ id="struts-portlet">
+
+ <portlet id="StrutsPortlet">
+ <description xml:lang="EN">Struts Test Portlet</description>
+ <portlet-name>StrutsPortlet</portlet-name>
+ <display-name xml:lang="EN">Struts Test Portlet</display-name>
+
+ <portlet-class>org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher</portlet-class>
+
+ <!-- The view mode namespace. Maps to a namespace in the Struts 2 config file. -->
+ <init-param>
+ <name>viewNamespace</name>
+ <value>/view</value>
+ </init-param>
+
+ <!-- The default action to invoke in view mode. -->
+ <init-param>
+ <name>defaultViewAction</name>
+ <value>index</value>
+ </init-param>
+
+ <!-- The edit mode namespace. Maps to a namespace in the Struts 2 config file. -->
+ <init-param>
+ <name>editNamespace</name>
+ <value>/edit</value>
+ </init-param>
+
+ <!-- The default action to invoke in edit mode. -->
+ <init-param>
+ <name>defaultEditAction</name>
+ <value>index</value>
+ </init-param>
+
+ <!-- The help mode namespace. Maps to a namespace in the Struts 2 config file. -->
+ <init-param>
+ <name>helpNamespace</name>
+ <value>/help</value>
+ </init-param>
+
+ <!-- The default action to invoke in help mode. -->
+ <init-param>
+ <name>defaultHelpAction</name>
+ <value>index</value>
+ </init-param>
+
+ <expiration-cache>0</expiration-cache>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>My StrutsPortlet portlet</title>
+ <short-title>SP</short-title>
+ <keywords>struts,portlet</keywords>
+ </portlet-info>
+ </portlet>
- <portlet id="StrutsPortlet2">
- <description xml:lang="EN">Struts Test Portlet2</description>
- <portlet-name>StrutsPortlet2</portlet-name>
- <display-name xml:lang="EN">Struts Test Portlet2</display-name>
-
- <portlet-class>org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher</portlet-class>
-
- <init-param>
- <!-- The view mode namespace. Maps to a namespace in the xwork config file -->
- <name>viewNamespace</name>
- <value>/view</value>
- </init-param>
- <init-param>
- <!-- The default action to invoke in view mode -->
- <name>defaultViewAction</name>
- <value>index</value>
- </init-param>
- <init-param>
- <!-- The view mode namespace. Maps to a namespace in the xwork config file -->
- <name>editNamespace</name>
- <value>/edit</value>
- </init-param>
- <init-param>
- <!-- The default action to invoke in view mode -->
- <name>defaultEditAction</name>
- <value>index</value>
- </init-param>
- <init-param>
- <!-- The view mode namespace. Maps to a namespace in the xwork config file -->
- <name>helpNamespace</name>
- <value>/help</value>
- </init-param>
- <init-param>
- <!-- The default action to invoke in view mode -->
- <name>defaultHelpAction</name>
- <value>index</value>
- </init-param>
-
-
-
- <expiration-cache>0</expiration-cache>
-
- <supports>
- <mime-type>text/html</mime-type>
- <portlet-mode>edit</portlet-mode>
- <portlet-mode>help</portlet-mode>
- </supports>
-
- <supported-locale>en</supported-locale>
-
- <portlet-info>
- <title>My StrutsPortlet portlet2</title>
- <short-title>SP2</short-title>
- <keywords>struts,portlet</keywords>
- </portlet-info>
- </portlet>
+ <portlet id="StrutsPortlet2">
+ <description xml:lang="EN">Struts Test Portlet2</description>
+ <portlet-name>StrutsPortlet2</portlet-name>
+ <display-name xml:lang="EN">Struts Test Portlet2</display-name>
+
+ <portlet-class>org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher</portlet-class>
+
+ <!-- The view mode namespace. Maps to a namespace in the Struts 2 config file. -->
+ <init-param>
+ <name>viewNamespace</name>
+ <value>/view</value>
+ </init-param>
+
+ <!-- The default action to invoke in view mode. -->
+ <init-param>
+ <name>defaultViewAction</name>
+ <value>index</value>
+ </init-param>
+
+ <!-- The edit mode namespace. Maps to a namespace in the Struts 2 config file. -->
+ <init-param>
+ <name>editNamespace</name>
+ <value>/edit</value>
+ </init-param>
+
+ <!-- The default action to invoke in edit mode. -->
+ <init-param>
+ <name>defaultEditAction</name>
+ <value>index</value>
+ </init-param>
+
+ <!-- The help mode namespace. Maps to a namespace in the Struts 2 config file. -->
+ <init-param>
+ <name>helpNamespace</name>
+ <value>/help</value>
+ </init-param>
+
+ <!-- The default action to invoke in help mode. -->
+ <init-param>
+ <name>defaultHelpAction</name>
+ <value>index</value>
+ </init-param>
+
+ <expiration-cache>0</expiration-cache>
+
+ <supports>
+ <mime-type>text/html</mime-type>
+ <portlet-mode>edit</portlet-mode>
+ <portlet-mode>help</portlet-mode>
+ </supports>
+
+ <supported-locale>en</supported-locale>
+
+ <portlet-info>
+ <title>My StrutsPortlet portlet2</title>
+ <short-title>SP2</short-title>
+ <keywords>struts,portlet</keywords>
+ </portlet-info>
+ </portlet>
</portlet-app>