From e76ea01d9c6cd657610bfd59535157672ae6f5fb Mon Sep 17 00:00:00 2001 From: pb Date: Sat, 24 Apr 2010 21:52:15 +0000 Subject: [PATCH] =?UTF-8?q?Portlett=20WorkspeceDirectory=20nach=20ccm-ldn-?= =?UTF-8?q?rss=20verschoben,=20so=20dass=20keine=20Abh=C3=A4ngigkeit=20meh?= =?UTF-8?q?r=20besteht.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RssFeedPortlet bleibt in Portal und funkitioniert unabhängig von ccm-ldn-rss. Kann verwendet werden, um externe RSS Feeds anzuzeigen. Portlent NavigationDirectory nach ccm-ldn-navigation verschoben, wo auch andere Portlets vorhanden sind. Kleine Formatierungskorrekturen. git-svn-id: https://svn.libreccm.org/ccm/trunk@391 8810af33-2d31-482b-a856-94f89814c4df --- ccm-ldn-portal/application.xml | 2 + .../portlet/NavigationDirectoryPortlet.pdl | 26 --- .../portlet/WorkspaceDirectoryPortlet.pdl | 21 --- ccm-ldn-portal/src/ccm-ldn-portal.load | 3 + .../arsdigita/london/portal/Initializer.java | 60 +++--- .../com/arsdigita/london/portal/Loader.java | 55 +++--- .../portlet/NavigationDirectoryPortlet.java | 119 ------------ .../portlet/WorkspaceDirectoryChannel.java | 99 ---------- .../portlet/WorkspaceDirectoryPortlet.java | 46 ----- ...rtletConfigFormSection.java.nolongerInUse} | 0 .../ui/WorkspaceDirectoryComponent.java | 39 ---- .../portal/ui/admin/ApplicationList.java | 23 ++- .../ui/admin/ApplicationSelectionModel.java | 63 +++++-- .../london/portal/ui/admin/SiteMapPane.java | 20 +- .../ContentDirectoryPortletEditor.java | 53 +++++- .../ContentDirectoryPortletRenderer.java | 45 ++++- .../ui/portlet/FreeformHTMLPortletEditor.java | 4 +- .../NavigationDirectoryPortletEditor.java | 160 ---------------- .../NavigationDirectoryPortletRenderer.java | 175 ------------------ .../ui/portlet/RSSFeedPortletEditorForm.java | 64 ++++++- .../WorkspaceDirectoryPortletRenderer.java | 50 ----- .../CreateNavigationDirectoryPortlet.java | 4 +- .../templates/ccm-ldn-portal/workspaces.jsp | 2 +- 23 files changed, 297 insertions(+), 836 deletions(-) delete mode 100644 ccm-ldn-portal/pdl/com/arsdigita/london/portal/portlet/NavigationDirectoryPortlet.pdl delete mode 100755 ccm-ldn-portal/pdl/com/arsdigita/london/portal/portlet/WorkspaceDirectoryPortlet.pdl delete mode 100644 ccm-ldn-portal/src/com/arsdigita/london/portal/portlet/NavigationDirectoryPortlet.java delete mode 100755 ccm-ldn-portal/src/com/arsdigita/london/portal/portlet/WorkspaceDirectoryChannel.java delete mode 100755 ccm-ldn-portal/src/com/arsdigita/london/portal/portlet/WorkspaceDirectoryPortlet.java rename ccm-ldn-portal/src/com/arsdigita/london/portal/ui/{PortletConfigFormSection.java => PortletConfigFormSection.java.nolongerInUse} (100%) delete mode 100755 ccm-ldn-portal/src/com/arsdigita/london/portal/ui/WorkspaceDirectoryComponent.java delete mode 100644 ccm-ldn-portal/src/com/arsdigita/london/portal/ui/portlet/NavigationDirectoryPortletEditor.java delete mode 100644 ccm-ldn-portal/src/com/arsdigita/london/portal/ui/portlet/NavigationDirectoryPortletRenderer.java delete mode 100755 ccm-ldn-portal/src/com/arsdigita/london/portal/ui/portlet/WorkspaceDirectoryPortletRenderer.java diff --git a/ccm-ldn-portal/application.xml b/ccm-ldn-portal/application.xml index 1d39236a6..fe307b5f7 100755 --- a/ccm-ldn-portal/application.xml +++ b/ccm-ldn-portal/application.xml @@ -11,7 +11,9 @@ + diff --git a/ccm-ldn-portal/pdl/com/arsdigita/london/portal/portlet/NavigationDirectoryPortlet.pdl b/ccm-ldn-portal/pdl/com/arsdigita/london/portal/portlet/NavigationDirectoryPortlet.pdl deleted file mode 100644 index e54559749..000000000 --- a/ccm-ldn-portal/pdl/com/arsdigita/london/portal/portlet/NavigationDirectoryPortlet.pdl +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (C) 2008 Permeance Technologies Pty Ltd. All Rights Reserved. -// -// This library is free software; you can redistribute it and/or modify it under -// the terms of the GNU Lesser General Public License as published by the Free -// Software Foundation; either version 2.1 of the License, or (at your option) -// any later version. -// -// This library is distributed in the hope that it will be useful, but WITHOUT -// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more -// details. -// -// You should have received a copy of the GNU Lesser General Public License -// along with this library; if not, write to the Free Software Foundation, Inc., -// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -model com.arsdigita.london.portal.portlet; - -import com.arsdigita.london.navigation.Navigation; -import com.arsdigita.portal.Portlet; - -object type NavigationDirectoryPortlet extends Portlet { - Navigation[1..1] navigation = join portlet_navigation_directory.navigation_id to nav_app.application_id; - Integer[1..1] depth = portlet_navigation_directory.depth INTEGER; - reference key (portlet_navigation_directory.portlet_id); -} \ No newline at end of file diff --git a/ccm-ldn-portal/pdl/com/arsdigita/london/portal/portlet/WorkspaceDirectoryPortlet.pdl b/ccm-ldn-portal/pdl/com/arsdigita/london/portal/portlet/WorkspaceDirectoryPortlet.pdl deleted file mode 100755 index f2a2ff391..000000000 --- a/ccm-ldn-portal/pdl/com/arsdigita/london/portal/portlet/WorkspaceDirectoryPortlet.pdl +++ /dev/null @@ -1,21 +0,0 @@ -// -// Copyright (C) 2001 ArsDigita Corporation. All Rights Reserved. -// -// The contents of this file are subject to the ArsDigita Public -// License (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.arsdigita.com/ADPL.txt -// -// Software distributed under the License is distributed on an "AS -// IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or -// implied. See the License for the specific language governing -// rights and limitations under the License. -// - -model com.arsdigita.london.portal.portlet; - -import com.arsdigita.portal.Portlet; - -object type WorkspaceDirectoryPortlet extends Portlet { -} - diff --git a/ccm-ldn-portal/src/ccm-ldn-portal.load b/ccm-ldn-portal/src/ccm-ldn-portal.load index 49e067491..9ac630a63 100755 --- a/ccm-ldn-portal/src/ccm-ldn-portal.load +++ b/ccm-ldn-portal/src/ccm-ldn-portal.load @@ -6,7 +6,10 @@ + +