portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r389211 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/url/impl/DesktopEncodingPortalURL.java
Date Mon, 27 Mar 2006 18:00:59 GMT
Author: taylor
Date: Mon Mar 27 10:00:57 2006
New Revision: 389211

URL: http://svn.apache.org/viewcvs?rev=389211&view=rev
Log:
pass in this ptr in actions

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/url/impl/DesktopEncodingPortalURL.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/url/impl/DesktopEncodingPortalURL.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/url/impl/DesktopEncodingPortalURL.java?rev=389211&r1=389210&r2=389211&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/url/impl/DesktopEncodingPortalURL.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/container/url/impl/DesktopEncodingPortalURL.java
Mon Mar 27 10:00:57 2006
@@ -24,7 +24,6 @@
 import javax.servlet.http.HttpServletRequest;
 
 import org.apache.jetspeed.PortalContext;
-import org.apache.jetspeed.container.ContainerConstants;
 import org.apache.jetspeed.container.state.NavigationalState;
 import org.apache.jetspeed.container.url.BasePortalURL;
 import org.apache.pluto.om.window.PortletWindow;
@@ -129,7 +128,7 @@
         {
             if (this.javascriptDoAction != null)
             {
-                buffer.append(this.javascriptDoAction + "(\"");
+                buffer.append(this.javascriptDoAction + "('");
             }            
         }
         else
@@ -165,9 +164,9 @@
             {
                 if (window != null)
                 {
-                    buffer.append("\",\"");
+                    buffer.append("','");
                     buffer.append(window.getPortletEntity().getId());
-                    buffer.append("\"");                
+                    buffer.append("', this");                
                 }
                 buffer.append(")");
             }



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