portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r469638 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java
Date Tue, 31 Oct 2006 20:21:41 GMT
Author: smilek
Date: Tue Oct 31 12:21:40 2006
New Revision: 469638

URL: http://svn.apache.org/viewvc?view=rev&rev=469638
Log:
re-added javascript fnc defs for window.doRender and window.doAction (intend to get rid of
these soon) (this change is related to new management of html <head> content via HeaderResource
and HeaderAggregatorImpl)

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java?view=diff&rev=469638&r1=469637&r2=469638
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/desktop/impl/JetspeedDesktopImpl.java
Tue Oct 31 12:21:40 2006
@@ -133,6 +133,10 @@
                 desktopInitScript.append( "\", \"");
                 desktopInitScript.append( desktopContext.getDesktopThemeRootUrl() );
                 desktopInitScript.append( "\"); }" ).append( EOL );
+                desktopInitScript.append( "    function doRender(bindArgs,portletEntityId)
{ " );
+                desktopInitScript.append( "jetspeed.doRender(bindArgs,portletEntityId); }"
).append( EOL );
+                desktopInitScript.append( "    function doAction(bindArgs,portletEntityId)
{ " );
+                desktopInitScript.append( "jetspeed.doAction(bindArgs,portletEntityId); }"
).append( EOL );
                 desktopInitScript.append( "    dojo.addOnLoad( window.jsDesktopInit );" );
                 hr.addHeaderSectionFragment( "desktop.init", HeaderResource.HEADER_SECTION_DESKTOP_INIT,
desktopInitScript.toString() );
             }



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