ccm-sci-bundle jetzt für demo, dev, local/iaw-std und local/iaw-dev in der endgültigen Fassung.

local/iaw-??? kann als Muster für eigene locale Konfigurationen genutzt werden.

git-svn-id: https://svn.libreccm.org/ccm/trunk@1244 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2011-11-12 14:26:06 +00:00
parent 0ca2616746
commit 9673ff8af8
27 changed files with 635 additions and 624 deletions

View File

@ -1,4 +1,4 @@
# Scientific CMS devel bundle integration.properties
# Scientific CMS demo bundle integration.properties
#
waf.bebop.base_page=com.arsdigita.aplaws.ui.SimplePage
#
@ -8,7 +8,6 @@ waf.bebop.base_page=com.arsdigita.aplaws.ui.SimplePage
#waf.bebop.dhtml_editor=FCKeditor
waf.categorization.show_internal_name=true
waf.categorization.supported_languages=de,en
waf.dispatcher.default_expiry=3600
;
@ -74,7 +73,10 @@ 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
@ -97,7 +99,7 @@ com.arsdigita.forum.disable_page_caching=true
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=WEB-INF/navigation/sci-templates.txt
com.arsdigita.navigation.templates_file=bundle/navigation/sci-templates.txt
# ccm-ldn-search application
@ -110,13 +112,13 @@ com.arsdigita.london.subsite.root_category_picker=com.arsdigita.london.terms.ui.
# ccm-ldn-themedirector application
themedirector.default_theme_context=
themedirector.default_theme_manifest=ccm-zes-aplaws.web.mf
# 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.category_files=WEB-INF/sci/sci-nav-domain-1.00.xml,WEB-INF/sci/sci-nav-hierarchy-1.00.xml
#com.arsdigita.bundle.category_files=bundle/categories/sci-nav-domain-1.00.xml,bundle/categories/sci-nav-hierarchy-1.00.xml
# =============================================================================================
# runtime specific configurations
@ -136,6 +138,6 @@ waf.web.server=localhost\:8080
# =============================================================================================
# devel specific configurations
waf.debug=true
waf.bebop.fancy_xsl_errors=true
#waf.debug=true
#waf.bebop.fancy_xsl_errors=true

View File

@ -9,7 +9,7 @@
prettyName="Scientific CMS"
version="1-1-6"
release="devel"
webxml="web.xml-sci"
webxml="web-sci.xml"
webapp="ROOT"
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd">

View File

@ -1 +0,0 @@
Dummy file for developing & testing purpose

View File

@ -8,7 +8,6 @@ waf.bebop.base_page=com.arsdigita.aplaws.ui.SimplePage
#waf.bebop.dhtml_editor=FCKeditor
waf.categorization.show_internal_name=true
waf.categorization.supported_languages=de,en
waf.dispatcher.default_expiry=3600
;
@ -74,7 +73,10 @@ 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
@ -110,13 +112,13 @@ com.arsdigita.london.subsite.root_category_picker=com.arsdigita.london.terms.ui.
# ccm-ldn-themedirector application
themedirector.default_theme_context=
themedirector.default_theme_manifest=ccm-zes-aplaws.web.mf
# 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.category_files=bundle/categories/sci-nav-domain-1.00.xml,WEB-INF/sci/sci-nav-hierarchy-1.00.xml
#com.arsdigita.bundle.category_files=bundle/categories/sci-nav-domain-1.00.xml,bundle/categories/sci-nav-hierarchy-1.00.xml
# =============================================================================================
# runtime specific configurations

View File

@ -9,7 +9,7 @@
prettyName="Scientific CMS"
version="1-1-6"
release="devel"
webxml="web.xml-sci"
webxml="web-sci.xml"
webapp="ROOT"
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd">

View File

@ -1 +0,0 @@
Dummy file for developing & testing purpose

View File

@ -1,4 +1,4 @@
# Scientific CMS devel bundle integration.properties
# Scientific CMS IAW-devel bundle integration.properties
#
waf.bebop.base_page=com.arsdigita.aplaws.ui.SimplePage
#
@ -8,7 +8,6 @@ waf.bebop.base_page=com.arsdigita.aplaws.ui.SimplePage
#waf.bebop.dhtml_editor=FCKeditor
waf.categorization.show_internal_name=true
waf.categorization.supported_languages=de,en
waf.dispatcher.default_expiry=3600
;
@ -74,7 +73,10 @@ 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
@ -87,16 +89,17 @@ 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
#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.default_template=/templates/ccm-navigation/navigation/sci-default.jsp
com.arsdigita.navigation.templates_file=bundle/navigation/iaw-templates.txt
# ccm-ldn-search application
@ -107,25 +110,28 @@ com.arsdigita.london.search.show_sponsored_links=true
com.arsdigita.london.subsite.root_category_picker=com.arsdigita.london.terms.ui.RootCategoryPicker
# ccm-themedirector application
# ccm-ldn-themedirector application
themedirector.default_theme_context=
#themedirector.default_theme_manifest=ccm-zes-aplaws.web.mf
# 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.category_files=bundle/categories/iaw-nav-domain-1.00.xml,bundle/catgegories/iaw-nav-hierarchy-1.00.xml
# =============================================================================================
# runtime specific configurations
waf.admin.email=webmaster@scientificCMS.org
waf.admin.name.given=SCI
waf.admin.email=webmaster@iaw.uni-bremen.de
waf.admin.name.given=IAW
waf.admin.name.family=Administrator
waf.admin.password=sci2000
waf.admin.password=nge2015
waf.admin.password.question=12345
waf.admin.password.answer=6
waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/ccm-sci?user\=sci&password\=sci47web&stringtype\=unspecified
waf.runtime.jdbc_pool_size=30
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

View File

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- project.xml SCI devel - containing only modules used for ScientificCMS -->
<!-- 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"
prettyName="Scientific CMS IAW edition"
version="1-1-6"
release="devel"
webxml="web.xml-sci"
webxml="web-iaw.xml"
webapp="ROOT"
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd">
@ -65,24 +66,23 @@
<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-image"/>
<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"/>
<!-- Applications -->
<ccm:application name="ccm-cms-dabinpersonimporter"/>
<ccm:application name="ccm-cms-publicpersonalprofile"/>
<ccm:application name="ccm-portalserver"/>
<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-publications"/>
-->
<ccm:application name="ccm-sci-types-member"/>
@ -98,14 +98,15 @@
<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-siteproxy"/>
<ccm:application name="ccm-cms-types-xmlfeed"/>
-->
@ -114,11 +115,12 @@
<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"/>
-->

View File

@ -4,7 +4,7 @@
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>Scientific CMS</display-name>
<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

View File

@ -0,0 +1,55 @@
<?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>

View File

@ -0,0 +1,247 @@
<?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>

View File

@ -0,0 +1,11 @@
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

View File

@ -0,0 +1,3 @@
Subdirectory <cat> may optionally contain one or more local site specific
import xml files for Terms domain categories.

View File

@ -0,0 +1,83 @@
<%--
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 &lt;= :today) or (endDate is null and startDate &lt;= :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>

View File

@ -0,0 +1,83 @@
<%--
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 &gt;= :today and (endTime &gt; :time or endTime is null)) or (endDate is null and startDate &gt;= :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>

View File

@ -0,0 +1,12 @@
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

View File

@ -0,0 +1,13 @@
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!

View File

@ -0,0 +1 @@
Just a dummy file for test purpose during development.

View File

@ -1,4 +1,4 @@
# Scientific CMS devel bundle integration.properties
# Scientific CMS IAW-std bundle integration.properties
#
waf.bebop.base_page=com.arsdigita.aplaws.ui.SimplePage
#
@ -8,7 +8,6 @@ waf.bebop.base_page=com.arsdigita.aplaws.ui.SimplePage
#waf.bebop.dhtml_editor=FCKeditor
waf.categorization.show_internal_name=true
waf.categorization.supported_languages=de,en
waf.dispatcher.default_expiry=3600
;
@ -74,7 +73,10 @@ 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
@ -87,16 +89,17 @@ 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
#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
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
@ -109,29 +112,32 @@ com.arsdigita.london.subsite.root_category_picker=com.arsdigita.london.terms.ui.
# ccm-ldn-themedirector application
themedirector.default_theme_context=
themedirector.default_theme_manifest=ccm-zes-aplaws.web.mf
# 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.category_files=bundle/categories/iaw-nav-domain-1.00.xml,bundle/catgegories/iaw-nav-hierarchy-1.00.xml
# =============================================================================================
# runtime specific configurations
waf.admin.email=webmaster@scientificCMS.org
waf.admin.name.given=SCI
waf.admin.email=webmaster@iaw.uni-bremen.de
waf.admin.name.given=IAW
waf.admin.name.family=Administrator
waf.admin.password=sci2000
waf.admin.password=nge2015
waf.admin.password.question=12345
waf.admin.password.answer=6
waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/ccm-sci?user\=sci&password\=sci47web&stringtype\=unspecified
waf.runtime.jdbc_pool_size=30
waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/iaw-114?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
#waf.debug=true
#waf.bebop.fancy_xsl_errors=true

View File

@ -1,15 +1,16 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- project.xml SCI devel - containing only modules used for ScientificCMS -->
<!-- project.xml IAW std - containing only modules used for IAW production -->
<!-- last check: 2011-11-11 -->
<ccm:project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ccm="http://ccm.redhat.com/ccm-project"
ccmVersion="6.1"
name="ScientificCMS"
prettyName="Scientific CMS"
prettyName="Scientific CMS IAW edition"
version="1-1-6"
release="devel"
webxml="web.xml-sci"
webxml="web-iaw.xml"
webapp="ROOT"
xsi:schemaLocation="http://ccm.redhat.com/ccm-project file:tools-ng/common/xsd/project.xsd">
@ -65,24 +66,23 @@
<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-image"/>
<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"/>
<!-- Applications -->
<ccm:application name="ccm-cms-dabinpersonimporter"/>
<ccm:application name="ccm-cms-publicpersonalprofile"/>
<ccm:application name="ccm-portalserver"/>
<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-publications"/>
-->
<ccm:application name="ccm-sci-types-member"/>
@ -98,14 +98,15 @@
<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-siteproxy"/>
<ccm:application name="ccm-cms-types-xmlfeed"/>
-->
@ -114,11 +115,12 @@
<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"/>
-->

View File

@ -4,7 +4,7 @@
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>Scientific CMS</display-name>
<display-name>CCM IAW</display-name>
<description>Content and Collaboration Management for Scientific Institutions</description>
<!-- path and filename of the log4j user accessible config file

View File

@ -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>Scientific CMS</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>

View File

@ -0,0 +1,11 @@
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

View File

@ -189,7 +189,7 @@
</property>
</xsl:when>
<xsl:otherwise>
<property name="webxml.source.file" value="web.xml-core"/>
<property name="webxml.source.file" value="web.ccm-core.xml"/>
</xsl:otherwise>
</xsl:choose>
<echo message="web.xml file requested: ${{webxml.source.file}}" />
@ -1202,38 +1202,52 @@
</xsl:attribute>
</target>
<target name="copy-webxml-init" depends="init">
<!-- Determines whether web.xml as specified in webxml.source.file exists,
determines its fully qualified file name and stores it in
property "resolved.webxml.source.file" -->
<target name="copy-webxml-init" depends="copy-bundle-init,init">
<available file="${{this.deploy.dir}}/WEB-INF" type="dir"
property="root.webapp.exists"/>
<!--
<echo message="TEST 1: ${{resolved.bundle.source.dir}}"/>
<echo message="TEST 2: ${{webxml.source.file}}"/> -->
<!-- First check, if file exist in bundle dir -->
<condition property="resolved.webxml.source.file"
value="${{resolved.bundle.source.dir}}/cfg/${{webxml.source.file}}">
<and>
<isset property="root.webapp.exists"/>
<available file="${{resolved.bundle.source.dir}}/cfg/${{webxml.source.file}}"/>
<not>
<isset property="resolved.webxml.source.file"/>
</not>
</and>
</condition>
<!-- Otherwise the file should already be in WEB-INF -->
<condition property="resolved.webxml.source.file"
value="${{this.deploy.dir}}/WEB-INF/${{webxml.source.file}}">
<and>
<isset property="root.webapp.exists"/>
<available file="${{this.deploy.dir}}/WEB-INF/${{webxml.source.file}}"/>
<not>
<available file="${{webxml.source.file}}"/>
<isset property="resolved.webxml.source.file"/>
</not>
</and>
</condition>
<condition property="resolved.webxml.source.file"
value="${{webxml.source.file}}">
<not>
<isset property="resolved.webxml.source.file"/>
</not>
</condition>
<echo message="web.xml to use: ${{this.deploy.dir}}/WEB-INF/${{webxml.source.file}}" />
<echo message="web.xml to use: ${{resolved.webxml.source.file}}" />
</target>
<!-- Determines which web.xml should be used (as specified in project.xml),
copies this file into WEB-INF.xml and invokes merge-xml to merge the
web.*.xml stub of each module (it exist) into that file as necessary -->
<!-- Uses target copy-webxml-init to determines which web.xml should
be used (as specified in project.xml), copies this file into
WEB-INF.xml and invokes merge-xml to merge the web.*.xml stub of
each module (it exist) into that file as necessary -->
<target name="copy-webxml"
depends="init,copy-webxml-init" if="root.webapp.exists">
<copy file="${{resolved.webxml.source.file}}"
tofile="${{this.deploy.dir}}/WEB-INF/web.xml" overwrite="yes"/>
tofile="${{this.deploy.dir}}/WEB-INF/web.xml" overwrite="yes"/>
<foreach param="file" target="merge-webxml">
<path>
<fileset dir="${{this.deploy.dir}}/WEB-INF" includes="web.*.xml"/>
<fileset dir="${{this.deploy.dir}}/WEB-INF" includes="web.ccm-*.xml"/>
</path>
</foreach>
</target>
@ -1243,8 +1257,8 @@
<property name="customWebXML" value="${{file}}"/>
<property name="originalWebXML" value="${{this.deploy.dir}}/WEB-INF/web.xml"/>
<property name="mergedWebXML" value="${{customWebXML}}.merged"/>
<!-- manager property javax avoids dependency on bsf which introduced a lot
of cross-OS problems -->
<!-- manager property javax avoids dependency on bsf which introduced
a lot of cross-OS problems -->
<script language="javascript" manager="javax">
<classpath>
<fileset dir="tools-ng/webxml/lib" includes="*.jar"/>