Nachtrag Version 1.1.6 IAW und Modifikation von local in bundle, siehe README.
git-svn-id: https://svn.libreccm.org/ccm/trunk@1368 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
65733dc471
commit
bf2f522ae6
|
|
@ -1,4 +1,5 @@
|
|||
--
|
||||
-- Copyright (C) 2011 Jens Pelzetter 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
|
||||
|
|
@ -14,18 +15,17 @@
|
|||
-- 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 $
|
||||
-- $Id: create_publish_lock_table.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;
|
||||
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);
|
||||
|
||||
|
|
@ -192,7 +192,7 @@ public final class CMSConfig extends AbstractConfig {
|
|||
new DHTMLEditorConfigParameter(
|
||||
"com.arsdigita.cms.dhtml_editor_config",
|
||||
Parameter.REQUIRED,
|
||||
new DHTMLEditor.Config("XinhaConfig",
|
||||
new DHTMLEditor.Config("Xinha.Config",
|
||||
"/assets/xinha/CCMcmsXinhaConfig.js"));
|
||||
// previous parameter definition:
|
||||
// > DHTMLEditor.Config.STANDARD); <
|
||||
|
|
|
|||
|
|
@ -40,42 +40,50 @@ public final class BebopConfig extends AbstractConfig {
|
|||
|
||||
private static final Logger s_log = Logger.getLogger(BebopConfig.class);
|
||||
|
||||
private final Parameter m_presenter;
|
||||
private final Parameter m_page;
|
||||
/** Pointer to JTidy validation listener config file */
|
||||
private final Parameter m_tidy;
|
||||
private final Parameter m_fancyErrors;
|
||||
private final Parameter m_dcpOnButtons;
|
||||
private final Parameter m_dcpOnLinks;
|
||||
private final Parameter m_enableTreeSelect;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private final Parameter m_presenter = new SingletonParameter
|
||||
("waf.bebop.presentation_manager", Parameter.REQUIRED,
|
||||
new PageTransformer());
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private final Parameter m_page = new ClassParameter
|
||||
("waf.bebop.base_page", Parameter.REQUIRED, SimplePage.class);
|
||||
/** Pointer to JTidy validation listener config file */
|
||||
private final Parameter m_tidy = new StringParameter
|
||||
("waf.bebop.tidy_config_file", Parameter.REQUIRED,
|
||||
"com/arsdigita/bebop/parameters/tidy.properties");
|
||||
private final Parameter m_fancyErrors = new BooleanParameter
|
||||
("waf.bebop.fancy_xsl_errors",
|
||||
Parameter.REQUIRED,
|
||||
Boolean.FALSE);
|
||||
/** Double Click Protection, enabled by default for all buttons in a form.*/
|
||||
private final Parameter m_dcpOnButtons = new BooleanParameter
|
||||
("waf.bebop.dcp_on_buttons", Parameter.REQUIRED, Boolean.TRUE);
|
||||
/** Double Click Protection, disabled by default for all links. */
|
||||
private final Parameter m_dcpOnLinks = new BooleanParameter
|
||||
("waf.bebop.dcp_on_links", Parameter.REQUIRED, Boolean.FALSE);
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private final Parameter m_enableTreeSelect = new BooleanParameter
|
||||
("waf.bebop.enable_tree_select_attribute",
|
||||
Parameter.REQUIRED,
|
||||
Boolean.FALSE);
|
||||
/** List of supported DHTML editors, first one is default (Xinha) */
|
||||
private final EnumerationParameter m_dhtmlEditor;
|
||||
/** Path to DHTML editor source file, relativ to document root */
|
||||
private final Parameter m_dhtmlEditorSrcFile;
|
||||
private final Parameter m_showClassName;
|
||||
/** */
|
||||
private final Parameter m_showClassName = new BooleanParameter
|
||||
("waf.bebop.show_class_name", Parameter.OPTIONAL, Boolean.FALSE);
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public BebopConfig() {
|
||||
m_presenter = new SingletonParameter
|
||||
("waf.bebop.presentation_manager", Parameter.REQUIRED,
|
||||
new PageTransformer());
|
||||
|
||||
m_page = new ClassParameter
|
||||
("waf.bebop.base_page", Parameter.REQUIRED, SimplePage.class);
|
||||
|
||||
/* Pointer to JTidy validation listener config file */
|
||||
m_tidy = new StringParameter
|
||||
("waf.bebop.tidy_config_file", Parameter.REQUIRED,
|
||||
"com/arsdigita/bebop/parameters/tidy.properties");
|
||||
|
||||
m_fancyErrors = new BooleanParameter
|
||||
("waf.bebop.fancy_xsl_errors",
|
||||
Parameter.REQUIRED,
|
||||
Boolean.FALSE);
|
||||
|
||||
m_enableTreeSelect = new BooleanParameter
|
||||
("waf.bebop.enable_tree_select_attribute",
|
||||
Parameter.REQUIRED,
|
||||
Boolean.FALSE);
|
||||
|
||||
/** List of supported DHTML editors, first one is default (Xinha) */
|
||||
m_dhtmlEditor = new EnumerationParameter("waf.bebop.dhtml_editor",
|
||||
|
|
@ -89,14 +97,6 @@ public final class BebopConfig extends AbstractConfig {
|
|||
m_dhtmlEditorSrcFile = new StringParameter
|
||||
("waf.bebop.dhtml_editor_src", Parameter.REQUIRED,
|
||||
"/assets/xinha/XinhaLoader.js");
|
||||
|
||||
m_dcpOnButtons = new BooleanParameter
|
||||
("waf.bebop.dcp_on_buttons", Parameter.REQUIRED, Boolean.TRUE);
|
||||
m_dcpOnLinks = new BooleanParameter
|
||||
("waf.bebop.dcp_on_links", Parameter.REQUIRED, Boolean.FALSE);
|
||||
|
||||
m_showClassName = new BooleanParameter
|
||||
("waf.bebop.show_class_name", Parameter.OPTIONAL, Boolean.FALSE);
|
||||
|
||||
register(m_presenter);
|
||||
register(m_page);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ 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
|
||||
; To use FCKeditor configure:
|
||||
; waf.bebop.dhtml_editor=FCKeditor
|
||||
|
||||
waf.categorization.show_internal_name=true
|
||||
|
||||
|
|
@ -45,18 +46,16 @@ 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
|
||||
; Xinha is default and does work out of the box
|
||||
; A CCM specific configuration file is used to prevent a mess with the standard
|
||||
; configuration, default is:
|
||||
; 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
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,29 @@
|
|||
This directory should host custom site specific bundles which are not
|
||||
to be stored in the central software repository.
|
||||
|
||||
For each site specific bundle a subdirectory should be created which
|
||||
in turn hosts the bundles subdirectories cfg, res, templates and themes.
|
||||
|
||||
Example:
|
||||
|
||||
~/local/mysite
|
||||
~/local/mysite/cfg
|
||||
~/local/mysite/res
|
||||
~/local/mysite/templates
|
||||
~/local/mysite/themes
|
||||
|
||||
This site specific bundle is activated in local.ccm.properties by:
|
||||
|
||||
> ccm.bundle.folder=${ccm.project.dir}/ccm-sci-bundle/bundles/local/mysite
|
||||
|
||||
By default subversion is configured to ignore all unversioned lower case
|
||||
names in this directory so the directory mysite will not be stored in
|
||||
repository.
|
||||
|
||||
Instead it is recommended to store the bundle either in a seperate
|
||||
respository or in its own branch in the repository, eg.
|
||||
|
||||
> svn import -m 'Save mysite.' mysite https://myrepo.dom/svn/bundles/mysite
|
||||
|
||||
If other versioning systems are used their configuration should be created
|
||||
accordingly.
|
||||
|
|
@ -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-devel bundle integration.properties
|
||||
#
|
||||
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.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
|
||||
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-ldn-subsite application
|
||||
com.arsdigita.london.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/catgegories/iaw-nav-hierarchy-1.00.xml
|
||||
com.arsdigita.bundle.loader.domain_mappings=STD-NAV:/navigation/,STD-NAV:/generic/,STD-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-test?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 dev - containing only modules used for IAW devel stage -->
|
||||
<!-- 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-dabinpersonimporter"/>
|
||||
<ccm:application name="ccm-cms-publicpersonalprofile"/>
|
||||
<ccm:application name="ccm-user-preferences"/>
|
||||
|
||||
<!-- 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 (DEVEL)</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.london.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-ldn-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-ldn-subsite</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<!-- module ccm-ldn-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-ldn-subsite - servlet mappings BEGIN -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>subsite-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-subsite/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- module ccm-ldn-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,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.4devel
|
||||
RELEASE=1
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
# ZeS devel application.cfg
|
||||
#
|
||||
# Das devel bundle enthält die Modul Zusammensetzung der aktuellen
|
||||
# Entwicklungsversion und somit der *kommenden* ZeS Produktiv-Version
|
||||
#
|
||||
#
|
||||
# Main apps
|
||||
ccm-core
|
||||
ccm-cms
|
||||
|
||||
# Content assets
|
||||
ccm-cms-assets-fileattachment
|
||||
ccm-cms-assets-imagestep
|
||||
ccm-cms-assets-notes
|
||||
ccm-cms-assets-relatedlink
|
||||
|
||||
# Content types
|
||||
ccm-cms-types-address
|
||||
ccm-cms-types-article
|
||||
ccm-cms-types-bookmark
|
||||
ccm-cms-types-contact
|
||||
ccm-cms-types-event
|
||||
ccm-cms-types-filestorageitem
|
||||
ccm-cms-types-formitem
|
||||
ccm-cms-types-formsectionitem
|
||||
ccm-cms-types-mparticle
|
||||
ccm-cms-types-newsitem
|
||||
ccm-cms-types-person
|
||||
ccm-cms-types-siteproxy
|
||||
# -- xmlfeed wird moeglicherweise ebenfalls nicht gebraucht
|
||||
ccm-cms-types-xmlfeed
|
||||
|
||||
# Applications
|
||||
# ------------
|
||||
ccm-forum
|
||||
ccm-portalworkspace
|
||||
ccm-simplesurvey
|
||||
ccm-themedirector
|
||||
ccm-user-preferences
|
||||
|
||||
# ldn extensions
|
||||
# --------------
|
||||
ccm-ldn-navigation
|
||||
ccm-ldn-rss
|
||||
ccm-ldn-search
|
||||
ccm-ldn-shortcuts
|
||||
ccm-ldn-subsite
|
||||
ccm-ldn-terms
|
||||
ccm-ldn-util
|
||||
|
||||
# sci extensions
|
||||
# --------------
|
||||
ccm-cms-dabinimporter
|
||||
ccm-sci-publications
|
||||
ccm-sci-types-organization
|
||||
# integration layer
|
||||
ccm-zes-aplaws
|
||||
|
||||
|
|
@ -1,147 +0,0 @@
|
|||
# ZeS devel bundle integration.properties
|
||||
#
|
||||
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.categorization.supported_languages=de,en
|
||||
|
||||
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/aplaws-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_link_to_map=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
|
||||
|
||||
|
||||
# ?? Where are these used?
|
||||
com.arsdigita.cms.contenttypes.mparticle.template=/WEB-INF/content-types/com/arsdigita/cms/contenttypes/aplaws-mparticle-item.jsp
|
||||
|
||||
com.arsdigita.cms.contenttypes.siteproxy.defaulttemplate=/WEB-INF/content-types/com/arsdigita/cms/contenttypes/aplaws-siteproxy-item.jsp
|
||||
|
||||
|
||||
# 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/zes-default.jsp
|
||||
|
||||
|
||||
|
||||
# ccm-ldn-search application
|
||||
com.arsdigita.london.search.show_sponsored_links=true
|
||||
|
||||
|
||||
|
||||
# ccm-ldn-subsite application
|
||||
com.arsdigita.london.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
|
||||
|
||||
|
||||
# =============================================================================================
|
||||
# runtime specific configurations
|
||||
|
||||
waf.admin.email=webmaster@zes.uni-bremen.de
|
||||
waf.admin.name.given=ZeS
|
||||
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/zes?user\=zes&password\=zes47web&stringtype\=unspecified
|
||||
; waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/zes-testupd?user\=zes&password\=zes47web
|
||||
waf.runtime.jdbc_pool_size=30
|
||||
|
||||
waf.web.server=localhost\:8080
|
||||
|
||||
|
||||
# =============================================================================================
|
||||
# devel specific configurations
|
||||
waf.debug=true
|
||||
waf.bebop.fancy_xsl_errors=true
|
||||
|
||||
|
|
@ -1,107 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<!-- project.xml -IAW- containing only those modules used for IAW -->
|
||||
|
||||
<ccm:project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||
ccmVersion="6.1"
|
||||
name="aplaws-iaw"
|
||||
prettyName="APLAWS plus"
|
||||
version="1-1-4"
|
||||
release="r1107"
|
||||
webxml="web.xml-aplaws"
|
||||
webapp="ROOT"
|
||||
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd">
|
||||
|
||||
<ccm:build>
|
||||
|
||||
<!-- Main apps -->
|
||||
<!-- - - - - - -->
|
||||
<ccm:application name="ccm-core"/>
|
||||
<ccm:application name="ccm-cms"/>
|
||||
|
||||
<!-- Content Assets -->
|
||||
<!-- - - - - - - - -->
|
||||
<ccm:application name="ccm-cms-assets-fileattachment"/>
|
||||
<ccm:application name="ccm-cms-assets-imagestep"/>
|
||||
<ccm:application name="ccm-cms-assets-notes"/>
|
||||
<ccm:application name="ccm-cms-assets-relatedlink"/>
|
||||
|
||||
<!-- Content Types -->
|
||||
<!-- - - - - - - - -->
|
||||
<!-- <ccm:application name="ccm-cms-types-address"/> -->
|
||||
<!-- <ccm:application name="ccm-cms-types-agenda"/> -->
|
||||
<ccm:application name="ccm-cms-types-article"/>
|
||||
<ccm:application name="ccm-cms-types-bookmark"/>
|
||||
<!-- <ccm:application name="ccm-cms-types-contact"/> -->
|
||||
<!-- <ccm:application name="ccm-cms-types-esdservice"/> -->
|
||||
<ccm:application name="ccm-cms-types-event"/>
|
||||
<!-- <ccm:application name="ccm-cms-types-faqitem"/> -->
|
||||
<ccm:application name="ccm-cms-types-filestorageitem"/>
|
||||
<ccm:application name="ccm-cms-types-formitem"/>
|
||||
<ccm:application name="ccm-cms-types-formsectionitem"/>
|
||||
<!-- <ccm:application name="ccm-cms-types-glossaryitem"/> -->
|
||||
<!-- <ccm:application name="ccm-cms-types-htmlform"/> -->
|
||||
<!-- <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-motditem"/> -->
|
||||
<ccm:application name="ccm-cms-types-mparticle"/>
|
||||
<ccm:application name="ccm-cms-types-newsitem"/>
|
||||
<!-- <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-siteproxy"/>
|
||||
<!-- <ccm:application name="ccm-cms-types-xmlfeed"/> -->
|
||||
|
||||
<!-- Applications -->
|
||||
<!-- - - - - - - -->
|
||||
<!-- <ccm:application name="ccm-auth-http"/> -->
|
||||
<!-- <ccm:application name="ccm-bookmarks"/> -->
|
||||
<!-- temporarily excluded, produces errors in the build process
|
||||
<ccm:application name="ccm-docmngr"/> -->
|
||||
<!-- <ccm:application name="ccm-formbuilder-pdf"/> -->
|
||||
<!-- <ccm:application name="ccm-forum"/> -->
|
||||
<ccm:application name="ccm-navigation"/>
|
||||
<ccm:application name="ccm-portalworkspace"/>
|
||||
<ccm:application name="ccm-subsite"/>
|
||||
<ccm:application name="ccm-themedirector"/>
|
||||
<!-- <ccm:application name="ccm-simplesurvey"/> -->
|
||||
<!-- <ccm:application name="ccm-user-preferences"/> -->
|
||||
<!-- <ccm:application name="ccm-weblog"/> -->
|
||||
<!-- <ccm:application name="ccm-webpage"/> -->
|
||||
|
||||
<!-- LDN extension -->
|
||||
<!-- - - - - - - - -->
|
||||
<!-- <ccm:application name="ccm-ldn-aplaws"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-atoz"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-dublin"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-exporter"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-freeform"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-importer"/> -->
|
||||
<ccm:application name="ccm-ldn-rss"/>
|
||||
<ccm:application name="ccm-ldn-search"/>
|
||||
<ccm:application name="ccm-ldn-shortcuts"/>
|
||||
<ccm:application name="ccm-ldn-terms"/>
|
||||
<ccm:application name="ccm-ldn-util"/>
|
||||
|
||||
|
||||
<!-- IAW extension -->
|
||||
<!-- - - - - - - - -->
|
||||
<!-- <ccm:application name="ccm-cms-dabinimporter" />
|
||||
<ccm:application name="ccm-sci-types-organization"/>
|
||||
<ccm:application name="ccm-sci-publications"/>
|
||||
-->
|
||||
<ccm:application name="ccm-iaw-aplaws"/>
|
||||
|
||||
|
||||
|
||||
<!-- tools will be downloaded from trunk, but does not
|
||||
contain java code to be compiled!
|
||||
<ccm:application name="tools"/> -->
|
||||
|
||||
|
||||
</ccm:build>
|
||||
</ccm:project>
|
||||
|
|
@ -1,558 +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 ZeS</display-name>
|
||||
<description>Content and Collaboration Management</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.london.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-ldn-atoz - servlet definitions BEGIN
|
||||
NOT USED with ZeS
|
||||
<servlet>
|
||||
<servlet-name>atoz-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-ldn-atoz</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
module ccm-ldn-atoz - servlet definitions END -->
|
||||
|
||||
<!-- 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-ldn-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-ldn-subsite</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<!-- module ccm-ldn-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-ldn-atoz - servlet mappings BEGIN
|
||||
NOT USED HERE
|
||||
<servlet-mapping>
|
||||
<servlet-name>atoz-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-atoz/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
module ccm-ldn-atoz - servlet mappings END -->
|
||||
|
||||
<!-- 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-ldn-subsite - servlet mappings BEGIN -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>subsite-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-subsite/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- module ccm-ldn-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,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
|
||||
BUNDLE_PRETTY_NAME="APLAWS+ ZeS Standard Bundle"
|
||||
VERSION=1.1.4
|
||||
RELEASE=1
|
||||
|
|
@ -1,145 +0,0 @@
|
|||
# ZeS standard bundle integration.properties
|
||||
#
|
||||
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.categorization.supported_languages=de,en
|
||||
|
||||
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 doesn't 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/aplaws-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=webmaster@zes.uni-bremen.de
|
||||
|
||||
; 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.item_search.default_tab=search
|
||||
|
||||
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_link_to_map=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
|
||||
|
||||
|
||||
# ?? Where are these used?
|
||||
com.arsdigita.cms.contenttypes.mparticle.template=/WEB-INF/content-types/com/arsdigita/cms/contenttypes/aplaws-mparticle-item.jsp
|
||||
|
||||
com.arsdigita.cms.contenttypes.siteproxy.defaulttemplate=/WEB-INF/content-types/com/arsdigita/cms/contenttypes/aplaws-siteproxy-item.jsp
|
||||
|
||||
|
||||
# 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/zes-default.jsp
|
||||
|
||||
|
||||
|
||||
# ccm-ldn-search application
|
||||
com.arsdigita.london.search.show_sponsored_links=true
|
||||
|
||||
|
||||
|
||||
# ccm-ldn-subsite application
|
||||
com.arsdigita.london.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
|
||||
|
||||
|
||||
# =============================================================================================
|
||||
# runtime specific configurations
|
||||
|
||||
waf.admin.email=webmaster@zes.uni-bremen.de
|
||||
waf.admin.name.given=ZeS
|
||||
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/zes-test?user\=zes&password\=zes47web
|
||||
# waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/zes-testupd?user\=zes&password\=zes47web
|
||||
# waf.runtime.jdbc_url=jdbc\:postgresql\://134.102.3.27/zes?user\=zes&password\=zes47web
|
||||
waf.runtime.jdbc_pool_size=30
|
||||
|
||||
waf.web.server=localhost\:8080
|
||||
# waf.web.server=www.zes.uni-bremen.de\:80
|
||||
# waf.web.host=www.zes.uni-bremen.de\:80
|
||||
# waf.web.site_name=www.zes.uni-bremen.de
|
||||
|
|
@ -1,126 +0,0 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<!-- project.xml -ZeS- containing only those modules used for ZeS -->
|
||||
|
||||
<ccm:project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:ccm="http://ccm.redhat.com/ccm-project"
|
||||
ccmVersion="6.1"
|
||||
name="aplaws-zes"
|
||||
prettyName="APLAWS plus"
|
||||
version="1-1-5"
|
||||
release="r1136"
|
||||
webxml="web.xml-aplaws"
|
||||
webapp="ROOT"
|
||||
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd">
|
||||
|
||||
<ccm:build>
|
||||
|
||||
<!-- Main apps -->
|
||||
<!-- - - - - - -->
|
||||
<ccm:application name="ccm-core"/>
|
||||
<ccm:application name="ccm-cms"/>
|
||||
|
||||
<!-- Content Assets -->
|
||||
<!-- - - - - - - - -->
|
||||
<ccm:application name="ccm-cms-assets-fileattachment"/>
|
||||
<ccm:application name="ccm-cms-assets-imagestep"/>
|
||||
<ccm:application name="ccm-cms-assets-notes"/>
|
||||
<ccm:application name="ccm-cms-assets-relatedlink"/>
|
||||
|
||||
<!-- Content Types -->
|
||||
<!-- - - - - - - - -->
|
||||
<ccm:application name="ccm-cms-types-address"/>
|
||||
<ccm:application name="ccm-cms-types-article"/>
|
||||
<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-filestorageitem"/>
|
||||
<ccm:application name="ccm-cms-types-formitem"/>
|
||||
<ccm:application name="ccm-cms-types-formsectionitem"/>
|
||||
<ccm:application name="ccm-cms-types-mparticle"/>
|
||||
<ccm:application name="ccm-cms-types-newsitem"/>
|
||||
<ccm:application name="ccm-cms-types-person"/>
|
||||
<ccm:application name="ccm-cms-types-siteproxy"/>
|
||||
<ccm:application name="ccm-cms-types-xmlfeed"/>
|
||||
|
||||
<!-- Applications -->
|
||||
<!-- - - - - - - -->
|
||||
<ccm:application name="ccm-forum"/>
|
||||
<ccm:application name="ccm-navigation"/>
|
||||
<ccm:application name="ccm-portalworkspace"/>
|
||||
<ccm:application name="ccm-simplesurvey"/>
|
||||
<ccm:application name="ccm-subsite"/>
|
||||
<ccm:application name="ccm-themedirector"/>
|
||||
<ccm:application name="ccm-user-preferences"/>
|
||||
|
||||
<!-- LDN extension -->
|
||||
<!-- - - - - - - - -->
|
||||
<ccm:application name="ccm-ldn-rss"/>
|
||||
<ccm:application name="ccm-ldn-search"/>
|
||||
<ccm:application name="ccm-ldn-shortcuts"/>
|
||||
<ccm:application name="ccm-ldn-terms"/>
|
||||
<ccm:application name="ccm-ldn-util"/>
|
||||
|
||||
|
||||
<!-- ZeS extension (for new version 1.1.4) -->
|
||||
<!-- - - - - - - - - - - - - - - - - - - - -->
|
||||
<ccm:application name="ccm-sci-types-organization"/>
|
||||
<ccm:application name="ccm-sci-types-organizationwithpublications"/>
|
||||
<ccm:application name="ccm-sci-publications"/>
|
||||
<ccm:application name="ccm-cms-dabinimporter" />
|
||||
<!-- <ccm:application name="ccm-cms-publicpersonalprofile"/> -->
|
||||
|
||||
<ccm:application name="ccm-zes-aplaws"/>
|
||||
|
||||
|
||||
|
||||
<!-- tools will be downloaded from trunk, but does not
|
||||
contain java code to be compiled!
|
||||
<ccm:application name="tools"/> -->
|
||||
|
||||
|
||||
</ccm:build>
|
||||
|
||||
<!-- probable addons -->
|
||||
|
||||
<!-- Content Types -->
|
||||
<!-- - - - - - - - -->
|
||||
<!-- <ccm:application name="ccm-cms-types-agenda"/> -->
|
||||
<!-- <ccm:application name="ccm-cms-types-esdservice"/> -->
|
||||
<!-- <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-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-motditem"/> -->
|
||||
<!-- <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"/> -->
|
||||
<!-- temporarily excluded, produces errors in the build process
|
||||
<ccm:application name="ccm-docmngr"/> -->
|
||||
<!-- <ccm:application name="ccm-formbuilder-pdf"/> -->
|
||||
<!-- <ccm:application name="ccm-forum"/> -->
|
||||
<!-- <ccm:application name="ccm-simplesurvey"/> -->
|
||||
<!-- <ccm:application name="ccm-weblog"/> -->
|
||||
<!-- <ccm:application name="ccm-webpage"/> -->
|
||||
|
||||
<!-- LDN extension -->
|
||||
<!-- - - - - - - - -->
|
||||
<!-- <ccm:application name="ccm-ldn-aplaws"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-atoz"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-dublin"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-exporter"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-freeform"/> -->
|
||||
<!-- <ccm:application name="ccm-ldn-importer"/> -->
|
||||
|
||||
|
||||
</ccm:project>
|
||||
|
|
@ -1,558 +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 ZeS</display-name>
|
||||
<description>Content and Collaboration Management</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.london.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-ldn-atoz - servlet definitions BEGIN
|
||||
NOT USED with ZeS
|
||||
<servlet>
|
||||
<servlet-name>atoz-files</servlet-name>
|
||||
<servlet-class>com.arsdigita.web.ApplicationFileServlet</servlet-class>
|
||||
<init-param>
|
||||
<param-name>template-path</param-name>
|
||||
<param-value>/templates/ccm-ldn-atoz</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
module ccm-ldn-atoz - servlet definitions END -->
|
||||
|
||||
<!-- 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-ldn-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-ldn-subsite</param-value>
|
||||
</init-param>
|
||||
</servlet>
|
||||
<!-- module ccm-ldn-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-ldn-atoz - servlet mappings BEGIN
|
||||
NOT USED HERE
|
||||
<servlet-mapping>
|
||||
<servlet-name>atoz-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-atoz/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
module ccm-ldn-atoz - servlet mappings END -->
|
||||
|
||||
<!-- 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-ldn-subsite - servlet mappings BEGIN -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>subsite-files</servlet-name>
|
||||
<url-pattern>/ccm-ldn-subsite/files/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<!-- module ccm-ldn-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,48 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Document : domain-nav-zes-1.00.xml
|
||||
Created on : 8. Aug. 2007, 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="ZES-NAV"
|
||||
title="ZeS Navigation List"
|
||||
version="1.00" released="2007-08-10">
|
||||
|
||||
<terms:term id="1000" name="Institut" inAtoZ="false"/>
|
||||
<terms:term id="1200" name="Abteilungen" inAtoZ="false"/>
|
||||
<terms:term id="1220" name="Abteilung Theorie und Verfassung des Wohlfahrsstaates" inAtoZ="false"/>
|
||||
<terms:term id="1240" name="Abteilung Institutionen und Geschichte des Wohlfahrsstaates" inAtoZ="false"/>
|
||||
<terms:term id="1260" name="Wirtschaftswissenschaftliche Abteilung" inAtoZ="false"/>
|
||||
<terms:term id="1280" name="Abteilung Arbeit und Gesundheit" inAtoZ="false"/>
|
||||
<terms:term id="1300" name="Geschlechterpolitik im Wohlfahrtsstaat" inAtoZ="false"/>
|
||||
<terms:term id="1400" name="Mitglieder" inAtoZ="false"/>
|
||||
<terms:term id="1600" name="Bibliothek" inAtoZ="false"/>
|
||||
<terms:term id="1800" name="Ankündigungen" inAtoZ="false"/>
|
||||
|
||||
<terms:term id="3000" name="Forschung" inAtoZ="false"/>
|
||||
<terms:term id="3200" name="Projekte" inAtoZ="false"/>
|
||||
<terms:term id="3400" name="Veröffentlichungen" inAtoZ="false"/>
|
||||
<terms:term id="3420" name="Publikationen" inAtoZ="false"/>
|
||||
<terms:term id="3440" name="Arbeitspapiere" inAtoZ="false"/>
|
||||
<terms:term id="3460" name="Schriftenreihe" inAtoZ="false"/>
|
||||
<terms:term id="3480" name="ZeS Report" inAtoZ="false"/>
|
||||
<terms:term id="3500" name="Jahresberichte" inAtoZ="false"/>
|
||||
<terms:term id="3600" name="Gesundheitspolitisches Kolloquium" inAtoZ="false"/>
|
||||
<terms:term id="3800" name="Jour Fix" inAtoZ="false"/>
|
||||
<terms:term id="4000" name="Tagungen" inAtoZ="false"/>
|
||||
|
||||
<terms:term id="5000" name="Lehre und Studium" inAtoZ="false"/>
|
||||
<terms:term id="5200" name="Masterstudiengang Sozialpolitik" inAtoZ="false"/>
|
||||
<terms:term id="5400" name="Weitere Lehre" inAtoZ="false"/>
|
||||
|
||||
<terms:term id="9002" name="Archiv" inAtoZ="false"/>
|
||||
<terms:term id="9200" name="Informative Links" inAtoZ="false"/>
|
||||
|
||||
</terms:domain>
|
||||
|
||||
|
|
@ -1,229 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Document : hierarchy-nav-zes-1.00.xml
|
||||
Created on : 8. Aug. 2007, 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:orderedPair>
|
||||
<!-- narrower terms, first level -->
|
||||
<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>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1200"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1280"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1200"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1300"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<!-- narrower terms, second level END -->
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1400"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1600"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="1800"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="9002"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="1000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="9200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<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>
|
||||
|
||||
<!-- narrower terms, second level -->
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3400"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3420"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3400"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3440"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3400"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3460"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3400"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3480"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3400"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="3500"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<!-- narrower terms, second level END -->
|
||||
|
||||
<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>
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="3000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="4000"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="5000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="5200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
<terms:orderedPair>
|
||||
<terms:source>
|
||||
<terms:term id="5000"/>
|
||||
</terms:source>
|
||||
<terms:destination isDefault="true" isPreferred="true">
|
||||
<terms:term id="5200"/>
|
||||
</terms:destination>
|
||||
</terms:orderedPair>
|
||||
|
||||
</terms:hierarchy>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Subdirectory <cat> may optionally contain one or more local site specific
|
||||
import xml files for Terms domain categories.
|
||||
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
<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="false">
|
||||
|
||||
<define:component name="greetingItem"
|
||||
classname="com.arsdigita.navigation.ui.GreetingItem"/>
|
||||
<define:component name="sectionXML"
|
||||
classname="com.arsdigita.cms.contenttypes.ui.SciDepartmentWithPublicationsPanel"/>
|
||||
<jsp:scriptlet>
|
||||
com.arsdigita.cms.ContentItem item = (com.arsdigita.cms.ContentItem)((com.arsdigita.navigation.ui.GreetingItem) greetingItem).getObject();
|
||||
((com.arsdigita.cms.contenttypes.ui.SciDepartmentPanel) sectionXML).setContentItem(item);
|
||||
</jsp:scriptlet>
|
||||
<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.SimpleObjectList"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.cms.contenttypes.ui.SciDepartmentPanel)sectionXML).setPageSize(30);
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setDefinition(new CMSDataCollectionDefinition());
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setRenderer(new CMSDataCollectionRenderer());
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().setObjectType("com.arsdigita.cms.ContentPage");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().setDescendCategories(false);
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().addOrder("parent.categories.link.sortKey");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().setPageSize(30);
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("objectType");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("title");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "definition");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "summary");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "lead");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "description");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "eventDate");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "startDate" );
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "endDate");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "newsDate");
|
||||
</jsp:scriptlet>
|
||||
|
||||
<define:component name="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
<show:all/>
|
||||
</jsp:root>
|
||||
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/departmentDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("formerMember != true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("associatedMember != true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setOrder("surname asc, givenname asc");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/departmentDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("formerMember != true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("associatedMember = true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setOrder("surname asc, givenname asc");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet><![CDATA[
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/departmentDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/projects");
|
||||
|
||||
java.util.Calendar today = new java.util.GregorianCalendar();
|
||||
String todayDate = String.format("%d-%2d-%2d", today.get(java.util.Calendar.YEAR),
|
||||
today.get(java.util.Calendar.MONTH) + 1,
|
||||
today.get(java.util.Calendar.DAY_OF_MONTH));
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("projectend <= '" + todayDate + "'");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
]]></jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/departmentDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("formerMember = true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setOrder("surname asc, givenname asc");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/departmentDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setOrder("surname asc, givenname asc");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet><![CDATA[
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/departmentDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/projects");
|
||||
|
||||
java.util.Calendar today = new java.util.GregorianCalendar();
|
||||
String todayDate = String.format("%d-%2d-%2d", today.get(java.util.Calendar.YEAR),
|
||||
today.get(java.util.Calendar.MONTH) + 1,
|
||||
today.get(java.util.Calendar.DAY_OF_MONTH));
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("projectend > '" + todayDate + "'");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
]]></jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/departmentDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/projects");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciDepartment",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/departmentDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/subDepartments");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
<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="false">
|
||||
|
||||
<define:component name="greetingItem"
|
||||
classname="com.arsdigita.navigation.ui.GreetingItem"/>
|
||||
<define:component name="sectionXML"
|
||||
classname="com.arsdigita.cms.contenttypes.ui.SciMemberDemoPanel"/>
|
||||
|
||||
<jsp:scriptlet>
|
||||
com.arsdigita.cms.ContentItem item = (com.arsdigita.cms.ContentItem)((com.arsdigita.navigation.ui.GreetingItem) greetingItem).getObject();
|
||||
((com.arsdigita.cms.contenttypes.ui.SciMemberDemoPanel) sectionXML).setContentItem(item);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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.SimpleObjectList"/>
|
||||
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.cms.contenttypes.ui.SciMemberDemoPanel)sectionXML).setPageSize(20);
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setDefinition(new CMSDataCollectionDefinition());
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setRenderer(new CMSDataCollectionRenderer());
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().setObjectType("com.arsdigita.cms.ContentPage");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().setDescendCategories(false);
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().addOrder("parent.categories.link.sortKey");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().setPageSize(30);
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("objectType");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("title");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "definition");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "summary");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "lead");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "description");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "eventDate");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "startDate" );
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "endDate");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "newsDate");
|
||||
</jsp:scriptlet>
|
||||
|
||||
<define:component name="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
<show:all/>
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
<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="false">
|
||||
|
||||
<define:component name="greetingItem"
|
||||
classname="com.arsdigita.navigation.ui.GreetingItem"/>
|
||||
<define:component name="sectionXML"
|
||||
classname="com.arsdigita.cms.contenttypes.ui.SciOrganizationWithPublicationsPanel"/>
|
||||
<jsp:scriptlet>
|
||||
com.arsdigita.cms.ContentItem item = (com.arsdigita.cms.ContentItem)((com.arsdigita.navigation.ui.GreetingItem) greetingItem).getObject();
|
||||
((com.arsdigita.cms.contenttypes.ui.SciOrganizationPanel) sectionXML).setContentItem(item);
|
||||
</jsp:scriptlet>
|
||||
<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.SimpleObjectList"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.cms.contenttypes.ui.SciOrganizationPanel)sectionXML).setPageSize(30);
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setDefinition(new CMSDataCollectionDefinition());
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).setRenderer(new CMSDataCollectionRenderer());
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().setObjectType("com.arsdigita.cms.ContentPage");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().setDescendCategories(false);
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getDefinition().addOrder("parent.categories.link.sortKey");
|
||||
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().setPageSize(30);
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("objectType");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute("title");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "definition");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "summary");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "lead");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "description");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "eventDate");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "startDate" );
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "endDate");
|
||||
((com.arsdigita.navigation.ui.object.SimpleObjectList) itemList).getRenderer().addAttribute( "newsDate");
|
||||
</jsp:scriptlet>
|
||||
|
||||
<define:component name="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
<show:all/>
|
||||
</jsp:root>
|
||||
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/organizationDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/departments/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("formerMember != true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("associatedMember != true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setOrder("surname asc, givenname asc");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/organizationDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/departments/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("formerMember != true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("associatedMember = true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setOrder("surname asc, givenname asc");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/organizationDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/departments");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet><![CDATA[
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/organizationDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/projects");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/departments/projects");
|
||||
|
||||
java.util.Calendar today = new java.util.GregorianCalendar();
|
||||
String todayDate = String.format("%d-%2d-%2d", today.get(java.util.Calendar.YEAR),
|
||||
today.get(java.util.Calendar.MONTH) + 1,
|
||||
today.get(java.util.Calendar.DAY_OF_MONTH));
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("projectend <= '" + todayDate + "'");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
]]></jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/organizationDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/departments/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("formerMember = true");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setOrder("surname asc, givenname asc");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/organizationDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/departments/persons");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setOrder("surname asc, givenname asc");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet><![CDATA[
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/organizationDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/projects");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/departments/projects");
|
||||
|
||||
java.util.Calendar today = new java.util.GregorianCalendar();
|
||||
String todayDate = String.format("%d-%2d-%2d", today.get(java.util.Calendar.YEAR),
|
||||
today.get(java.util.Calendar.MONTH) + 1,
|
||||
today.get(java.util.Calendar.DAY_OF_MONTH));
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).addFilter("projectend > '" + todayDate + "'");
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
]]></jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
<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.NavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSNavigationModel"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionDefinition"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.cms.CMSDataCollectionRenderer"/>
|
||||
<jsp:directive.page import="com.arsdigita.cms.dispatcher.SimpleXMLGenerator"/>
|
||||
|
||||
|
||||
<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.CustomizableGreetingItem"/>
|
||||
<jsp:scriptlet>
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).loadTraversalAdapter("com.arsdigita.cms.contenttypes.SciOrganization",
|
||||
SimpleXMLGenerator.ADAPTER_CONTEXT);
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAttributeProperty("/object/organizationDescription");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().clearAssociationProperties();
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/projects");
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).getTraversalAdapter().addAssociationProperty("/object/departments/projects");
|
||||
|
||||
|
||||
((com.arsdigita.navigation.ui.CustomizableGreetingItem) greetingItem).setPageSize(20);
|
||||
</jsp:scriptlet>
|
||||
|
||||
<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="assignedTerms"
|
||||
classname="com.arsdigita.navigation.ui.CategoryIndexAssignedTerms"/>
|
||||
|
||||
</define:page>
|
||||
|
||||
<show:all/>
|
||||
|
||||
|
||||
</jsp:root>
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
<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:directive.page import="com.arsdigita.navigation.ui.object.CustomizableObjectList"/>
|
||||
<jsp:directive.page import="com.arsdigita.navigation.ui.object.CompareFilter"/>
|
||||
|
||||
<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="false">
|
||||
<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.CustomizableObjectList"/>
|
||||
|
||||
<jsp:scriptlet>
|
||||
CustomizableObjectList objList = (CustomizableObjectList) itemList;
|
||||
objList.setDefinition(new CMSDataCollectionDefinition());
|
||||
objList.setRenderer(new CMSDataCollectionRenderer());
|
||||
objList.setCustomName("SciProjectList");
|
||||
objList.getDefinition().setObjectType("com.arsdigita.cms.contenttypes.SciProject");
|
||||
objList.getDefinition().setDescendCategories(false);
|
||||
objList.addTextFilter("title", "title");
|
||||
|
||||
java.util.GregorianCalendar now = new java.util.GregorianCalendar();
|
||||
String today = String.format("%d-%02d-%02d", now.get(java.util.GregorianCalendar.YEAR),
|
||||
now.get(java.util.GregorianCalendar.MONTH) + 1,
|
||||
now.get(java.util.GregorianCalendar.DATE));
|
||||
|
||||
objList.addCompareFilter("projectend", "projectstatus", true, true, false)
|
||||
.addOption("ongoing", CompareFilter.Operators.GTEQ, today, true)
|
||||
.addOption("finished", CompareFilter.Operators.LT, today, false);
|
||||
objList.addSortField("title", "title asc");
|
||||
objList.getDefinition().addOrder(objList.getOrder(request.getParameter("sort")));
|
||||
|
||||
objList.getRenderer().setPageSize(20);
|
||||
objList.getRenderer().setSpecializeObjects(true);
|
||||
objList.getRenderer().setSpecializeObjectsContext("sciProjectList");
|
||||
|
||||
</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,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.
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
--
|
||||
-- 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: upd_cms_tables.sql pboy $
|
||||
|
||||
-- adjust cms tables to the new name of application subsite
|
||||
|
||||
|
||||
update content_sections
|
||||
set template_resolver_class = replace(template_resolver_class,
|
||||
'london.subsite', 'subsite');
|
||||
|
||||
|
|
@ -18,5 +18,13 @@
|
|||
-- $DateTime: 2011/03/27 23:15:09 $
|
||||
-- $Id: oracle-se-6.6.0-6.6.1 pboy $
|
||||
|
||||
@@ default/6.6.0-6.6.1/upd_theme_app_table.sql
|
||||
-- drop table subsite_app - not needed anyway
|
||||
@@ default/6.6.0-6.6.1/drop_app_table.sql
|
||||
-- rename table containing defined subsites following ccm naming conventions
|
||||
@@ default/6.6.0-6.6.1/ren_sites_table.sql
|
||||
-- rename application from london.subsite to subsite
|
||||
@@ default/6.6.0-6.6.1/upd_system_tables.sql
|
||||
-- remove legacy compatible bits
|
||||
@@ default/6.6.0-6.6.1/remove_legacy_entries.sql
|
||||
-- adjust class name in content_sections table
|
||||
@@ default/6.6.0-6.6.1/upd_cms_tables.sql
|
||||
|
|
|
|||
|
|
@ -33,4 +33,7 @@ begin;
|
|||
-- remove legacy compatible bits
|
||||
\i default/6.6.0-6.6.1/remove_legacy_entries.sql
|
||||
|
||||
-- adjust class name in content_sections table
|
||||
\i default/6.6.0-6.6.1/upd_cms_tables.sql
|
||||
|
||||
commit;
|
||||
|
|
|
|||
Loading…
Reference in New Issue