Letzte Feinheiten zu release 1.1.6 IAW.
git-svn-id: https://svn.libreccm.org/ccm/trunk@1361 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
a474d63e3f
commit
340607e98f
|
|
@ -0,0 +1,31 @@
|
|||
--
|
||||
--
|
||||
-- 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
|
||||
--
|
||||
-- $Id: cleanup_tables.sql pboy $
|
||||
|
||||
|
||||
|
||||
-- db staatsschiff-114, wsf-114
|
||||
-- ALTER TABLE ONLY cms_persons
|
||||
-- DROP CONSTRAINT cms_persons_alias_id_fkey;
|
||||
-- db iaw-114
|
||||
ALTER TABLE ONLY cms_persons
|
||||
DROP CONSTRAINT cms_persons_aliasid_fkey;
|
||||
ALTER TABLE cms_persons
|
||||
ADD CONSTRAINT cms_persons_alias_id_f_uaoxu FOREIGN KEY (alias_id)
|
||||
REFERENCES cms_persons (person_id) MATCH SIMPLE
|
||||
ON UPDATE NO ACTION ON DELETE NO ACTION;
|
||||
|
||||
|
|
@ -15,11 +15,8 @@
|
|||
-- License along with this library; if not, write to the Free Software
|
||||
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
--
|
||||
-- $Id: upd_table_persons.sql pboy $
|
||||
-- $Id: create_orgaunit_hierarchy_map.sql pboy $
|
||||
|
||||
-- This update is only applicable for the internal development tree at
|
||||
-- University of Bremen ! Don't use for the APLAWS main trunk on
|
||||
-- fedorahosted!
|
||||
|
||||
CREATE TABLE cms_organizationalunits_hierarchy_map (
|
||||
superior_orgaunit_id integer NOT NULL,
|
||||
|
|
@ -29,14 +26,17 @@ CREATE TABLE cms_organizationalunits_hierarchy_map (
|
|||
subordinate_orgaunit_order integer
|
||||
);
|
||||
|
||||
-- No sure how to get db owner here
|
||||
-- ALTER TABLE public.cms_organizationalunits_hierarchy_map OWNER TO iaw;
|
||||
|
||||
ALTER TABLE ONLY cms_organizationalunits_hierarchy_map
|
||||
ADD CONSTRAINT cms_org_hie_map_sub_or_p_nykpq PRIMARY KEY (subordinate_orgaunit_id, superior_orgaunit_id);
|
||||
ADD CONSTRAINT cms_org_hie_map_sub_or_p_nykpq
|
||||
PRIMARY KEY (subordinate_orgaunit_id, superior_orgaunit_id);
|
||||
|
||||
ALTER TABLE ONLY cms_organizationalunits_hierarchy_map
|
||||
ADD CONSTRAINT cms_org_hie_map_sub_or_f_xq5is FOREIGN KEY (subordinate_orgaunit_id) REFERENCES cms_organizationalunits(organizationalunit_id);
|
||||
ADD CONSTRAINT cms_org_hie_map_sub_or_f_xq5is
|
||||
FOREIGN KEY (subordinate_orgaunit_id)
|
||||
REFERENCES cms_organizationalunits(organizationalunit_id);
|
||||
|
||||
ALTER TABLE ONLY cms_organizationalunits_hierarchy_map
|
||||
ADD CONSTRAINT cms_org_hie_map_sup_or_f_qchkn FOREIGN KEY (superior_orgaunit_id) REFERENCES cms_organizationalunits(organizationalunit_id);
|
||||
ADD CONSTRAINT cms_org_hie_map_sup_or_f_qchkn
|
||||
FOREIGN KEY (superior_orgaunit_id)
|
||||
REFERENCES cms_organizationalunits(organizationalunit_id);
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
CREATE TABLE cms_publish_lock (
|
||||
lock_id integer NOT NULL,
|
||||
locked_oid character varying(2048),
|
||||
lock_timestamp timestamp with time zone,
|
||||
action character varying(256)
|
||||
);
|
||||
|
||||
ALTER TABLE ONLY cms_publish_lock
|
||||
ADD CONSTRAINT cms_publis_loc_lock_id_p_8n7d0 PRIMARY KEY (lock_id);
|
||||
|
||||
-- ALTER TABLE public.cms_publish_lock OWNER TO ccm;
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
--
|
||||
-- Copyright (C) 2011 Peter Boy 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
|
||||
--
|
||||
-- $Id: oracle-se-6.6.2-6.6.3.sql 2011-09-06 15:10:39Z pboy $
|
||||
|
||||
|
||||
PROMPT Red Hat Enterprise CMS 6.6.3 -> 6.6.4 Upgrade Script (Oracle)
|
||||
|
||||
@@ ../default/upgrade/6.6.3-6.6.4/create_orgaunit_hierarchy_table.sql
|
||||
@@ ../default/upgrade/6.6.3-6.6.4/create_publish_lock_table.sql
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
begin;
|
||||
|
||||
\i ../default/upgrade/6.6.2-6.6.3/create_orgaunit_hierarchy_table.sql
|
||||
\i ../default/upgrade/6.6.2-6.6.3/create_publish_lock_table.sql
|
||||
\i ../default/upgrade/6.6.3-6.6.4/create_orgaunit_hierarchy_table.sql
|
||||
\i ../default/upgrade/6.6.3-6.6.4/create_publish_lock_table.sql
|
||||
|
||||
commit;
|
||||
|
|
@ -48,7 +48,6 @@
|
|||
<script sql="ccm-cms/upgrade/::database::-6.6.2-6.6.3.sql"/>
|
||||
</version>
|
||||
<version from="6.6.3" to="6.6.4">
|
||||
<!-- This update is only applicable for the development tree at UHB! -->
|
||||
<script sql="ccm-cms/upgrade/::database::-6.6.3-6.6.4.sql"/>
|
||||
</version>
|
||||
</upgrade>
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ import org.apache.log4j.Logger;
|
|||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.StringTokenizer;
|
||||
import org.apache.log4j.Level;
|
||||
|
||||
/**
|
||||
* <p>A content section represents a collection of content that is
|
||||
|
|
@ -1071,11 +1072,11 @@ public class ContentSection extends Application {
|
|||
ContentSection section = (ContentSection) sections.getDomainObject();
|
||||
if (sections.isFirst() ) {
|
||||
sections.close();
|
||||
s_log.warn("Default section is "+section.getName() );
|
||||
s_log.debug("Default section is "+section.getName() );
|
||||
return section;
|
||||
} else {
|
||||
sections.close();
|
||||
s_log.warn("Section found: "+section.getName()+", but not first." );
|
||||
s_log.debug("Section found: "+section.getName()+", but not first." );
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ public class Loader extends PackageLoader {
|
|||
* (e.g. 6.6.1-6.6.2).
|
||||
*/
|
||||
public static ApplicationType loadWorkspaceApplicationType() {
|
||||
s_log.warn("Creating CMS Workspace...");
|
||||
s_log.debug("Creating CMS Workspace...");
|
||||
|
||||
// Creating of Workspace package using new style c.ad.web.Application
|
||||
// in legacy compatible mode. Needs refactoring of the Workspace package.
|
||||
|
|
@ -226,7 +226,7 @@ public class Loader extends PackageLoader {
|
|||
|
||||
ApplicationType workspaceType = appsetup.run();
|
||||
workspaceType.save();
|
||||
s_log.warn("CMS Workspace type created.");
|
||||
s_log.debug("CMS Workspace type created.");
|
||||
|
||||
return workspaceType;
|
||||
}
|
||||
|
|
@ -239,7 +239,7 @@ public class Loader extends PackageLoader {
|
|||
ApplicationType workspaceType) {
|
||||
// create legacy compatible application instance,
|
||||
// old-style package key used as url fragment where to install the instance
|
||||
s_log.warn("Creating CMS Workspace instance ...");
|
||||
s_log.debug("Creating CMS Workspace instance ...");
|
||||
Workspace app = (Workspace) Application.createApplication(
|
||||
workspaceType, // type
|
||||
Workspace.PACKAGE_KEY, // url fragment
|
||||
|
|
@ -247,7 +247,7 @@ public class Loader extends PackageLoader {
|
|||
null); // parent
|
||||
app.setDescription("The default CMS workspace instance.");
|
||||
app.save();
|
||||
s_log.warn("CMS Workspace instance " + Workspace.PACKAGE_KEY + " created.");
|
||||
s_log.debug("CMS Workspace instance " + Workspace.PACKAGE_KEY + " created.");
|
||||
|
||||
s_log.debug("Done loading CMS Workspace.");
|
||||
}
|
||||
|
|
@ -363,7 +363,7 @@ public class Loader extends PackageLoader {
|
|||
for (int i = 0 ; i < sectionNames.length ; i++) {
|
||||
|
||||
final String sectionName = sectionNames[i];
|
||||
s_log.warn("Creating content section on /" + sectionName);
|
||||
s_log.debug("Creating content section on /" + sectionName);
|
||||
|
||||
// Step 1: Validate name for section
|
||||
Util.validateURLParameter("name", sectionName);
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt
|
|||
com.arsdigita.london.search.show_sponsored_links=true
|
||||
|
||||
|
||||
# ccm-ldn-subsite application
|
||||
# ccm-subsite application
|
||||
com.arsdigita.subsite.root_category_picker=com.arsdigita.london.terms.ui.RootCategoryPicker
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ waf.xml.activate_full_date_formatter=true
|
|||
|
||||
# ccm-cms parameters
|
||||
|
||||
com.arsdigita.cms.category_authoring_add_form=com.arsdigita.aplaws.ui.ItemCategoryPicker
|
||||
com.arsdigita.cms.category_authoring_add_form=com.arsdigita.bundle.ui.ItemCategoryPicker
|
||||
|
||||
com.arsdigita.cms.default_folder_template_path=/default/aplaws-folder.jsp
|
||||
com.arsdigita.cms.default_item_template_path=/default/aplaws-item.jsp
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ waf.xml.activate_full_date_formatter=true
|
|||
|
||||
# ccm-cms parameters
|
||||
|
||||
com.arsdigita.cms.category_authoring_add_form=com.arsdigita.aplaws.ui.ItemCategoryPicker
|
||||
com.arsdigita.cms.category_authoring_add_form=com.arsdigita.bundle.ui.ItemCategoryPicker
|
||||
|
||||
com.arsdigita.cms.default_folder_template_path=/default/aplaws-folder.jsp
|
||||
com.arsdigita.cms.default_item_template_path=/default/aplaws-item.jsp
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
* Thu Sep 22 2005 Alan Pevec <apevec@redhat.com>
|
||||
- Build all APLAWS+ bundles from the common set of templates.
|
||||
|
||||
* Mon Feb 21 2005 Alan Pevec <apevec@redhat.com>
|
||||
- Requires applications.
|
||||
|
||||
* Mon Jan 26 2004 Daniel Berrange <berrange@redhat.com>
|
||||
- Initial build.
|
||||
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
BUNDLE_NAME=aplaws-plus-zes-devel
|
||||
BUNDLE_PRETTY_NAME="APLAWS+ ZeS Devel Bundle"
|
||||
VERSION=1.1.2devel
|
||||
RELEASE=1
|
||||
|
|
@ -1,144 +0,0 @@
|
|||
# Scientific CMS IAW-std bundle integration.properties Version 1.1.6
|
||||
#
|
||||
waf.bebop.base_page=com.arsdigita.aplaws.ui.SimplePage
|
||||
#
|
||||
; dhtml editor to use (system wide)
|
||||
; Xinha is default
|
||||
; default: Xinha editor & src=/assets/xinha/XinhaLoader.js
|
||||
#waf.bebop.dhtml_editor=FCKeditor
|
||||
|
||||
waf.categorization.show_internal_name=true
|
||||
|
||||
waf.dispatcher.default_expiry=3600
|
||||
;
|
||||
waf.kernel.data_permission_check_enabled=false
|
||||
waf.kernel.primary_user_identifier=email
|
||||
; if you activate screen_name, forum loader does not work.
|
||||
; waf.kernel.primary_user_identifier=screen_name
|
||||
waf.kernel.supported_languages=de,en
|
||||
|
||||
; security.properties:
|
||||
waf.auto_registration_on=false
|
||||
|
||||
; Searches for localized style sheet (among others)
|
||||
waf.templating.stylesheet_resolver=com.arsdigita.templating.PatternStylesheetResolver
|
||||
waf.templating.stylesheet_paths=/WEB-INF/resources/scientificCMS-stylesheet-paths.txt
|
||||
|
||||
core.ui.pagemap.root_page_url=navigation/
|
||||
core.ui.pagemap.workspace_url=navigation/
|
||||
core.ui.pagemap.user_redirect_url=content/content-center-redirect.jsp
|
||||
|
||||
; workflow configuration
|
||||
waf.workflow.simple.alerts_enabled=true
|
||||
waf.workflow.simple.alerts_sender=root@localhost.localdomain
|
||||
|
||||
; Configures the xml processing
|
||||
waf.xml.xsl_transformer=xalan
|
||||
waf.xml.activate_full_date_formatter=true
|
||||
|
||||
# ccm-cms parameters
|
||||
|
||||
com.arsdigita.cms.category_authoring_add_form=com.arsdigita.aplaws.ui.ItemCategoryPicker
|
||||
|
||||
com.arsdigita.cms.default_folder_template_path=/default/aplaws-folder.jsp
|
||||
com.arsdigita.cms.default_item_template_path=/default/aplaws-item.jsp
|
||||
com.arsdigita.cms.default_template_resolver_class=com.arsdigita.subsite.dispatcher.SubsiteItemTemplateResolver
|
||||
|
||||
; Configure dhtml editor for use in cms content-center
|
||||
; Xinha is default and should work out of the box
|
||||
; com.arsdigita.cms.dhtml_editor_config=Xinha.Config,/assets/xinha/XinhaConfig.js
|
||||
; as a temporary measure a different configuration file which includes a link selection box for CCM items
|
||||
; and CCM images should be specified:
|
||||
com.arsdigita.cms.dhtml_editor_config=Xinha.Config,/assets/xinha/CCMcmsXinhaConfig.js
|
||||
|
||||
; to use FCKeditor:
|
||||
; com.arsdigita.cms.dhtml_editor_config=FCKEditor.Config.StyleDefault?,/assets/fckeditor/config/fckconfigOpenCCM.js
|
||||
; com.arsdigita.cms.dhtml_editor_config=Xinha.Config,/assets/xinha/XinhaConfig.js
|
||||
; com.arsdigita.cms.dhtml_editor_hidden_buttons=
|
||||
; com.arsdigita.cms.dhtml_editor_plugins=TableOperations,CSS
|
||||
com.arsdigita.cms.dhtml_editor_plugins=
|
||||
|
||||
com.arsdigita.cms.disable_item_pfs=true
|
||||
|
||||
com.arsdigita.cms.hide_admin_tabs=true
|
||||
com.arsdigita.cms.hide_folder_index_checkbox=true
|
||||
com.arsdigita.cms.hide_launch_date=true
|
||||
com.arsdigita.cms.hide_templates_tab=true
|
||||
com.arsdigita.cms.hide_timezone=true
|
||||
com.arsdigita.cms.hide_udct_ui=true
|
||||
|
||||
com.arsdigita.cms.use_section_categories=false
|
||||
com.arsdigita.cms.use_streamlined_creation=true
|
||||
|
||||
|
||||
# ccm-cms-types-event parameters
|
||||
com.arsdigita.cms.contenttypes.event.hide_cost=true
|
||||
com.arsdigita.cms.contenttypes.event.hide_date_description=false
|
||||
com.arsdigita.cms.contenttypes.event.hide_event_type=true
|
||||
com.arsdigita.cms.contenttypes.event.hide_link_to_map=true
|
||||
com.arsdigita.cms.contenttypes.event.hide_main_contributor=true
|
||||
com.arsdigita.cms.contenttypes.event.use_html_date_description=false
|
||||
com.arsdigita.cms.contenttypes.event.start_year=2000
|
||||
com.arsdigita.cms.contenttypes.event.end_year_delta=5
|
||||
|
||||
|
||||
# ccm-cms-types-newsitem parameters
|
||||
com.arsdigita.cms.contenttypes.newsitem.hide_homepage=true
|
||||
com.arsdigita.cms.contenttypes.newsitem.start_year=2000
|
||||
com.arsdigita.cms.contenttypes.newsitem.end_year_delta=5
|
||||
|
||||
|
||||
# Forum application
|
||||
#com.arsdigita.forum.show_new_tabs=true
|
||||
#com.arsdigita.forum.use_wysiwyg_editor=true
|
||||
#com.arsdigita.forum.allow_quick_finish=true
|
||||
#com.arsdigita.forum.disable_page_caching=true
|
||||
|
||||
|
||||
# ccm-navigation application
|
||||
com.arsdigita.navigation.category_menu_show_grand_children=false
|
||||
com.arsdigita.navigation.default_cat_root_path=/navigation/
|
||||
com.arsdigita.navigation.default_template=/templates/ccm-navigation/navigation/sci-default.jsp
|
||||
com.arsdigita.navigation.templates_file=bundle/navigation/iaw-templates.txt
|
||||
|
||||
|
||||
# ccm-ldn-search application
|
||||
com.arsdigita.london.search.show_sponsored_links=true
|
||||
|
||||
|
||||
# ccm-subsite application
|
||||
com.arsdigita.subsite.root_category_picker=com.arsdigita.london.terms.ui.RootCategoryPicker
|
||||
|
||||
|
||||
# ccm-ldn-themedirector application
|
||||
themedirector.default_theme_context=
|
||||
# themedirector.default_theme_manifest=ccm-zes-aplaws.web.mf
|
||||
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.loader.category_files=bundle/categories/iaw-nav-domain-1.00.xml,bundle/categories/iaw-nav-hierarchy-1.00.xml
|
||||
com.arsdigita.bundle.loader.domain_mappings=IAW-NAV:/navigation/,IAW-NAV:/content/,IAW-NAV:/portal/
|
||||
|
||||
# =============================================================================================
|
||||
# runtime specific configurations
|
||||
|
||||
waf.admin.email=webmaster@iaw.uni-bremen.de
|
||||
waf.admin.name.given=IAW
|
||||
waf.admin.name.family=Administrator
|
||||
waf.admin.password=nge2015
|
||||
waf.admin.password.question=12345
|
||||
waf.admin.password.answer=6
|
||||
|
||||
waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/iaw-116?user\=iaw&password\=iaw24&stringtype\=unspecified
|
||||
waf.runtime.jdbc_pool_size=40
|
||||
|
||||
waf.web.server=localhost\:8080
|
||||
|
||||
|
||||
# =============================================================================================
|
||||
# devel specific configurations
|
||||
#waf.debug=true
|
||||
#waf.bebop.fancy_xsl_errors=true
|
||||
|
||||
|
|
@ -1,166 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<!-- project.xml IAW std - containing only modules used for IAW production -->
|
||||
<!-- last check: 2011-11-11 -->
|
||||
|
||||
<ccm:project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||
ccmVersion="6.1"
|
||||
name="ScientificCMS"
|
||||
prettyName="Scientific CMS IAW edition"
|
||||
version="1-1-6"
|
||||
release="devel"
|
||||
webxml="web-iaw.xml"
|
||||
webapp="ROOT"
|
||||
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd">
|
||||
|
||||
<ccm:build>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- Scientific CMS set of CORE packages -->
|
||||
<!-- NONE can be omitted for technical reasons / internal dependencies -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- Main apps -->
|
||||
<ccm:application name="ccm-core"/>
|
||||
<ccm:application name="ccm-cms"/>
|
||||
|
||||
<!-- Content Assets -->
|
||||
<ccm:application name="ccm-cms-assets-imagestep"/>
|
||||
<ccm:application name="ccm-cms-assets-relatedlink"/>
|
||||
|
||||
<!-- Content Types -->
|
||||
<ccm:application name="ccm-cms-types-article"/>
|
||||
<ccm:application name="ccm-cms-types-filestorageitem"/>
|
||||
<ccm:application name="ccm-cms-types-formitem"/>
|
||||
<ccm:application name="ccm-cms-types-formsectionitem"/>
|
||||
|
||||
<!-- Applications -->
|
||||
<ccm:application name="ccm-navigation"/>
|
||||
<ccm:application name="ccm-portalworkspace"/>
|
||||
<ccm:application name="ccm-subsite"/>
|
||||
<ccm:application name="ccm-themedirector"/>
|
||||
|
||||
<!-- LDN extension -->
|
||||
<ccm:application name="ccm-ldn-search"/>
|
||||
<ccm:application name="ccm-ldn-shortcuts"/>
|
||||
<ccm:application name="ccm-ldn-terms"/>
|
||||
<ccm:application name="ccm-ldn-util"/>
|
||||
|
||||
<!-- SCI extension -->
|
||||
<ccm:application name="ccm-sci-bundle"/>
|
||||
|
||||
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- Scientific CMS OPTIONAL packages -->
|
||||
<!-- Various combinations of packages make up specific editions -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- Content Assets -->
|
||||
<ccm:application name="ccm-cms-assets-fileattachment"/>
|
||||
<ccm:application name="ccm-cms-assets-notes"/>
|
||||
|
||||
<!-- Content Types -->
|
||||
<ccm:application name="ccm-cms-types-address"/>
|
||||
<ccm:application name="ccm-cms-types-bookmark"/>
|
||||
<ccm:application name="ccm-cms-types-contact"/>
|
||||
<ccm:application name="ccm-cms-types-event"/>
|
||||
<ccm:application name="ccm-cms-types-mparticle"/>
|
||||
<ccm:application name="ccm-cms-types-newsitem"/>
|
||||
<ccm:application name="ccm-cms-types-siteproxy"/>
|
||||
|
||||
<!-- Applications -->
|
||||
<ccm:application name="ccm-cms-publicpersonalprofile"/>
|
||||
|
||||
<!-- LDN extension -->
|
||||
<!--
|
||||
<ccm:application name="ccm-ldn-rss"/>
|
||||
-->
|
||||
|
||||
<!-- SCI extension -->
|
||||
<!--
|
||||
<ccm:application name="ccm-sci-personalprojects"/>
|
||||
<ccm:application name="ccm-sci-personalpublications"/>
|
||||
-->
|
||||
|
||||
<ccm:application name="ccm-sci-types-member"/>
|
||||
|
||||
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- Scientific CMS potential ADD-ONS packages -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- Content Types -->
|
||||
<!--
|
||||
<ccm:application name="ccm-cms-types-agenda"/>
|
||||
<ccm:application name="ccm-cms-types-faqitem"/>
|
||||
<ccm:application name="ccm-cms-types-glossaryitem"/>
|
||||
<ccm:application name="ccm-cms-types-htmlform"/>
|
||||
<ccm:application name="ccm-cms-types-image"/>
|
||||
<ccm:application name="ccm-cms-types-inlinesite"/>
|
||||
<ccm:application name="ccm-cms-types-job"/>
|
||||
<ccm:application name="ccm-cms-types-legalnotice"/>
|
||||
<ccm:application name="ccm-cms-types-minutes"/>
|
||||
<ccm:application name="ccm-cms-types-organization"/>
|
||||
<ccm:application name="ccm-cms-types-person"/>
|
||||
<ccm:application name="ccm-cms-types-pressrelease"/>
|
||||
<ccm:application name="ccm-cms-types-service"/>
|
||||
<ccm:application name="ccm-cms-types-xmlfeed"/>
|
||||
-->
|
||||
|
||||
<!-- Applications -->
|
||||
<!--
|
||||
<ccm:application name="ccm-auth-http"/>
|
||||
<ccm:application name="ccm-bookmarks"/>
|
||||
<ccm:application name="ccm-docmgr"/>
|
||||
<ccm:application name="ccm-docrepo"/>
|
||||
<ccm:application name="ccm-forum"/>
|
||||
<ccm:application name="ccm-forum-categorised"/>
|
||||
-->
|
||||
<!--
|
||||
<ccm:application name="ccm-portalserver"/>
|
||||
<ccm:application name="ccm-weblog"/>
|
||||
<ccm:application name="ccm-webpage"/>
|
||||
-->
|
||||
|
||||
<!-- LDN extension -->
|
||||
<!--
|
||||
<ccm:application name="ccm-ldn-exporter"/>
|
||||
<ccm:application name="ccm-ldn-freeform"/>
|
||||
<ccm:application name="ccm-ldn-importer"/>
|
||||
-->
|
||||
|
||||
|
||||
</ccm:build>
|
||||
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<!-- Scientific CMS list of OBSOLETE modules -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- Content Types -->
|
||||
<!-- Without known funcionality
|
||||
<ccm:application name="ccm-cms-types-motditem"/> -->
|
||||
|
||||
<!-- Applications -->
|
||||
<!-- currently doesn't work for unknown reason
|
||||
<ccm:application name="ccm-simplesurvey"/> -->
|
||||
<!-- Without known funcionality
|
||||
<ccm:application name="ccm-formbuilder-pdf"/>
|
||||
<ccm:application name="ccm-user-preferences"/> -->
|
||||
|
||||
<!-- LDN extension -->
|
||||
<!-- Conflicts with ccm-sci-bundle (this package) -->
|
||||
<!-- <ccm:application name="ccm-ldn-aplaws"/> -->
|
||||
<!-- In it's current implementation very ldn / aplaws specific
|
||||
<ccm:application name="ccm-ldn-atoz"/>
|
||||
<ccm:application name="ccm-ldn-dublin"/> -->
|
||||
|
||||
|
||||
<!-- tools will be downloaded from trunk, but does not
|
||||
contain java code to be compiled!
|
||||
<ccm:application name="tools"/> -->
|
||||
|
||||
</ccm:project>
|
||||
|
|
@ -1,540 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
|
||||
<display-name>CCM IAW</display-name>
|
||||
<description>Content and Collaboration Management for Scientific Institutions</description>
|
||||
|
||||
<!-- path and filename of the log4j user accessible config file
|
||||
WEB-INF/conf/log4j.properties is the built-in default value -->
|
||||
<context-param>
|
||||
<param-name>log4j-conf-file</param-name>
|
||||
<param-value>WEB-INF/conf/log4j.properties</param-value>
|
||||
</context-param>
|
||||
|
||||
|
||||
<!-- Require secure connection by redirect to host-port part
|
||||
of parameter waf.web.secure_server
|
||||
NOT USED with ZeS
|
||||
<filter>
|
||||
<filter-name>secured</filter-name>
|
||||
<filter-class>com.arsdigita.web.SecureFilter</filter-class>
|
||||
</filter>
|
||||
-->
|
||||
<!-- Initialize Profiler timers
|
||||
NOT USED with ZeS standard / production
|
||||
<filter>
|
||||
<filter-name>profiler</filter-name>
|
||||
<filter-class>com.arsdigita.profiler.ProfilerFilter</filter-class>
|
||||
</filter>
|
||||
-->
|
||||
|
||||
<filter>
|
||||
<filter-name>shortcuts</filter-name>
|
||||
<filter-class>com.arsdigita.london.shortcuts.ShortcutFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<filter-name>subsite</filter-name>
|
||||
<filter-class>com.arsdigita.subsite.SubsiteFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<!-- NOT USED HERE
|
||||
<filter-mapping>
|
||||
<filter-name>secured</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>profiler</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
-->
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>subsite</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>shortcuts</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Context Listener
|
||||
required and used to initialize the runtime environment before any other
|
||||
task is performed or any servlet initialized.
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
<listener>
|
||||
<listener-class>com.arsdigita.web.CCMApplicationContextListener</listener-class>
|
||||
</listener>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
BASE SERVLET DECLARATIONS SECTION
|
||||
basically requirred by ccm-core
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>reg</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ContextRegistrationServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>uri</param-name>
|
||||
<param-value>/</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>legacy-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.sitenode.SiteNodeDispatcher</servlet-class>
|
||||
<load-on-startup>3</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.DispatcherServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>fallback-servlet</param-name>
|
||||
<param-value>legacy-dispatcher</param-value>
|
||||
</init-param>
|
||||
<load-on-startup>2</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.LegacyAdapterServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<servlet-class>com.arsdigita.caching.CacheServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>db-test</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.monitoring.DBTestServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>versioning-log</servlet-name>
|
||||
<servlet-class>com.arsdigita.versioning.VersioningServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>oid-redirect</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.OIDRedirectServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>resource-resolver</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
ADDITIONAL SERVLET DECLARATIONS SECTION
|
||||
basically requirred by ccm-cms
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>content-section</servlet-name>
|
||||
<servlet-class>com.arsdigita.cms.ContentSectionServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>content-type-xsl</servlet-name>
|
||||
<servlet-class>com.arsdigita.cms.dispatcher.ContentTypeXSLServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>content-item-xsl</servlet-name>
|
||||
<servlet-class>com.arsdigita.cms.dispatcher.ContentItemXSLServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>template-xsl</servlet-name>
|
||||
<servlet-class>com.arsdigita.cms.dispatcher.TemplateXSLServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>TextOnlyServlet</servlet-name>
|
||||
<display-name>Text Only Servlet</display-name>
|
||||
<servlet-class>
|
||||
com.arsdigita.web.InternalPrefixerServlet
|
||||
</servlet-class>
|
||||
<init-param>
|
||||
<param-name>prefix</param-name>
|
||||
<param-value>/text</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>PrintFriendlyServlet</servlet-name>
|
||||
<display-name>Printer Friendly Output Servlet</display-name>
|
||||
<servlet-class>
|
||||
com.arsdigita.web.InternalPrefixerServlet
|
||||
</servlet-class>
|
||||
<init-param>
|
||||
<param-name>prefix</param-name>
|
||||
<param-value>/print</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
MODULES SERVLET DECLARATIONS SECTION
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
|
||||
<!-- module ccm-forum - servlet declarations BEGIN -->
|
||||
<servlet>
|
||||
<servlet-name>forum-main</servlet-name>
|
||||
<servlet-class>com.arsdigita.forum.ForumServlet</servlet-class>
|
||||
</servlet>
|
||||
<!-- module ccm-forum - servlet declarations END -->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>portalworkspace-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-portalworkspace</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>navigation-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-navigation</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>file-resolver</param-name>
|
||||
<param-value>com.arsdigita.navigation.NavigationFileResolver</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>portlet-type-xsl</servlet-name>
|
||||
<servlet-class>com.arsdigita.dispatcher.PortletTypeXSLServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- module ccm-ldn-rss - servlet declaration BEGIN -->
|
||||
<servlet>
|
||||
<servlet-name>rss-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-ldn-rss</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>file-resolver</param-name>
|
||||
<param-value>com.arsdigita.london.rss.RSSFileResolver</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<!-- module ccm-ldn-rss - servlet declaration END -->
|
||||
|
||||
<!-- module ccm-ldn-search - servlet declarations BEGIN -->
|
||||
<servlet>
|
||||
<servlet-name>worker</servlet-name>
|
||||
<servlet-class>com.arsdigita.london.search.SearchWorkerServlet</servlet-class>
|
||||
<load-on-startup>4</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>search-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-ldn-search</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<display-name>Apache-Axis Servlet</display-name>
|
||||
<servlet-class>
|
||||
org.apache.axis.transport.http.AxisServlet
|
||||
</servlet-class>
|
||||
</servlet>
|
||||
<!-- module ccm-ldn-search - servlet declarations END -->
|
||||
|
||||
<!-- module ccm-ldn-shortcuts - servlet definitions -->
|
||||
<servlet>
|
||||
<servlet-name>shortcuts-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-ldn-shortcuts</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<!-- module ccm-subsite - servlet declarations BEGIN -->
|
||||
<servlet>
|
||||
<servlet-name>subsite-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-subsite</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<!-- module ccm-subsite - servlet declarations END -->
|
||||
|
||||
<!-- module ccm-ldn-terms - servlet declarations BEGIN -->
|
||||
<servlet>
|
||||
<servlet-name>terms-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-ldn-terms</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<!-- module ccm-ldn-terms - servlet declarations END -->
|
||||
|
||||
<!-- module ccm-themedirector - servlet declarations BEGIN -->
|
||||
<servlet>
|
||||
<servlet-name>theme-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-themedirector</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>ThemeDownload</servlet-name>
|
||||
<servlet-class>com.arsdigita.themedirector.dispatcher.ThemeDownloadServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>ThemePreviewServlet</servlet-name>
|
||||
<display-name>Servlet to allow admins to preview look/feel</display-name>
|
||||
<servlet-class>
|
||||
com.arsdigita.themedirector.dispatcher.InternalThemePrefixerServlet
|
||||
</servlet-class>
|
||||
<init-param>
|
||||
<param-name>prefix</param-name>
|
||||
<param-value>/theme</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<!-- module ccm-themedirector - servlet declarations END -->
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
MODULES SERVLET MAPPINGS SECTION
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
|
||||
<!-- module ccm-forum - servlet mappings BEGIN -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>forum-main</servlet-name>
|
||||
<url-pattern>/forum-main/main/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- module ccm-forum - servlet mappings END -->
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>portlet-type-xsl</servlet-name>
|
||||
<url-pattern>/__ccm__/servlet/portlet-type/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>portalworkspace-files</servlet-name>
|
||||
<url-pattern>/ccm-portalworkspace/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>navigation-files</servlet-name>
|
||||
<url-pattern>/ccm-navigation/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- module ccm-ldn-rss - servlet mappings -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>rss-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-rss/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- module ccm-ldn-search - servlet mappings BEGIN -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>search-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-search/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>AxisServlet</servlet-name>
|
||||
<url-pattern>/services/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- module ccm-ldn-search - servlet mappings END -->
|
||||
|
||||
<!-- module ccm-ldn-shortcuts - servlet mappings -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>shortcuts-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-shortcuts/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- module ccm-subsite - servlet mappings BEGIN -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>subsite-files</servlet-name>
|
||||
<url-pattern>/ccm-subsite/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- module ccm-subsite - servlet mappings END -->
|
||||
|
||||
<!-- module ccm-ldn-terms - servlet mappings BEGIN -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>terms-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-terms/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- module ccm-ldn-terms - servlet mappings END -->
|
||||
|
||||
<!-- module ccm-themedirector - servlet mappings BEGIN -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>theme-files</servlet-name>
|
||||
<url-pattern>/theme-files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>ThemeDownload</servlet-name>
|
||||
<url-pattern>/theme-files/download/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>ThemePreviewServlet</servlet-name>
|
||||
<url-pattern>/theme/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- module ccm-themedirector - servlet mappings END -->
|
||||
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
BASE SERVLET MAPPINGS SECTION
|
||||
basically requirred by ccm-core
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>reg</servlet-name>
|
||||
<url-pattern>/__ccm__/null/reg/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>ccm-dispatcher</servlet-name>
|
||||
<url-pattern>/ccm/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>legacy-adapter</servlet-name>
|
||||
<url-pattern>/__ccm__/servlet/legacy-adapter/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>cache-manager</servlet-name>
|
||||
<url-pattern>/expireCache/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>db-test</servlet-name>
|
||||
<url-pattern>/dbtest</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>versioning-log</servlet-name>
|
||||
<url-pattern>/versioning/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>oid-redirect</servlet-name>
|
||||
<url-pattern>/redirect/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>resource-resolver</servlet-name>
|
||||
<url-pattern>/resource/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
ADDITIONAL SERVLET MAPPINGS SECTION
|
||||
basically requirred by ccm-cms
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>content-section</servlet-name>
|
||||
<url-pattern>/__ccm__/servlet/content-section/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>content-item-xsl</servlet-name>
|
||||
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>content-type-xsl</servlet-name>
|
||||
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>template-xsl</servlet-name>
|
||||
<url-pattern>/__ccm__/servlet/template/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>TextOnlyServlet</servlet-name>
|
||||
<url-pattern>/text/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>PrintFriendlyServlet</servlet-name>
|
||||
<url-pattern>/print/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
ERROR PAGES
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<error-page>
|
||||
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-type>
|
||||
<location>/error/access-denied.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<error-page>
|
||||
<exception-type>com.arsdigita.dispatcher.ObjectNotFoundException</exception-type>
|
||||
<location>/error/object-not-found.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<error-page>
|
||||
<exception-type>com.arsdigita.kernel.permissions.PermissionException</exception-type>
|
||||
<location>/error/permission-denied.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<error-page>
|
||||
<exception-type>com.arsdigita.persistence.DbNotAvailableException</exception-type>
|
||||
<location>/error/db-not-available.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<error-page>
|
||||
<exception-type>com.arsdigita.db.DbNotAvailableException</exception-type>
|
||||
<location>/error/db-not-available.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<error-page>
|
||||
<exception-type>java.lang.Exception</exception-type>
|
||||
<location>/error/general.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<error-page>
|
||||
<exception-type>java.lang.Error</exception-type>
|
||||
<location>/error/general.jsp</location>
|
||||
</error-page>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
TAG LIBS
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<taglib>
|
||||
<taglib-uri>/WEB-INF/bebop-show.tld</taglib-uri>
|
||||
<taglib-location>/WEB-INF/bebop-show.tld</taglib-location>
|
||||
</taglib>
|
||||
|
||||
<taglib>
|
||||
<taglib-uri>/WEB-INF/bebop-define.tld</taglib-uri>
|
||||
<taglib-location>/WEB-INF/bebop-define.tld</taglib-location>
|
||||
</taglib>
|
||||
|
||||
</web-app>
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Document : domain-nav-iaw-1.00.xml
|
||||
Created on : 3. Sept. 2009, 10:00
|
||||
Author : pb
|
||||
Description:
|
||||
Definition of the terms (categories) in the SHP Navigation Menue.
|
||||
In hierarchy-nav-shp the structure of the tree will be defined.
|
||||
-->
|
||||
|
||||
<terms:domain xmlns:terms="http://xmlns.redhat.com/london/terms/1.0"
|
||||
about="http://www.aplaws.org.uk/standards/nav/1.03/termslist.xml"
|
||||
key="IAW-NAV"
|
||||
title="IAW Navigation List"
|
||||
version="1.00" released="2009-08-31">
|
||||
|
||||
<terms:term id="1000" name="Forschungsfelder / Leitthemen" inAtoZ="false"/>
|
||||
<terms:term id="1200" name="Governance" inAtoZ="false"/>
|
||||
<terms:term id="1220" name="Wirtschaft" inAtoZ="false"/>
|
||||
<terms:term id="1240" name="Arbeit" inAtoZ="false"/>
|
||||
<terms:term id="1260" name="Stadt / Region" inAtoZ="false"/>
|
||||
<terms:term id="1400" name="Maritime Strukturen" inAtoZ="false"/>
|
||||
<terms:term id="1420" name="Schiffbau" inAtoZ="false"/>
|
||||
<terms:term id="1440" name="Meerespolitik" inAtoZ="false"/>
|
||||
|
||||
<terms:term id="3000" name="Forschungseinheiten" inAtoZ="false"/>
|
||||
<terms:term id="3200" name="FeA" inAtoZ="false"/>
|
||||
<terms:term id="3400" name="FeWiF" inAtoZ="false"/>
|
||||
<terms:term id="3600" name="FeS" inAtoZ="false"/>
|
||||
<terms:term id="3800" name="FeQua" inAtoZ="false"/>
|
||||
|
||||
<terms:term id="5000" name="Projekte" inAtoZ="false"/>
|
||||
|
||||
<terms:term id="7000" name="Veröffentlichungen" inAtoZ="false"/>
|
||||
<terms:term id="7200" name="Publikationen" inAtoZ="false"/>
|
||||
<terms:term id="7400" name="Schriftenreihe" inAtoZ="false"/>
|
||||
<terms:term id="7600" name="Arbeits- und Forschungsberichte" inAtoZ="false"/>
|
||||
<terms:term id="7800" name="Jahresberichte" inAtoZ="false"/>
|
||||
<terms:term id="8000" name="Sonstige Veröffentlichungen" inAtoZ="false"/>
|
||||
|
||||
<terms:term id="9000" name="Veranstaltungen" inAtoZ="false"/>
|
||||
<terms:term id="9200" name="Kolloquium" inAtoZ="false"/>
|
||||
|
||||
<terms:term id="11000" name="Das Institut" inAtoZ="false"/>
|
||||
<terms:term id="11200" name="Kontakt" inAtoZ="false"/>
|
||||
<terms:term id="11400" name="Geschichte" inAtoZ="false"/>
|
||||
<terms:term id="11600" name="Mitglieder" inAtoZ="false"/>
|
||||
<terms:term id="11800" name="Organisation" inAtoZ="false"/>
|
||||
<terms:term id="12000" name="Verwaltung" inAtoZ="false"/>
|
||||
<terms:term id="12200" name="IT Bereich" inAtoZ="false"/>
|
||||
<terms:term id="12400" name="Netzwerke" inAtoZ="false"/>
|
||||
<terms:term id="12600" name="DEG" inAtoZ="false"/>
|
||||
|
||||
</terms:domain>
|
||||
|
||||
|
|
@ -1,247 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Document : hierarchy-nav-iaw-1.00.xml
|
||||
Created on : 3. Sept. 2009, 10:30
|
||||
Author : pb
|
||||
Description:
|
||||
Purpose of the document follows.
|
||||
-->
|
||||
|
||||
<terms:hierarchy xmlns:terms="http://xmlns.redhat.com/london/terms/1.0">
|
||||
<terms:domain resource="http://www.aplaws.org.uk/standards/nav/1.03/termslist.xml"/>
|
||||
|
||||
<!-- set root terms -->
|
||||
<terms:term id="1000"/>
|
||||
<terms:term id="3000"/>
|
||||
<terms:term id="5000"/>
|
||||
<terms:term id="7000"/>
|
||||
<terms:term id="9000"/>
|
||||
<terms:term id="11000"/>
|
||||
|
||||
<!-- id=1000 narrower terms, first level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<!-- narrower terms, second level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1200"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1220"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1200"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1240"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1200"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1260"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<!-- narrower terms, first level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1400"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<!-- narrower terms, second level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1400"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1420"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1400"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1440"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<!-- id=3000 narrower terms, first level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3400"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3600"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3800"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
|
||||
<!-- id=7000 narrower terms, first level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="7000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="7200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="7000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="7400"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="7000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="7600"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="7000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="7800"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="7000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="8000"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="7000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="7200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
|
||||
<!-- id=9000 narrower terms, first level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="9000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="9200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
|
||||
<!-- id=11000 narrower terms, first level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="11000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="11200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="11000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="11400"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="11000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="11600"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="11000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="11800"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="11000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="12000"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="11000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="12200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="11000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="12400"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="11000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="12600"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
|
||||
</terms:hierarchy>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
ScientificCMS Default Items Page,Sci Default Navigation Index Page ordering items in ascending order,/templates/ccm-navigation/navigation/sci-default.jsp
|
||||
ScientificCMS Recent Items Page,Sci List of items ordered with most recent first,/templates/ccm-navigation/navigation/sci-recent.jsp
|
||||
ScientificCMS A-Z Items,Sci List of items paginated as A-Z,/templates/ccm-navigation/navigation/sci-atoz.jsp
|
||||
ScientificCMS Events Page,Sci Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/sci-events.jsp
|
||||
ScientificCMS Portal Page,Sci Portal Page for embedding a portal page as navigation leaves page,/templates/ccm-navigation/navigation/sci-portal.jsp
|
||||
ScientificCMS Portal Welcome Page,Sci Portal page meant as site welcome page,/templates/ccm-navigation/navigation/sci-portal-welcome.jsp
|
||||
ScientificCMS Navigation Welcome Page,Sci site welcome page created by navigation root term,/templates/ccm-navigation/navigation/sci-welcome.jsp
|
||||
ScientificCMS Specializing Items List,Sci Specialising List item page,/templates/ccm-navigation/navigation/SpecializingList.jsp
|
||||
ScientificCMS Publications List,Sci publications listing page,/templates/ccm-navigation/navigation/SciPublicationList.jsp
|
||||
IAW Events Page,IAW Events Page ordering events in ??? order,/templates/ccm-navigation/navigation/iaw-events.jsp
|
||||
IAW Archive Page,IAW Archive Page ordering ??? in ??? order,/templates/ccm-navigation/navigation/iaw-archive.jsp
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Subdirectory <cat> may optionally contain one or more local site specific
|
||||
import xml files for Terms domain categories.
|
||||
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
<%--
|
||||
Document : iaw-archive
|
||||
Created on : 20.03.2011, 22:57:33
|
||||
Author : pb
|
||||
--%>
|
||||
|
||||
<jsp:root
|
||||
xmlns:jsp="http://java.sun.com/JSP/Page"
|
||||
xmlns:define="/WEB-INF/bebop-define.tld"
|
||||
xmlns:show="/WEB-INF/bebop-show.tld"
|
||||
version="1.2">
|
||||
|
||||
<jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/>
|
||||
<jsp:directive.page import="com.arsdigita.bebop.parameters.BigDecimalParameter"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.Navigation"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
|
||||
<jsp:scriptlet>
|
||||
long age = Navigation.getConfig().getIndexPageCacheLifetime();
|
||||
if (age == 0) {
|
||||
DispatcherHelper.cacheDisable(response);
|
||||
} else {
|
||||
DispatcherHelper.cacheForWorld(response, (int)age);
|
||||
}
|
||||
</jsp:scriptlet>
|
||||
|
||||
<define:page name="defaultItemPage" application="navigation"
|
||||
title="Navigation" cache="true">
|
||||
|
||||
<define:component name="greetingItem"
|
||||
classname="com.arsdigita.navigation.ui.GreetingItem"/>
|
||||
<define:component name="categoryPath"
|
||||
classname="com.arsdigita.navigation.ui.category.Path"/>
|
||||
<define:component name="categoryMenu"
|
||||
classname="com.arsdigita.navigation.ui.category.Menu"/>
|
||||
|
||||
<define:component name="itemList"
|
||||
classname="com.arsdigita.navigation.ui.object.ComplexObjectList"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setDefinition(new CMSDataCollectionDefinition());
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setRenderer(new CMSDataCollectionRenderer());
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getDefinition().setObjectType("com.arsdigita.cms.contenttypes.Event");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setSQLFilter("(endDate <= :today) or (endDate is null and startDate <= :today)");
|
||||
|
||||
// Java ist mal wieder kompliziert. Man braucht ein Calender-Object, damit man Datumsarithmetik betreiben kann. java.util.Calendar ist allerdings
|
||||
// abstract. Deshalb muß man java.util.GregorianCalendar verwenden. Dann kann man mit der add-Methode verschiedene Felder manipulieren.
|
||||
// Aber Achtung - die add-Method liefert void zurück. Daher kann man das nicht alles in einer Zeile machen. Also Variablen anlegen.
|
||||
// Komplizierter geht's wohl nicht mehr.
|
||||
java.util.GregorianCalendar now = new java.util.GregorianCalendar();
|
||||
java.util.Date today = (new java.util.GregorianCalendar(now.get(java.util.GregorianCalendar.YEAR),
|
||||
now.get(java.util.GregorianCalendar.MONTH),
|
||||
now.get(java.util.GregorianCalendar.DATE))).getTime();
|
||||
// Im Event-CT ist das Datum als SQL-Type Date eingetragen, die Uhrzeit aber als SQL-Typ timestamptz. Leider wird von ccm im letzten
|
||||
// das Datum nicht gesetzt, so daß der Timestamp immer eine Uhrzeit am 1.1.1970 angibt. Das ist ziemlich bescheuert und macht hier
|
||||
// diesen kompliezierten Vergleich notwendig. Sonst könnte man einfach mit dem aktuellen Timestamp vergleichen.
|
||||
java.util.Date time = (new java.util.GregorianCalendar(70,0,1, // this is 01.01.1970 - start of UNIX timestamp
|
||||
now.get(java.util.GregorianCalendar.HOUR_OF_DAY),
|
||||
now.get(java.util.GregorianCalendar.MINUTE),
|
||||
now.get(java.util.GregorianCalendar.SECOND))).getTime();
|
||||
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setParameter("today", today);
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setParameter("time", time);
|
||||
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getDefinition().setDescendCategories(true);
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getDefinition().addOrder("startDate");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().setPageSize(30);
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("objectType");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("title");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("lead");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("eventDate");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("launchDate");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("startDate");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("endDate");
|
||||
</jsp:scriptlet>
|
||||
<define:component name="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
<show:all/>
|
||||
</jsp:root>
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
<%--
|
||||
Document : iaw-events
|
||||
Created on : 20.03.2011, 22:59:41
|
||||
Author : pb
|
||||
--%>
|
||||
|
||||
<jsp:root
|
||||
xmlns:jsp="http://java.sun.com/JSP/Page"
|
||||
xmlns:define="/WEB-INF/bebop-define.tld"
|
||||
xmlns:show="/WEB-INF/bebop-show.tld"
|
||||
version="1.2">
|
||||
|
||||
<jsp:directive.page import="com.arsdigita.dispatcher.DispatcherHelper"/>
|
||||
<jsp:directive.page import="com.arsdigita.bebop.parameters.BigDecimalParameter"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.Navigation"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
|
||||
<jsp:scriptlet>
|
||||
long age = Navigation.getConfig().getIndexPageCacheLifetime();
|
||||
if (age == 0) {
|
||||
DispatcherHelper.cacheDisable(response);
|
||||
} else {
|
||||
DispatcherHelper.cacheForWorld(response, (int)age);
|
||||
}
|
||||
</jsp:scriptlet>
|
||||
|
||||
<define:page name="defaultItemPage" application="navigation"
|
||||
title="Navigation" cache="true">
|
||||
|
||||
<define:component name="greetingItem"
|
||||
classname="com.arsdigita.navigation.ui.GreetingItem"/>
|
||||
<define:component name="categoryPath"
|
||||
classname="com.arsdigita.navigation.ui.category.Path"/>
|
||||
<define:component name="categoryMenu"
|
||||
classname="com.arsdigita.navigation.ui.category.Menu"/>
|
||||
|
||||
<define:component name="itemList"
|
||||
classname="com.arsdigita.navigation.ui.object.ComplexObjectList"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setDefinition(new CMSDataCollectionDefinition());
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setRenderer(new CMSDataCollectionRenderer());
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getDefinition().setObjectType("com.arsdigita.cms.contenttypes.Event");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setSQLFilter("(endDate >= :today and (endTime > :time or endTime is null)) or (endDate is null and startDate >= :today)");
|
||||
|
||||
// Java ist mal wieder kompliziert. Man braucht ein Calender-Object, damit man Datumsarithmetik betreiben kann. java.util.Calendar ist allerdings
|
||||
// abstract. Deshalb muß man java.util.GregorianCalendar verwenden. Dann kann man mit der add-Methode verschiedene Felder manipulieren.
|
||||
// Aber Achtung - die add-Method liefert void zurück. Daher kann man das nicht alles in einer Zeile machen. Also Variablen anlegen.
|
||||
// Komplizierter geht's wohl nicht mehr.
|
||||
java.util.GregorianCalendar now = new java.util.GregorianCalendar();
|
||||
java.util.Date today = (new java.util.GregorianCalendar(now.get(java.util.GregorianCalendar.YEAR),
|
||||
now.get(java.util.GregorianCalendar.MONTH),
|
||||
now.get(java.util.GregorianCalendar.DATE))).getTime();
|
||||
// Im Event-CT ist das Datum als SQL-Type Date eingetragen, die Uhrzeit aber als SQL-Typ timestamptz. Leider wird von ccm im letzten
|
||||
// das Datum nicht gesetzt, so daß der Timestamp immer eine Uhrzeit am 1.1.1970 angibt. Das ist ziemlich bescheuert und macht hier
|
||||
// diesen kompliezierten Vergleich notwendig. Sonst könnte man einfach mit dem aktuellen Timestamp vergleichen.
|
||||
java.util.Date time = (new java.util.GregorianCalendar(70,0,1, // this is 01.01.1970 - start of UNIX timestamp
|
||||
now.get(java.util.GregorianCalendar.HOUR_OF_DAY),
|
||||
now.get(java.util.GregorianCalendar.MINUTE),
|
||||
now.get(java.util.GregorianCalendar.SECOND))).getTime();
|
||||
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setParameter("today", today);
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).setParameter("time", time);
|
||||
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getDefinition().setDescendCategories(true);
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getDefinition().addOrder("startDate");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().setPageSize(30);
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("objectType");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("title");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("lead");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("eventDate");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("launchDate");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("startDate");
|
||||
((com.arsdigita.navigation.ui.object.ComplexObjectList) itemList).getRenderer().addAttribute("endDate");
|
||||
</jsp:scriptlet>
|
||||
<define:component name="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
<show:all/>
|
||||
</jsp:root>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
Subdirectory <nav> may optionally contain navigation item templates for
|
||||
navigation index pages which either overwrite or ammend those templates
|
||||
which are default for ccm-sci-bundle and stored in
|
||||
/web/templates/ccm-navigation/navigation
|
||||
|
||||
Templates of the same name in this subdirectory just overwrite the
|
||||
default files. Templates of different names are stored in addition
|
||||
to the default template files. In the later case a developer must
|
||||
provide a customised template.txt file replacing the default file
|
||||
/src/WEB-INF/navigation/sci-templates.txt
|
||||
This file must be specified in parameter
|
||||
com.arsdigita.navigation.templates_file
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
Bundle subdir themes
|
||||
|
||||
Purpose:
|
||||
This subdir may optionally contain theme files which either replace part of the
|
||||
theme or add files to the theme provided as default for ScientificCMS and this
|
||||
way adopt the theme for site specific design.
|
||||
|
||||
All files and subdirectories all copied asis to the applications ~/themes
|
||||
directory in its document (context) root.
|
||||
|
||||
It is the responsibility of developer / system integrator to ensure all files
|
||||
are copied to the right location and the theme works with the modification. No
|
||||
functionality or consistency check is perfordmed!
|
||||
|
|
@ -1 +0,0 @@
|
|||
Just a dummy file for test purpose during development.
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<load>
|
||||
<requires>
|
||||
<table name="inits"/>
|
||||
<table name="acs_objects"/>
|
||||
<initializer class="com.arsdigita.core.Initializer"/>
|
||||
<table name="cms_items"/>
|
||||
<initializer class="com.arsdigita.cms.Initializer"/>
|
||||
<initializer class="com.arsdigita.portalworkspace.Initializer"/>
|
||||
<initializer class="com.arsdigita.subsite.Initializer"/>
|
||||
<initializer class="com.arsdigita.london.search.Initializer"/>
|
||||
<initializer class="com.arsdigita.london.terms.Initializer"/>
|
||||
</requires>
|
||||
<provides>
|
||||
<!--
|
||||
<table name=""/>
|
||||
-->
|
||||
<initializer class="com.arsdigita.bundle.Initializer"/>
|
||||
</provides>
|
||||
<scripts>
|
||||
<data class="com.arsdigita.bundle.Loader"/>
|
||||
</scripts>
|
||||
</load>
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<registry>
|
||||
<!-- Config specifies the name of the class which handles configuration
|
||||
properties and the directory and file name of the config parameters
|
||||
in registry. -->
|
||||
<!-- currently nothing to config
|
||||
<config class="com.arsdigita.bundle.BundleConfig"
|
||||
storage="ccm-sci-bundle/bundle.properties"/>
|
||||
-->
|
||||
|
||||
</registry>
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
#
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-bundle/bundles/devel
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-bundle/bundles/standard
|
||||
ccm.bundle.folder=${ccm.project.dir}/ccm-bundle/bundles/local/ccm
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-bundle/bundles/local/ccm
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-bundle/bundles/local/igb
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-bundle/bundles/local/nsh
|
||||
#
|
||||
|
|
@ -24,18 +24,14 @@ ccm.bundle.folder=${ccm.project.dir}/ccm-bundle/bundles/local/ccm
|
|||
#ccm.bundle.folder=${ccm.project.dir}/ccm-gen-aplaws/bundles/wsf
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-gen-aplaws/bundles/zsr
|
||||
#
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-iaw-aplaws/bundles/devel
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-ifs-aplaws/bundles/devel
|
||||
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-sci-bundle/bundles/devel
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-sci-bundle/bundles/demo
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-sci-bundle/bundles/local/aap
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-sci-bundle/bundles/local/iaw-std
|
||||
ccm.bundle.folder=${ccm.project.dir}/ccm-sci-bundle/bundles/local/iaw-std
|
||||
|
||||
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-shp-aplaws/bundles/devel
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-shp-aplaws/bundles/openccm-devel
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-shp-aplaws/bundles/lsb
|
||||
#ccm.bundle.folder=${ccm.project.dir}/ccm-quasi-bundle/bundles/devel
|
||||
|
||||
|
||||
## ====================================================================
|
||||
|
|
@ -44,10 +40,16 @@ ccm.bundle.folder=${ccm.project.dir}/ccm-bundle/bundles/local/ccm
|
|||
|
||||
|
||||
# ---------------------------------------------------------------------
|
||||
# Update von rel. 1.1.4 auf 1.1.8
|
||||
# Update von rel. 1.1.4 auf 1.1.6
|
||||
# Müssen NACH dem (regulären) Update 1.1.3 -> 1.1.4 durchgeführt werden
|
||||
# ---------------------------------------------------------------------
|
||||
|
||||
# Alle Versionen / Bundles:
|
||||
# (hb r1358: table cms_organizationalunits_hierarchy_map und cms_publish_lock)
|
||||
#ccm.upgrade.package=ccm-cms
|
||||
#ccm.upgrade.from.version=6.6.3
|
||||
#ccm.upgrade.to.version=6.6.4
|
||||
|
||||
# Alle Versionen / Bundles:
|
||||
# (hb r1331/: ccm-ldn-subsite umbenannt nach ccm-subsite.)
|
||||
#ccm.upgrade.package=ccm-subsite
|
||||
|
|
|
|||
Loading…
Reference in New Issue