You are viewing a plain text version of this content. The canonical link for it is here.
Posted to portalapps-dev@portals.apache.org by wo...@apache.org on 2009/12/17 14:40:59 UTC

svn commit: r891694 - /portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/portlet.xml

Author: woonsan
Date: Thu Dec 17 13:40:58 2009
New Revision: 891694

URL: http://svn.apache.org/viewvc?rev=891694&view=rev
Log:
APA-26: Adding custom portlet modes

Modified:
    portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/portlet.xml

Modified: portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewvc/portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/portlet.xml?rev=891694&r1=891693&r2=891694&view=diff
==============================================================================
--- portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/portlet.xml (original)
+++ portals/applications/dbbrowser/trunk/dbbrowser-war/src/main/webapp/WEB-INF/portlet.xml Thu Dec 17 13:40:58 2009
@@ -189,6 +189,28 @@
         <value>NAME</value>
       </preference>
     </portlet-preferences>
-  </portlet>  
+  </portlet>
+  
+  <custom-portlet-mode>
+    <description>Custom About Mode</description>
+    <portlet-mode>about</portlet-mode>
+  </custom-portlet-mode>
+  <custom-portlet-mode>
+    <description>Custom Config Mode</description>
+    <portlet-mode>config</portlet-mode>
+  </custom-portlet-mode>
+  <custom-portlet-mode>
+    <description>Custom Edit_defaults Mode</description>
+    <portlet-mode>edit_defaults</portlet-mode>
+  </custom-portlet-mode>
+  <custom-portlet-mode>
+    <description>Custom Preview Mode</description>
+    <portlet-mode>preview</portlet-mode>
+  </custom-portlet-mode>
+  <custom-portlet-mode>
+    <description>Custom Print Mode</description>
+    <portlet-mode>print</portlet-mode>
+  </custom-portlet-mode>
+  
 </portlet-app>