portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r691922 - /portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/webapp/WEB-INF/portlet.xml
Date Thu, 04 Sep 2008 08:18:02 GMT
Author: vkumar
Date: Thu Sep  4 01:18:02 2008
New Revision: 691922

URL: http://svn.apache.org/viewvc?rev=691922&view=rev
Log:
Fixing issue JS2-889.

Modified:
    portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/webapp/WEB-INF/portlet.xml

Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/webapp/WEB-INF/portlet.xml?rev=691922&r1=691921&r2=691922&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/webapp/WEB-INF/portlet.xml
(original)
+++ portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/applications/j2-admin/src/webapp/WEB-INF/portlet.xml
Thu Sep  4 01:18:02 2008
@@ -1896,7 +1896,53 @@
       <keywords>admin,config,custom</keywords>
     </portlet-info>
   </portlet>
-  
+  <portlet>
+        <description>Content Viewer displays the content of an HTML, PDF, or other
file types from any where on the file system, or relative to the portlet application.</description>
+        <portlet-name>ContentViewer</portlet-name>
+        <display-name>Content Viewer</display-name>
+        <portlet-class>org.apache.portals.gems.file.FilePortlet</portlet-class>
+        <init-param>
+            <name>portlet-icon</name>
+            <value>folder-remote.png</value>
+        </init-param>   
+        <init-param>
+        	<name>use-language</name>
+        	<value>true</value>
+        </init-param>                                     
+        <supports>
+            <mime-type>text/html</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+        <supports>
+            <mime-type>application/pdf</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+        <supports>
+            <mime-type>application/zip</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+         <supports>
+            <mime-type>text/xml</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>	       
+        <supports>
+            <mime-type>text/csv</mime-type>
+            <portlet-mode>VIEW</portlet-mode>
+        </supports>
+        <supported-locale>en</supported-locale>
+        <portlet-info>
+            <title>Content Viewer</title>
+            <short-title>Content</short-title>
+            <keywords>tools,CMS,content,viewer,file</keywords>
+        </portlet-info>
+        <portlet-preferences>
+            <preference>
+                <name>file</name>
+                <value>/_content/menu.html</value>
+            </preference>
+        </portlet-preferences>
+   </portlet>  
+
    <custom-portlet-mode>
         <description>a Custom Edit_defaults Mode</description>            
         <portlet-mode>edit_defaults</portlet-mode>



---------------------------------------------------------------------
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