Author: smilek
Date: Tue Dec 5 16:17:18 2006
New Revision: 482839
URL: http://svn.apache.org/viewvc?view=rev&rev=482839
Log:
added jetspeed.widget.SiteManagerTreeRPCController for use by portal site
manager portlet
Added:
portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js
Modified:
portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm
portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/manifest.js
Modified:
portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm?view=diff&rev=482839&r1=482838&r2=482839
==============================================================================
---
portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm
(original)
+++
portals/jetspeed-2/trunk/applications/j2-admin/src/webapp/WEB-INF/view/site/site-view.vm
Tue Dec 5 16:17:18 2006
@@ -86,7 +86,7 @@
</form>
</div>
-<div dojoType="TreeRPCController"
+<div dojoType="jetspeed:SiteManagerTreeRPCController"
RPCUrl="${rooturl}/ajaxapi?action=getfolderlist"
widgetId="treeController"
DNDController="create">
Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/manifest.js
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/manifest.js?view=diff&rev=482839&r1=482838&r2=482839
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/manifest.js
(original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/manifest.js Tue Dec
5 16:17:18 2006
@@ -25,7 +25,8 @@
"portletdefcontainer": "jetspeed.widget.PortletDefContainer",
"portletwindow": "jetspeed.widget.PortletWindow",
"portletwindowresizehandle":
"jetspeed.widget.PortletWindowResizeHandle",
- "portletdefcontaineritem":
"jetspeed.widget.PortletDefContainerItem"
+ "portletdefcontaineritem":
"jetspeed.widget.PortletDefContainerItem",
+ "sitemanagertreerpccontroller":
"jetspeed.widget.SiteManagerTreeRPCController"
}
};
Added:
portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js
URL:
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js?view=auto&rev=482839
==============================================================================
---
portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js
(added)
+++
portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/SiteManagerTreeRPCController.js
Tue Dec 5 16:17:18 2006
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+
+dojo.provide("jetspeed.widget.SiteManagerTreeRPCController");
+
+dojo.require("dojo.widget.TreeRPCController");
+
+jetspeed.widget.SiteManagerTreeRPCController = function()
+{
+ this.widgetType = "SiteManagerTreeRPCController";
+ dojo.widget.TreeRPCController.call(this);
+};
+
+dojo.inherits( jetspeed.widget.SiteManagerTreeRPCController,
dojo.widget.TreeRPCController );
+
+dojo.lang.extend( jetspeed.widget.SiteManagerTreeRPCController,
+{
+ doRemoveNode: function(node, callObj, callFunc)
+ {
+ },
+ doCreateChild: function(parent, index, output, callObj, callFunc)
+ {
+ }
+});
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]