Author: smilek
Date: Fri Dec 14 11:24:38 2007
New Revision: 604269
URL: http://svn.apache.org/viewvc?rev=604269&view=rev
Log:
changed flash portlet sample to use org.apache.portals.gems.flash.FlashPortlet
Modified:
portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml
Modified:
portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml?rev=604269&r1=604268&r2=604269&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml
(original)
+++ portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/portlet.xml
Fri Dec 14 11:24:38 2007
@@ -1039,7 +1039,10 @@
<description>Hosts a Flash or Flex application inside a portlet. Go to
edit mode to configure your Flash URL source.</description>
<portlet-name>FlashPortlet</portlet-name>
<display-name>Flash or Flex</display-name>
-
<portlet-class>org.apache.portals.applications.desktop.FlashPortlet</portlet-class>
+
<portlet-class>org.apache.portals.gems.flash.FlashPortlet</portlet-class>
+
+ <!-- using default templates from gems jar for ViewPage and EditPage -
see org/apache/portals/gems/flash/templates/ -->
+ <!--
<init-param>
<name>ViewPage</name>
<value>/WEB-INF/view/flash-demo.vm</value>
@@ -1048,10 +1051,33 @@
<name>EditPage</name>
<value>/WEB-INF/view/edit-prefs.vm</value>
</init-param>
+ -->
<init-param>
<name>portlet-icon</name>
<value>applications-multimedia.png</value>
- </init-param>
+ </init-param>
+
+ <!-- use semicolon to separate each pair and equals to separate name
and value for object-params
+ (url-encoding should not be used except for non-delimiter
occurrences of ';' and '=' chars) -->
+ <init-param>
+ <name>object-params</name>
+ <value></value>
+ </init-param>
+
+ <!-- use semicolon to separate each pair and equals to separate name
and value for object-attributes
+ (url-encoding should not be used except for non-delimiter
occurrences of ';' and '=' chars) -->
+ <init-param>
+ <name>object-attributes</name>
+ <value></value>
+ </init-param>
+
+ <!-- use semicolon to separate each pair and equals to separate name
and value for flashvars
+ (url-encoding should not be used except for non-delimiter
occurrences of ';' and '=' chars) -->
+ <init-param>
+ <name>flashvars</name>
+ <value></value>
+ </init-param>
+
<expiration-cache>120</expiration-cache>
<supports>
<mime-type>text/html</mime-type>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]