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/04/14 11:53:02 UTC

svn commit: r764727 - /portals/applications/demo/src/main/webapp/WEB-INF/portlet.xml

Author: woonsan
Date: Tue Apr 14 09:53:02 2009
New Revision: 764727

URL: http://svn.apache.org/viewvc?rev=764727&view=rev
Log:
JS2-961: Changes init params of GoogleMaps portlet and Flash portlet.
Every urls based on portal context path were moved into portlet's init-params now.

Modified:
    portals/applications/demo/src/main/webapp/WEB-INF/portlet.xml

Modified: portals/applications/demo/src/main/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewvc/portals/applications/demo/src/main/webapp/WEB-INF/portlet.xml?rev=764727&r1=764726&r2=764727&view=diff
==============================================================================
--- portals/applications/demo/src/main/webapp/WEB-INF/portlet.xml (original)
+++ portals/applications/demo/src/main/webapp/WEB-INF/portlet.xml Tue Apr 14 09:53:02 2009
@@ -914,7 +914,13 @@
         <description>Display a Google Map inside of a portlet. Edit mode configures preferences by city location, which is translated into GPS coordinates.</description>
         <portlet-name>GoogleMapsPortlet</portlet-name>
         <display-name>Google Maps Portlet</display-name>
-        <portlet-class>org.apache.portals.gems.googlemaps.GoogleMapsPortlet</portlet-class>        
+        <portlet-class>org.apache.portals.gems.googlemaps.GoogleMapsPortlet</portlet-class>
+        <!-- You need to change the following dojo.js url if the path is different in your enviornment.
+        By default, the following url is pointing to the default path of the default Jetspeed deployment. -->
+        <init-param>
+            <name>dojo.js.url</name>
+            <value>/jetspeed/javascript/dojo/dojo.js</value>
+        </init-param>        
         <init-param>
             <name>ViewPage</name>
             <value>/WEB-INF/other/googlemaps/GoogleMaps.vm</value>
@@ -1046,7 +1052,21 @@
             <name>flashvars</name>
             <value></value>
         </init-param>
+        
+        <!-- Change the swbobject.js url link below. This link will be used to generate html tags.
+        The following is just an example with default deployment of Jetspeed -->
+        <init-param>
+            <name>SwfObjectsLibUrl</name>
+            <value>/jetspeed/javascript/swfobject/swfobject.js</value>
+        </init-param>
 
+        <!-- Change the expressInstall.swf url link below. This link will be used to generate html tags.
+        The following is just an example with default deployment of Jetspeed -->
+        <init-param>
+            <name>ExpressInstallUrl</name>
+            <value>/jetspeed/javascript/swfobject/expressInstall.swf</value>
+        </init-param>
+        
         <expiration-cache>120</expiration-cache>
         <supports>
             <mime-type>text/html</mime-type>