From ae44d614415aa81f561154de406ace31a09c16b0 Mon Sep 17 00:00:00 2001 From: pb Date: Mon, 7 Nov 2011 00:27:36 +0000 Subject: [PATCH] =?UTF-8?q?Weitere=20Verfeinerung=20ccm-sci-bundle.=20Load?= =?UTF-8?q?er=20ist=20so=20angepasst,=20dass=20site=20spezifische=20Varian?= =?UTF-8?q?ten=20von=20Navigation=20templates=20und=20Terms=20domain=20cat?= =?UTF-8?q?egories=20im=20bundle=20abgelegt=20werden=20k=C3=B6nnen.=20Dami?= =?UTF-8?q?t=20entf=C3=A4llt=20die=20Notwendigkeit,=20eigene=20packages=20?= =?UTF-8?q?ccm-iaw,=20ccm-aap,=20etc=20verwalten=20zu=20m=C3=BCssen.=20Zur?= =?UTF-8?q?=20Zeit=20funktioniert=20nur=20ccm-sci=20demo=20bundle.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@1224 8810af33-2d31-482b-a856-94f89814c4df --- .../bundles/devel/cat/placeholder.info | 3 + .../bundles/devel/cfg/integration.properties | 7 +- ccm-sci-bundle/bundles/devel/cfg/project.xml | 4 +- .../bundles/devel/nav/placeholder.info | 12 + .../bundles/local/aap/cat/placeholder.info | 3 + .../bundles/local/aap/nav/placeholder.info | 12 + ccm-sci-bundle/bundles/local/iaw/AUTHORS | 0 ccm-sci-bundle/bundles/local/iaw/ChangeLog | 9 + ccm-sci-bundle/bundles/local/iaw/NEWS | 0 ccm-sci-bundle/bundles/local/iaw/README | 0 ccm-sci-bundle/bundles/local/iaw/bundle.in | 4 + .../bundles/local/iaw/cat/placeholder.info | 3 + .../local/iaw/cfg/integration.properties | 137 +++++ .../bundles/local/iaw/cfg/project.xml | 164 ++++++ .../bundles/local/iaw/cfg/web.xml-sci | 540 ++++++++++++++++++ .../bundles/local/iaw/nav/placeholder.info | 12 + .../src/WEB-INF/navigation/sci-templates.txt | 9 + ...omain-1.00.xml => sci-nav-domain-1.00.xml} | 22 +- ...hy-1.00.xml => sci-nav-hierarchy-1.00.xml} | 2 +- .../src/com/arsdigita/bundle/Loader.java | 396 +++++-------- ...ndexItemTerms.java.probably.nolongerInUse} | 0 .../bundle/ui/AssignedItemTerms.java | 5 + ...ryTermDetails.java.probably.nolongerInUse} | 2 +- .../templates/SciDepartment-index.jsp | 67 --- .../templates/SciDepartmentActiveMembers.jsp | 56 -- .../SciDepartmentAssociatedMembers.jsp | 57 -- .../templates/SciDepartmentDescription.jsp | 50 -- .../SciDepartmentFinishedProjects.jsp | 60 -- .../templates/SciDepartmentFormerMembers.jsp | 56 -- .../templates/SciDepartmentMembers.jsp | 55 -- .../SciDepartmentOngoingProjects.jsp | 60 -- .../templates/SciDepartmentProjects.jsp | 54 -- .../templates/SciDepartmentSubDepartments.jsp | 54 -- .../navigation/templates/SciMember-index.jsp | 70 --- .../templates/SciOrganization-index.jsp | 67 --- .../SciOrganizationActiveMembers.jsp | 58 -- .../SciOrganizationAssociatedMembers.jsp | 58 -- .../templates/SciOrganizationDepartments.jsp | 54 -- .../templates/SciOrganizationDescription.jsp | 50 -- .../SciOrganizationFinishedProjects.jsp | 61 -- .../SciOrganizationFormerMembers.jsp | 57 -- .../templates/SciOrganizationMembers.jsp | 56 -- .../SciOrganizationOngoingProjects.jsp | 61 -- .../templates/SciOrganizationProjects.jsp | 56 -- .../navigation/templates/SciProjectList.jsp | 67 --- .../navigation/templates/mparticle-index.jsp | 65 --- .../ccm-ldn-navigation/navigation/Sci-README | 9 + .../navigation}/SciPublicationList.jsp | 0 .../navigation}/SpecializingList.jsp | 0 .../navigation/sci-atoz.jsp} | 0 .../navigation/sci-default.jsp} | 0 .../navigation/sci-events.jsp} | 0 .../navigation/sci-portal-welcome.jsp} | 0 .../navigation/sci-portal.jsp} | 0 .../navigation/sci-recent.jsp} | 0 .../navigation/sci-welcome.jsp} | 0 56 files changed, 1102 insertions(+), 1602 deletions(-) create mode 100644 ccm-sci-bundle/bundles/devel/cat/placeholder.info create mode 100644 ccm-sci-bundle/bundles/devel/nav/placeholder.info create mode 100644 ccm-sci-bundle/bundles/local/aap/cat/placeholder.info create mode 100644 ccm-sci-bundle/bundles/local/aap/nav/placeholder.info create mode 100644 ccm-sci-bundle/bundles/local/iaw/AUTHORS create mode 100644 ccm-sci-bundle/bundles/local/iaw/ChangeLog create mode 100644 ccm-sci-bundle/bundles/local/iaw/NEWS create mode 100644 ccm-sci-bundle/bundles/local/iaw/README create mode 100644 ccm-sci-bundle/bundles/local/iaw/bundle.in create mode 100644 ccm-sci-bundle/bundles/local/iaw/cat/placeholder.info create mode 100644 ccm-sci-bundle/bundles/local/iaw/cfg/integration.properties create mode 100644 ccm-sci-bundle/bundles/local/iaw/cfg/project.xml create mode 100644 ccm-sci-bundle/bundles/local/iaw/cfg/web.xml-sci create mode 100644 ccm-sci-bundle/bundles/local/iaw/nav/placeholder.info create mode 100755 ccm-sci-bundle/src/WEB-INF/navigation/sci-templates.txt rename ccm-sci-bundle/src/WEB-INF/sci/{zes-nav-domain-1.00.xml => sci-nav-domain-1.00.xml} (66%) rename ccm-sci-bundle/src/WEB-INF/sci/{zes-nav-hierarchy-1.00.xml => sci-nav-hierarchy-1.00.xml} (99%) rename ccm-sci-bundle/src/com/arsdigita/bundle/ui/{AssignedIndexItemTerms.java => AssignedIndexItemTerms.java.probably.nolongerInUse} (100%) rename ccm-sci-bundle/src/com/arsdigita/bundle/ui/{CategoryTermDetails.java => CategoryTermDetails.java.probably.nolongerInUse} (98%) delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartment-index.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentActiveMembers.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentAssociatedMembers.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentDescription.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentFinishedProjects.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentFormerMembers.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentMembers.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentOngoingProjects.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentProjects.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciDepartmentSubDepartments.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciMember-index.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganization-index.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationActiveMembers.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationAssociatedMembers.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationDepartments.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationDescription.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationFinishedProjects.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationFormerMembers.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationMembers.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationOngoingProjects.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciOrganizationProjects.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/SciProjectList.jsp delete mode 100644 ccm-sci-bundle/web/packages/navigation/templates/mparticle-index.jsp create mode 100644 ccm-sci-bundle/web/templates/ccm-ldn-navigation/navigation/Sci-README rename ccm-sci-bundle/web/{packages/navigation/templates => templates/ccm-ldn-navigation/navigation}/SciPublicationList.jsp (100%) rename ccm-sci-bundle/web/{packages/navigation/templates => templates/ccm-ldn-navigation/navigation}/SpecializingList.jsp (100%) rename ccm-sci-bundle/web/{packages/navigation/templates/zes-atoz.jsp => templates/ccm-ldn-navigation/navigation/sci-atoz.jsp} (100%) rename ccm-sci-bundle/web/{packages/navigation/templates/zes-default.jsp => templates/ccm-ldn-navigation/navigation/sci-default.jsp} (100%) rename ccm-sci-bundle/web/{packages/navigation/templates/zes-events.jsp => templates/ccm-ldn-navigation/navigation/sci-events.jsp} (100%) rename ccm-sci-bundle/web/{packages/navigation/templates/zes-portal.jsp => templates/ccm-ldn-navigation/navigation/sci-portal-welcome.jsp} (100%) rename ccm-sci-bundle/web/{packages/navigation/templates/zes-welcome-portal.jsp => templates/ccm-ldn-navigation/navigation/sci-portal.jsp} (100%) rename ccm-sci-bundle/web/{packages/navigation/templates/zes-recent.jsp => templates/ccm-ldn-navigation/navigation/sci-recent.jsp} (100%) rename ccm-sci-bundle/web/{packages/navigation/templates/zes-welcome.jsp => templates/ccm-ldn-navigation/navigation/sci-welcome.jsp} (100%) diff --git a/ccm-sci-bundle/bundles/devel/cat/placeholder.info b/ccm-sci-bundle/bundles/devel/cat/placeholder.info new file mode 100644 index 000000000..5ae76207c --- /dev/null +++ b/ccm-sci-bundle/bundles/devel/cat/placeholder.info @@ -0,0 +1,3 @@ +Subdirectory may optionally contain one or more local site specific +import xml files for Terms domain categories. + diff --git a/ccm-sci-bundle/bundles/devel/cfg/integration.properties b/ccm-sci-bundle/bundles/devel/cfg/integration.properties index 85795d65f..367634a7e 100644 --- a/ccm-sci-bundle/bundles/devel/cfg/integration.properties +++ b/ccm-sci-bundle/bundles/devel/cfg/integration.properties @@ -96,7 +96,9 @@ com.arsdigita.forum.disable_page_caching=true # ccm-ldn-navigation application com.arsdigita.london.navigation.category_menu_show_grand_children=false com.arsdigita.london.navigation.default_cat_root_path=/navigation/ -com.arsdigita.london.navigation.default_template=/packages/navigation/templates/zes-default.jsp +# com.arsdigita.london.navigation.default_template=/packages/navigation/templates/zes-default.jsp +com.arsdigita.london.navigation.default_template=/templates/ccm-ldn-navigation/navigation/sci-default.jsp +com.arsdigita.london.navigation.templates_file=WEB-INF/navigation/sci-templates.txt # ccm-ldn-search application @@ -114,6 +116,9 @@ themedirector.default_theme_path=themes/static/aplaws-generic themedirector.file_extensions=bmp css gif jpeg jpg js png xml xsl +# ccm-sci-bundle (Loader only) +# com.arsdigita.bundle.category_files=WEB-INF/sci/sci-nav-domain-1.00.xml,WEB-INF/sci/sci-nav-hierarchy-1.00.xml + # ============================================================================================= # runtime specific configurations diff --git a/ccm-sci-bundle/bundles/devel/cfg/project.xml b/ccm-sci-bundle/bundles/devel/cfg/project.xml index c53d2a9cf..1b6253d3a 100644 --- a/ccm-sci-bundle/bundles/devel/cfg/project.xml +++ b/ccm-sci-bundle/bundles/devel/cfg/project.xml @@ -53,7 +53,7 @@ - + @@ -75,7 +75,9 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ccm-sci-bundle/bundles/local/iaw/cfg/web.xml-sci b/ccm-sci-bundle/bundles/local/iaw/cfg/web.xml-sci new file mode 100644 index 000000000..390ca7722 --- /dev/null +++ b/ccm-sci-bundle/bundles/local/iaw/cfg/web.xml-sci @@ -0,0 +1,540 @@ + + + + Scientific CMS + Content and Collaboration Management for Scientific Institutions + + + + log4j-conf-file + WEB-INF/conf/log4j.properties + + + + + + + + shortcuts + com.arsdigita.london.shortcuts.ShortcutFilter + + + + subsite + com.arsdigita.london.subsite.SubsiteFilter + + + + + + subsite + /* + + + + shortcuts + /* + + + + + com.arsdigita.web.CCMApplicationContextListener + + + + + + reg + com.arsdigita.web.ContextRegistrationServlet + + uri + / + + 1 + + + + legacy-dispatcher + com.arsdigita.sitenode.SiteNodeDispatcher + 3 + + + + ccm-dispatcher + com.arsdigita.web.DispatcherServlet + + fallback-servlet + legacy-dispatcher + + 2 + + + + legacy-adapter + com.arsdigita.web.LegacyAdapterServlet + + + + cache-manager + com.arsdigita.caching.CacheServlet + + + + db-test + com.arsdigita.web.monitoring.DBTestServlet + + + + versioning-log + com.arsdigita.versioning.VersioningServlet + + + + oid-redirect + com.arsdigita.web.OIDRedirectServlet + + + + resource-resolver + com.arsdigita.web.ResourceServlet + + + + + + content-section + com.arsdigita.cms.ContentSectionServlet + + + + content-type-xsl + com.arsdigita.cms.dispatcher.ContentTypeXSLServlet + + + + content-item-xsl + com.arsdigita.cms.dispatcher.ContentItemXSLServlet + + + + template-xsl + com.arsdigita.cms.dispatcher.TemplateXSLServlet + + + + TextOnlyServlet + Text Only Servlet + + com.arsdigita.web.InternalPrefixerServlet + + + prefix + /text + + + + + PrintFriendlyServlet + Printer Friendly Output Servlet + + com.arsdigita.web.InternalPrefixerServlet + + + prefix + /print + + + + + + + + + forum-main + com.arsdigita.forum.ForumServlet + + + + + portalworkspace-files + com.arsdigita.web.ApplicationFileServlet + + template-path + /templates/ccm-portalworkspace + + + + + navigation-files + com.arsdigita.web.ApplicationFileServlet + + template-path + /templates/ccm-ldn-navigation + + + file-resolver + com.arsdigita.london.navigation.NavigationFileResolver + + + + + portlet-type-xsl + com.arsdigita.dispatcher.PortletTypeXSLServlet + + + + + rss-files + com.arsdigita.web.ApplicationFileServlet + + template-path + /templates/ccm-ldn-rss + + + file-resolver + com.arsdigita.london.rss.RSSFileResolver + + + + + + + worker + com.arsdigita.london.search.SearchWorkerServlet + 4 + + + + search-files + com.arsdigita.web.ApplicationFileServlet + + template-path + /templates/ccm-ldn-search + + + + + AxisServlet + Apache-Axis Servlet + + org.apache.axis.transport.http.AxisServlet + + + + + + + shortcuts-files + com.arsdigita.web.ApplicationFileServlet + + template-path + /templates/ccm-ldn-shortcuts + + + + + + subsite-files + com.arsdigita.web.ApplicationFileServlet + + template-path + /templates/ccm-ldn-subsite + + + + + + + terms-files + com.arsdigita.web.ApplicationFileServlet + + template-path + /templates/ccm-ldn-terms + + + + + + + theme-files + com.arsdigita.web.ApplicationFileServlet + + template-path + /templates/ccm-themedirector + + + + + ThemeDownload + com.arsdigita.themedirector.dispatcher.ThemeDownloadServlet + + + + ThemePreviewServlet + Servlet to allow admins to preview look/feel + + com.arsdigita.themedirector.dispatcher.InternalThemePrefixerServlet + + + prefix + /theme + + + + + + + + + + forum-main + /forum-main/main/* + + + + + portlet-type-xsl + /__ccm__/servlet/portlet-type/* + + + + portalworkspace-files + /ccm-portalworkspace/files/* + + + + navigation-files + /ccm-ldn-navigation/files/* + + + + + rss-files + /ccm-ldn-rss/files/* + + + + + search-files + /ccm-ldn-search/files/* + + + + AxisServlet + /services/* + + + + + + shortcuts-files + /ccm-ldn-shortcuts/files/* + + + + + subsite-files + /ccm-ldn-subsite/files/* + + + + + + terms-files + /ccm-ldn-terms/files/* + + + + + + theme-files + /theme-files/* + + + + ThemeDownload + /theme-files/download/* + + + + ThemePreviewServlet + /theme/* + + + + + + + + reg + /__ccm__/null/reg/* + + + + ccm-dispatcher + /ccm/* + + + + legacy-adapter + /__ccm__/servlet/legacy-adapter/* + + + + cache-manager + /expireCache/* + + + + db-test + /dbtest + + + + versioning-log + /versioning/* + + + + oid-redirect + /redirect/* + + + + resource-resolver + /resource/* + + + + + + content-section + /__ccm__/servlet/content-section/* + + + + content-item-xsl + /__ccm__/servlet/content-item/* + + + + content-type-xsl + /__ccm__/servlet/content-type/* + + + + template-xsl + /__ccm__/servlet/template/* + + + + TextOnlyServlet + /text/* + + + + PrintFriendlyServlet + /print/* + + + + + + com.arsdigita.dispatcher.AccessDeniedException + /error/access-denied.jsp + + + + com.arsdigita.dispatcher.ObjectNotFoundException + /error/object-not-found.jsp + + + + com.arsdigita.kernel.permissions.PermissionException + /error/permission-denied.jsp + + + + com.arsdigita.persistence.DbNotAvailableException + /error/db-not-available.jsp + + + + com.arsdigita.db.DbNotAvailableException + /error/db-not-available.jsp + + + + java.lang.Exception + /error/general.jsp + + + + java.lang.Error + /error/general.jsp + + + + + + /WEB-INF/bebop-show.tld + /WEB-INF/bebop-show.tld + + + + /WEB-INF/bebop-define.tld + /WEB-INF/bebop-define.tld + + + diff --git a/ccm-sci-bundle/bundles/local/iaw/nav/placeholder.info b/ccm-sci-bundle/bundles/local/iaw/nav/placeholder.info new file mode 100644 index 000000000..38db9a8ae --- /dev/null +++ b/ccm-sci-bundle/bundles/local/iaw/nav/placeholder.info @@ -0,0 +1,12 @@ +Subdirectory