portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r472273 [1/6] - in /portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed: ./ desktop/ widget/ windowicons/ windowthemes/ windowthemes/blueocean/ windowthemes/blueocean/css/ windowthemes/blueocean/images/ windowthemes/blueocean/images/des...
Date Tue, 07 Nov 2006 21:18:47 GMT
Author: smilek
Date: Tue Nov  7 13:18:43 2006
New Revision: 472273

URL: http://svn.apache.org/viewvc?view=rev&rev=472273
Log:
src/webapp/javascript/desktop moved to src/webapp/javascript/jetspeed

Added:
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/compatibility.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/core.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/manifest.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/EditorTable.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/HtmlFloatingPane.css
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/HtmlFloatingPane.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/HtmlTaskBarItemTemplate.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/MultiRowHeaderTable.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortalAccordionContainer.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortalTabContainer.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortalTaskBar.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletDefContainer.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/TitlePane.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/test-div-size.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/AUTHORS
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/COPYING
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/README
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/application-certificate.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/application-x-executable.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/applications-internet.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/audio-x-generic.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/blue-metalic-28.jpg
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/blue-metalic-endcap-28.jpg
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/document.gif   (with
props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/font-x-generic.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/image-x-generic.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/jetspeed-desktop-window-visuals.zip
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/package-x-generic.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/test-window-icons.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/text-html.png   (with
props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/text-x-generic-template.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/text-x-generic.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/text-x-script.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/video-x-generic.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/x-office-address-book.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/x-office-calendar.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/x-office-document.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/x-office-presentation.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowicons/x-office-spreadsheet.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/css/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/css/PortletDefContainer.css
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/css/styles.css
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/blue-metalic-28.jpg
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/blue-metalic-endcap-28.jpg
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/button_background.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/close.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/customize.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/desktop/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/desktop/close.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/desktop/maximize.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/desktop/minimize.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/desktop/refresh.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/desktop/resizeHandle.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/desktop/restore.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/edit.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/footer_background.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/header_background.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/help.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/icon_arrowdoc_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/icon_arrowfolderclosed1_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/icon_arrowfolderopen2_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/icon_error_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/icon_info_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/icon_success_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/icon_warning_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/info.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/info1.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/leftnavbg.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/list-add.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/maximized.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/minimized.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/print.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/restore.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/stripe_blue_m3.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/stripe_blue_m4.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/subheader_background.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/title_background.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/images/view.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/templates/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/templates/PortletDefContainer.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/blueocean/templates/PortletDefContainerItemTemplate.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/css/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/css/PortletDefContainer.css
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/css/styles.css
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/blue-metalic-28.jpg
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/blue-metalic-endcap-28.jpg
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/close.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/customize.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/close.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/customize.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/edit.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/help.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/maximize.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/minimize.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/print.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/resizeHandle.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/restore.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/desktop/view.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/edit.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/help.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/icon_arrowdoc_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/icon_arrowfolderclosed1_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/icon_arrowfolderopen2_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/icon_error_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/icon_info_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/icon_success_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/icon_warning_sml.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/info.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/info1.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/leftnavbg.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/list-add.png
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/maximized.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/minimized.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/nw_maj_rond.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/print.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/restore.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/sw_med_rond.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/images/view.gif
  (with props)
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/templates/
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/templates/PortletDefContainer.html
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/windowthemes/tigris/templates/PortletDefContainerItemTemplate.html

Added: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/compatibility.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/compatibility.js?view=auto&rev=472273
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/compatibility.js (added)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/compatibility.js Tue Nov
 7 13:18:43 2006
@@ -0,0 +1,146 @@
+/*
+ * Copyright 2000-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+// jetspeed javascript to help support portlets in both /portal and /desktop
+
+if ( window.dojo )
+{
+    dojo.provide( "jetspeed.desktop.compatibility" );
+}
+
+// ... jetspeed base object
+if ( ! window.jetspeed )
+    jetspeed = {};
+
+
+if ( ! window.dojo )
+{
+    jetspeed.no_dojo_load_notifying = false;
+    jetspeed.no_dojo_post_load = false;
+    jetspeed.pageLoadedListeners = [];
+
+    window.onload = function()
+    {
+        if ( ! window.dojo )
+        {
+            jetspeed.no_dojo_load_notifying = true;
+            jetspeed.no_dojo_post_load = true;
+            var pll = jetspeed.pageLoadedListeners;
+	        for( var x=0; x < pll.length; x++ )
+            {
+		        pll[x]();
+	        }
+            jetspeed.pageLoadedListeners = [];
+        }
+    };
+};
+
+/*
+Call styles:
+	jetspeed.addOnLoad( functionPointer )
+	jetspeed.addOnLoad( object, "functionName" )
+*/
+jetspeed.addOnLoad = function( obj, fcnName )
+{
+    if ( window.dojo )
+    {
+        if ( arguments.length == 1 )
+            dojo.addOnLoad( obj );
+        else
+            dojo.addOnLoad( obj, fcnName );
+    }
+    else
+    {
+	    if ( arguments.length == 1 )
+        {
+		    jetspeed.pageLoadedListeners.push(obj);
+	    }
+        else if( arguments.length > 1 )
+        {
+		    jetspeed.pageLoadedListeners.push( function()
+            {
+			    obj[fcnName]();
+		    } );
+	    }
+        if ( jetspeed.no_dojo_post_load && ! jetspeed.no_dojo_load_notifying )
+        {
+		    jetspeed.callPageLoaded();
+	    }
+    }
+};
+
+jetspeed.callPageLoaded = function()
+{
+	if( typeof setTimeout == "object" )  // IE
+    {
+		setTimeout( "jetspeed.pageLoaded();", 0 );
+	}
+    else
+    {
+		jetspeed.pageLoaded();
+	}
+};
+
+jetspeed.printobj = function( obj )
+{
+    var props = [];
+    for( var prop in obj )
+    {
+        try
+        {
+            props.push( prop + ': ' + obj[prop] );
+        }
+        catch(E)
+        {
+            props.push( prop + ': ERROR - ' + E.message );
+        }
+    }
+    props.sort();
+    var buff = "";
+    for( var i = 0; i < props.length; i++ )
+    {
+        if ( buff.length > 0 )
+            buff += "\r\n";
+        buff += props[i];
+    }
+    return buff;
+};
+
+jetspeed.println = function( line )
+{
+    try
+    {
+        var console = document.getElementById( "debug_container" );
+        if( !console )
+        {
+            console = document.getElementsByTagName( "body" )[0] || document.body;
+        }
+        var div = document.createElement( "div" );
+        div.appendChild( document.createTextNode( line ) );
+        console.appendChild( div );
+    }
+    catch (e)
+    {
+        try
+        {   // safari needs the output wrapped in an element for some reason
+            document.write("<div>" + line + "</div>");
+        }
+        catch(e2)
+        {
+            window.status = line;
+        }
+    }
+};



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