portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r691912 - /portals/jetspeed-2/applications/j2-admin/trunk/src/webapp/WEB-INF/portlet.xml
Date Thu, 04 Sep 2008 08:12:43 GMT
Author: vkumar
Date: Thu Sep  4 01:12:42 2008
New Revision: 691912

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

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/webapp/WEB-INF/portlet.xml

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/webapp/WEB-INF/portlet.xml?rev=691912&r1=691911&r2=691912&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/webapp/WEB-INF/portlet.xml (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/webapp/WEB-INF/portlet.xml Thu Sep
 4 01:12:42 2008
@@ -2043,6 +2043,52 @@
       <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>            



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