Nachhalten der module shp und zes mit neuem Installationsort aller trunk Module

git-svn-id: https://svn.libreccm.org/ccm/trunk@85 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2009-02-21 19:28:23 +00:00
parent e8975a4fd3
commit b397b6f4f8
43 changed files with 5287 additions and 556 deletions

View File

@ -4,6 +4,9 @@
<web-app>
<display-name>CCM</display-name>
<description>Content and Collaboration Management</description>
<filter>
<filter-name>shortcuts</filter-name>
<filter-class>com.arsdigita.london.shortcuts.ShortcutFilter</filter-class>
@ -16,7 +19,10 @@
<filter-mapping>
<filter-name>subsite</filter-name>
<url-pattern>/ccm/*</url-pattern>
<!-- please check: with or w/o ccm?
<url-pattern>/*</url-pattern>
-->
</filter-mapping>
<filter-mapping>
@ -24,12 +30,20 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- The Context Listener is required and used for initializing the runtime
environment before any other task is performed or any servlet initialized. -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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>
@ -86,7 +100,10 @@
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
</servlet>
<!-- ADDITIONAL SERVLET DECLARATIONS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET DECLARATIONS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet>
<servlet-name>content-section</servlet-name>
@ -108,6 +125,7 @@
<servlet-class>com.arsdigita.cms.dispatcher.TemplateXSLServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>TextOnlyServlet</servlet-name>
<display-name>Text Only Servlet</display-name>
@ -132,17 +150,27 @@
</init-param>
</servlet>
<servlet>
<servlet-name>ThemePreviewServlet</servlet-name>
<display-name>Servlet to allow admins to preview look/feel</display-name>
<servlet-class>
com.arsdigita.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET DECLARATIONS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet definitions BEGIN -->
<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 -->
<!-- XXX hack -->
@ -172,17 +200,130 @@
<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-ldn-themes - 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-ldn-theme</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ThemeDownload</servlet-name>
<servlet-class>com.arsdigita.london.theme.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.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- module ccm-ldn-themes - servlet declarations END -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET MAPPINGS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet mappings BEGIN -->
<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>reg</servlet-name>
<url-pattern>/__ccm__/null/reg/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>portal-files</servlet-name>
<url-pattern>/ccm-ldn-portal/files/*</url-pattern>
@ -193,7 +334,71 @@
<url-pattern>/ccm-ldn-navigation/files/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET DECLARATIONS -->
<!-- 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-ldn-theme - 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-ldn-themes - 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>
@ -230,7 +435,10 @@
<url-pattern>/resource/*</url-pattern>
</servlet-mapping>
<!-- ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET MAPPINGS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet-mapping>
<servlet-name>content-section</servlet-name>
@ -238,13 +446,13 @@
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
<servlet-name>content-item-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-item-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
@ -262,13 +470,10 @@
<url-pattern>/print/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ThemePreviewServlet</servlet-name>
<url-pattern>/theme/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR PAGES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<error-page>
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-type>
@ -295,10 +500,28 @@
<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

@ -4,6 +4,9 @@
<web-app>
<display-name>CCM</display-name>
<description>Content and Collaboration Management</description>
<filter>
<filter-name>shortcuts</filter-name>
<filter-class>com.arsdigita.london.shortcuts.ShortcutFilter</filter-class>
@ -16,7 +19,10 @@
<filter-mapping>
<filter-name>subsite</filter-name>
<url-pattern>/ccm/*</url-pattern>
<!-- please check: with or w/o ccm?
<url-pattern>/*</url-pattern>
-->
</filter-mapping>
<filter-mapping>
@ -24,12 +30,20 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- The Context Listener is required and used for initializing the runtime
environment before any other task is performed or any servlet initialized. -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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>
@ -86,7 +100,10 @@
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
</servlet>
<!-- ADDITIONAL SERVLET DECLARATIONS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET DECLARATIONS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet>
<servlet-name>content-section</servlet-name>
@ -108,6 +125,7 @@
<servlet-class>com.arsdigita.cms.dispatcher.TemplateXSLServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>TextOnlyServlet</servlet-name>
<display-name>Text Only Servlet</display-name>
@ -132,17 +150,27 @@
</init-param>
</servlet>
<servlet>
<servlet-name>ThemePreviewServlet</servlet-name>
<display-name>Servlet to allow admins to preview look/feel</display-name>
<servlet-class>
com.arsdigita.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET DECLARATIONS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet definitions BEGIN -->
<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 -->
<!-- XXX hack -->
@ -172,17 +200,130 @@
<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-ldn-themes - 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-ldn-theme</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ThemeDownload</servlet-name>
<servlet-class>com.arsdigita.london.theme.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.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- module ccm-ldn-themes - servlet declarations END -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET MAPPINGS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet mappings BEGIN -->
<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>reg</servlet-name>
<url-pattern>/__ccm__/null/reg/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>portal-files</servlet-name>
<url-pattern>/ccm-ldn-portal/files/*</url-pattern>
@ -193,7 +334,71 @@
<url-pattern>/ccm-ldn-navigation/files/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET DECLARATIONS -->
<!-- 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-ldn-theme - 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-ldn-themes - 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>
@ -230,7 +435,10 @@
<url-pattern>/resource/*</url-pattern>
</servlet-mapping>
<!-- ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET MAPPINGS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet-mapping>
<servlet-name>content-section</servlet-name>
@ -238,13 +446,13 @@
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
<servlet-name>content-item-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-item-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
@ -262,13 +470,10 @@
<url-pattern>/print/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ThemePreviewServlet</servlet-name>
<url-pattern>/theme/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR PAGES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<error-page>
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-type>
@ -295,10 +500,28 @@
<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

@ -4,6 +4,9 @@
<web-app>
<display-name>CCM</display-name>
<description>Content and Collaboration Management</description>
<filter>
<filter-name>shortcuts</filter-name>
<filter-class>com.arsdigita.london.shortcuts.ShortcutFilter</filter-class>
@ -17,6 +20,9 @@
<filter-mapping>
<filter-name>subsite</filter-name>
<url-pattern>/ccm/*</url-pattern>
<!-- please check: with or w/o ccm?
<url-pattern>/*</url-pattern>
-->
</filter-mapping>
<filter-mapping>
@ -24,13 +30,21 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- The Context Listener is required and used for initializing the runtime
environment before any other task is performed or any servlet initialized. -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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>
<servlet>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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>
@ -86,37 +100,32 @@
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
</servlet>
<!-- ADDITIONAL SERVLET DECLARATIONS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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-item-xsl</servlet-name>
<servlet-class>com.arsdigita.cms.dispatcher.ContentItemXSLServlet</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>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>
org.apache.axis.transport.http.AxisServlet
</servlet-class>
</servlet>
<servlet>
<servlet-name>TextOnlyServlet</servlet-name>
<display-name>Text Only Servlet</display-name>
@ -141,17 +150,27 @@
</init-param>
</servlet>
<servlet>
<servlet-name>ThemePreviewServlet</servlet-name>
<display-name>Servlet to allow admins to preview look/feel</display-name>
<servlet-class>
com.arsdigita.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET DECLARATIONS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet definitions BEGIN -->
<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 -->
<!-- XXX hack -->
@ -181,6 +200,124 @@
<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-ldn-themes - 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-ldn-theme</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ThemeDownload</servlet-name>
<servlet-class>com.arsdigita.london.theme.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.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- module ccm-ldn-themes - servlet declarations END -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET MAPPINGS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet mappings BEGIN -->
<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>
@ -197,7 +334,71 @@
<url-pattern>/ccm-ldn-navigation/files/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET DECLARATIONS -->
<!-- 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-ldn-theme - 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-ldn-themes - 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>
@ -234,7 +435,10 @@
<url-pattern>/resource/*</url-pattern>
</servlet-mapping>
<!-- ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET MAPPINGS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet-mapping>
<servlet-name>content-section</servlet-name>
@ -256,11 +460,6 @@
<url-pattern>/__ccm__/servlet/template/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>TextOnlyServlet</servlet-name>
<url-pattern>/text/*</url-pattern>
@ -271,12 +470,10 @@
<url-pattern>/print/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ThemePreviewServlet</servlet-name>
<url-pattern>/theme/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR PAGES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<error-page>
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-type>
@ -303,13 +500,20 @@
<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>
<!-- TAGLIBS -->
<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>

View File

@ -4,7 +4,12 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- IMPORT DEFINITIONS ccm-ldn-atoz installed as separate web application
<xsl:import href="../../../../ccm-ldn-atoz/__ccm__/apps/atoz/xsl/index.xsl"/>
-->
<!-- IMPORT DEFINITIONS ccm-ldn-atoz installed into the main CCM webapp
-->
<xsl:import href="../../../__ccm__/apps/atoz/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -11,22 +11,28 @@
exclude-result-prefixes="xsl bebop aplaws ui cms nav search atoz"
version="1.0">
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/index.xsl"/>
<xsl:import href="lib/header.xsl"/>
<xsl:import href="lib/lib.xsl"/>
<xsl:import href="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/>
<xsl:param name="context-prefix"></xsl:param>
<xsl:param name="dispatcher-prefix" />
<xsl:param name="theme-prefix" />
<!-- IMPORT DEFINITIONS ccm-ldn-atoz installed as separate web application
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/index.xsl"/>
-->
<xsl:output
<!-- IMPORT DEFINITIONS ccm-ldn-atoz installed into the main CCM webapp
-->
<xsl:import href="../../../__ccm__/apps/content-section/xsl/index.xsl"/>
<xsl:import href="lib/header.xsl"/>
<xsl:import href="lib/lib.xsl"/>
<xsl:import href="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/>
<xsl:param name="context-prefix"></xsl:param>
<xsl:param name="dispatcher-prefix" />
<xsl:param name="theme-prefix" />
<xsl:output
method="html"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
indent="yes"
/>
/>
<xsl:template match="bebop:page[@application='atoz']">
<html lang="en">

View File

@ -12,13 +12,39 @@
<xsl:param name="theme-prefix" />
<xsl:template match="cms:emptyPage[@title='childCategories']">
<xsl:choose>
<xsl:when test="cms:category/@order='sortKey'">
<xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat">
<xsl:with-param name="expand" select="'none'"/>
<xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat">
<xsl:sort data-type="text" select="@name"/>
<xsl:with-param name="expand" select="'none'"/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="cms:emptyPage[@title='autoCategories']">
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" />
<xsl:choose>
<xsl:when test="cms:category/@order='sortKey'">
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" >
<xsl:with-param name="expand" select="'none'"/>
<xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" >
<xsl:sort data-type="text" select="@name"/>
<xsl:with-param name="expand" select="'none'"/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,308 @@
<xsl:stylesheet xmlns:forum="http://www.arsdigita.com/forum/1.0"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:nav="http://ccm.redhat.com/london/navigation"
xmlns:search="http://rhea.redhat.com/search/1.0"
xmlns:portal="http://www.uk.arsdigita.com/portal/1.0"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
exclude-result-prefixes="xsl bebop nav search portal forum cms"
version="1.0">
<!-- IMPORT DEFINITIONS ccm-forum installed as separate web application
<xsl:import href="../../../../ROOT/__ccm__/themes/aplaws/category-step.xsl"/>
<xsl:import href="../../../../ROOT/__ccm__/static/cms/admin/category-step/category-step.xsl"/>
-->
<!-- IMPORT DEFINITIONS ccm-forum installed into the main CCM webapp
-->
<xsl:import href="../../../__ccm__/themes/aplaws/category-step.xsl"/>
<xsl:import href="../../../__ccm__/static/cms/admin/category-step/category-step.xsl"/>
<xsl:output method="html" indent="yes"/>
<xsl:template match="forum:categoryStepSummary">
<div class="content">
<h3>Assign Categories</h3>
<br/>
<xsl:for-each select="forum:categoryRoots/forum:categoryRoot">
<xsl:sort select="@name"/>
<xsl:variable name="name">
<xsl:value-of select="@name"/>
</xsl:variable>
<h5><xsl:value-of select="$name"/></h5>
<br/>
<xsl:if test="@addAction">
<script LANGUAGE="JavaScript">
<![CDATA[ <!-- begin script ]]>
<![CDATA[ document.write('<a href="]]><xsl:value-of select="@addJSAction"/><![CDATA["><img src="/assets/action-add.png" border="0"/></a>')]]>
<![CDATA[ document.write("\<!--") ]]>
<![CDATA[ // end script --> ]]>
</script>
<a href="{@addAction}">
<img src="/assets/action-add.png" border="0"/>
</a>
<script LANGUAGE="JavaScript">
<![CDATA[ <!-- begin script ]]>
<![CDATA[ document.write("--\>") ]]>
<![CDATA[ // end script --> ]]>
</script>
<script LANGUAGE="JavaScript">
<![CDATA[ <!-- begin script ]]>
<![CDATA[ document.write('<a href="]]><xsl:value-of select="@addJSAction"/><![CDATA[">Add Categories</a>')]]>
<![CDATA[ document.write("\<!--") ]]>
<![CDATA[ // end script --> ]]>
</script>
<xsl:text>&#160;</xsl:text>
<a href="{@addAction}">
<xsl:text>Add categories</xsl:text>
</a>
<script LANGUAGE="JavaScript">
<![CDATA[ <!-- begin script ]]>
<![CDATA[ document.write("--\>") ]]>
<![CDATA[ // end script --> ]]>
</script>
</xsl:if>
<xsl:choose>
<xsl:when test="count(../../forum:itemCategories/forum:itemCategory[starts-with(@path, $name)]) = 0">
<div>
There are no categories assigned in this context
</div>
</xsl:when>
<xsl:otherwise>
<ul>
<xsl:for-each select="../../forum:itemCategories/forum:itemCategory[starts-with(@path, $name)]">
<xsl:sort select="@path"/>
<li>
<xsl:value-of select="substring(@path, string-length($name) + 5)"/>&#160;
<xsl:if test="@deleteAction">
<a href="{@deleteAction}"><img src="/assets/action-delete.png" border="0"/></a>
<xsl:text>&#160;</xsl:text>
<a href="{@deleteAction}">Remove</a>
</xsl:if>
</li>
</xsl:for-each>
</ul>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</div>
</xsl:template>
<xsl:template match="forum:categoryWidget">
<xsl:choose>
<xsl:when test="@mode = 'javascript'">
<xsl:apply-templates select="." mode="forum:javascript"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="forum:plain"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="forum:categoryWidget" mode="forum:javascript">
<script language="JavaScript">
<![CDATA[
<!-- Begin hiding
function catToggle(id) {
var elImg = document.getElementById("catTog"+id);
var elChildren = document.getElementById("catCh"+id);
if (elChildren.style.display != "block") {
elChildren.style.display = "block";
elImg.src = "/assets/action-delete.png";
} else {
elChildren.style.display = "none";
elImg.src = "/assets/action-add.png";
}
return true;
}
function catSelect(id, name, node) {
var elWidget = document.getElementById("catWd");
var elWidgetHidden = document.getElementById("catWdHd");
var found = 0;
for (var i = 0 ; i < elWidget.options.length ; i++) {
if (elWidget.options[i].value == id) {
found = 1;
}
}
if (!found) {
var opt = new Option(name, id);
elWidget.options[elWidget.options.length] = opt;
var optHidden = new Option(node, id, false, true);
elWidgetHidden.options[elWidgetHidden.options.length] = optHidden;
}
var elLink = document.getElementById("catLn"+node);
var elName = document.getElementById("catNm"+node);
elLink.style.display="none";
elName.style.display="inline";
return true;
}
function catDeselect() {
var elWidget = document.getElementById("catWd");
var elWidgetHidden = document.getElementById("catWdHd");
var idx = elWidget.selectedIndex;
if (idx != -1) {
//var id = elWidget.options[idx].value;
var node = elWidgetHidden.options[idx].text;
var elLink = document.getElementById("catLn"+node);
var elName = document.getElementById("catNm"+node);
elLink.style.display="inline";
elName.style.display="none";
elWidget.options[idx] = null;
elWidgetHidden.options[idx] = null;
}
return true;
}
// End hiding -->
]]>
</script>
<div>
<xsl:apply-templates select="forum:category[@isEnabled = '1']" mode="forum:javascriptCat">
<xsl:with-param name="expand" select="'block'"/>
</xsl:apply-templates>
</div>
<br/>
<div class="content">
<h4>Selected Categories</h4>
<select id="catWd" size="5" onClick="catDeselect()" style="width: 400px; height=200px">
</select>
<select id="catWdHd" name="{@name}" size="5" multiple="multiple" style="display: none">
</select>
</div>
</xsl:template>
<xsl:template match="forum:category" mode="forum:javascriptCat">
<xsl:param name="expand" select="'none'"/>
<xsl:variable name="linkStyle">
<xsl:choose>
<xsl:when test="@isAbstract != '1' and @isSelected != '1'">
<xsl:value-of select="'inline'"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'none'"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="nameStyle">
<xsl:choose>
<xsl:when test="@isAbstract != '1' and @isSelected != '1'">
<xsl:value-of select="'none'"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'inline'"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<div id="catSelf{@pid}">
<div class="content">
<xsl:choose>
<xsl:when test="count(forum:category[@isEnabled = '1']) > 0 and $expand='none'">
<a href="#" onClick="catToggle('{@nodeID}');">
<img id="catTog{@nodeID}" src="/assets/action-add.png" width="14" height="14" border="0"/></a>
</xsl:when>
<xsl:when test="count(forum:category[@isEnabled = '1']) > 0 and $expand!='none'">
<a href="#" onClick="catToggle('{@nodeID}');"><img id="catTog{@nodeID}" src="/assets/action-delete.png"
width="14" height="14" border="0"/></a>
</xsl:when>
<xsl:otherwise>
<img src="/assets/action-generic.png" width="14" height="14" border="0"/>
</xsl:otherwise>
</xsl:choose>
<a id="catLn{@nodeID}" href="#" style="padding-left: 6px; display: {$linkStyle}">
<xsl:attribute name="onclick">catSelect('<xsl:value-of select="@id"/>', '<xsl:call-template name="escape-apostrophes">
<xsl:with-param name="text" select="@fullname"/>
</xsl:call-template>', '<xsl:value-of select="@nodeID"/>')</xsl:attribute>
<xsl:if test="@description">
<xsl:attribute name="title">
<xsl:value-of select="@description"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="@name"/>
</a>
<span id="catNm{@nodeID}" style="padding-left: 6px; display: {$nameStyle}">
<xsl:if test="@description">
<xsl:attribute name="title">
<xsl:value-of select="@description"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="@name"/>
</span>
</div>
</div>
<div id="catCh{@nodeID}" style="margin-left: 20px; display: {$expand}">
<xsl:apply-templates select="forum:category[@isEnabled = '1']" mode="forum:javascriptCat">
<xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates>
</div>
</xsl:template>
<xsl:template match="forum:categoryWidget" mode="forum:plain">
<select name="{@name}" size="30" multiple="multiple">
<xsl:apply-templates select="forum:category[position() = 1]/forum:category[@isEnabled = '1' and @isAbstract = '0']" mode="forum:plainCat"/>
</select>
</xsl:template>
<xsl:template match="forum:category" mode="forum:plainCat">
<xsl:if test="@isSelected != '1' and @isAbstract != '1'">
<option value="{@sortKey}"><xsl:value-of select="@fullname"/></option>
</xsl:if>
<xsl:apply-templates select="forum:category[@isEnabled = '1' and @isAbstract = '0']" mode="forum:plainCat">
<xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template name="escape-apostrophes">
<xsl:param name="text"/>
<xsl:variable name="apostrophe">'</xsl:variable>
<xsl:variable name="escaped-apostrophe">\'</xsl:variable>
<xsl:call-template name="do-replace">
<xsl:with-param name="text" select="$text"/>
<xsl:with-param name="replace" select="$apostrophe"/>
<xsl:with-param name="by" select="$escaped-apostrophe"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="do-replace">
<xsl:param name="text"/>
<xsl:param name="replace"/>
<xsl:param name="by"/>
<xsl:choose>
<xsl:when test="contains($text, $replace)">
<xsl:value-of select="substring-before($text, $replace)"/>
<xsl:value-of select="$by"/>
<xsl:call-template name="do-replace">
<xsl:with-param name="text" select="substring-after($text, $replace)"/>
<xsl:with-param name="replace" select="$replace"/>
<xsl:with-param name="by" select="$by"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!--<xsl:template match="bebop:formAction[@name='category'] ">
<div class="content">
<form action="{@action}" name="{@name}" method="get">
<xsl:apply-templates select="bebop:gridPanel/bebop:formWidget[@type='hidden']" />
<xsl:apply-templates select="bebop:pageState" />
<xsl:apply-templates />
<div class="forumButton">
<xsl:apply-templates select="bebop:boxPanel/bebop:cell/bebop:boxPanel/bebop:cell/bebop:formWidget" />
<br/>
</div>
</form>
</div>
</xsl:template>-->
</xsl:stylesheet>

View File

@ -0,0 +1,402 @@
@import url("css/main.css");
<--@import url("/css/acs-master.css");-->
<--@import url("/css/tabbed-pane/tabbed-pane.css");-->
body {
margin: 0;
background-color: #FFF;
color: #000;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.forum {
font-size: 0.8em;
margin: 8px 0 10px 2px;
}
.content {
margin-left: 10px;
}
/*form submission*/
.forumSelect {
margin-top: 0.2em;
float:left;
}
.forumButton input {
float:left;
margin-top: 0.2em;
margin-right: 5px;
padding-left: 2px;
padding-right: 2px;
color: #000;
background-color: #CCC;
vertical-align: middle;
border: 1px solid #000;
}
.submit {
clear: both;
margin-left: 100px;
}
/*
view all threads
*/
#selectLabel {
float:left;
color: white;
padding-top: 0.2em;
padding-left: 0.2em;
}
#selectCategory {
background-color: #999;
height: 2.2em;
}
#threadHead {
background-color: #E5F3FC;
font-weight: bold;
height: 1.5em;
padding-left: 0.2em;
margin-bottom: 0.3em;
}
#noMessages {
clear:both;
float:left;
width: 100%;
}
.subject {
clear: both;
float:left;
width: 190px;
padding: 4px 0 4px 22px;
background-position: 4px 0.7em;
background-repeat: no-repeat;
background-image: url("images/forum/read.gif");
}
.topic {
clear:both;
float:left;
width: 212px;
padding: 4px 0 4px 0px;
}
.threadSubject {
clear:both;
float:left;
width: 140px;
padding: 4px 0 4px 0px;
}
.author {
float:left;
width: 100px;
padding: 4px 0 4px 0px;
text-align: center;
}
.replies {
float:left;
text-align: center;
width: 60px;
padding: 4px 0 4px 0px;
}
.threads {
float:left;
text-align: center;
width: 75px;
padding: 4px 0 4px 0px;
}
.status {
float:left;
width: 75px;
padding: 4px 0 4px 0px;
}
.delete {
float:left;
text-align: center;
width: 50px;
padding: 4px 0 4px 0px;
}
.lastPost {
float: left;
text-align: center;
width: 150px;
padding: 4px 0 4px 0px;
}
#newTopicLink a {
padding: 4px 0 4px 22px;
background-position: 0px 0.3em;
background-repeat: no-repeat;
background-image: url("images/forum/post-16x16.gif");
}
#viewAllTopicsLink a {
float: left;
padding: 4px 15px 4px 22px;
background-position: 0px 0.3em;
background-repeat: no-repeat;
background-image: url("images/forum/back-to-16x16.gif");
}
#watchTopicLink a {
float: left;
padding: 4px 0 4px 22px;
background-position: 0px 0.3em;
background-repeat: no-repeat;
background-image: url("images/forum/watch-16x16.gif");
margin-left: 0.8em;
margin-bottom: 0.8em;
}
#info {
clear:both;
padding: 4px 0 4px 22px;
background-position: 0px 0.6em;
background-repeat: no-repeat;
background-image: url("images/forum/info-16x16.gif");
color: green;
margin-left: 0.8em;
}
.post {
clear: both;
margin-bottom: 0.8em;
font-size: 1em;
}
.postOdd {
background-color: #EFEFEF;
}
.postEven {
background-color: #FFFFFF;
}
#topic {
margin-bottom: 0.8em;
font-weight: bold;
}
.actions {
float: right;
margin-right: 0.3em;
}
.header {
float: left;
margin-left: 0.3em;
font-weight: bold;
}
.message {
clear: both;
float: left;
width:98%;
margin-left: 0.3em;
margin-bottom: 0.5em;
}
.postDetails {
clear: both;
float: left;
margin-bottom: 0.5em;
margin-left: 0.3em;
}
.bar {
clear:both;
float:left;
width: 98%;
padding-left: 0.3em;
padding-right: 0.3em;
padding-top: 0.5em;
padding-bottom: 0.5em;
}
.replyBar {
clear:both;
padding-right: 0.3em;
padding-top: 0.5em;
padding-bottom: 0.5em;
}
.clearGroup {
clear:both;
margin-bottom: 0.5em;
}
.columnOne {
float: left;
width: 100px;
font-size: 1em;
}
.columnOneWide {
float: left;
width: 130px;
font-size: 1em;
}
.columnTwo {
display: inline;
font-size: 1em;
margin: 0;
}
.columnTwo input {
width: 300px;
}
.columnTwo select {
width: 300px;
}
.columnTwo textArea {
width: 300px;
}
.columnThree {
font-size: 1em;
}
#title {
float:left;
width: 100%;
font-size: 1.2em;
}
fieldset {
padding: 0.3em 0.3em 0.3em 0.3em;
}
.fileLink {
margin-left: 0.5em;
clear: both;
float:left;
}
textarea {
width: 450px;
}
.validationError {
color: red;
margin-left: 100px;
}
#images {
clear: both;
float:left;
margin-left: 0.3em;
}
#plainText {
clear: both;
font-size: 1em;
margin-bottom: 0.5em;
}
li {
list-style-position: inside;
}
.expiry input {
width: 50px;
}
.fileTable {
width: 100%;
}
pre {
font-size: 1em;
}
/* Contents of tabbed-pane.css - forum tabs */
div.tabbed-pane div, div.tabbed-pane table.tab-set, div.tabbed-pane table.tab-set td {
margin: 0;
border: 0;
padding: 0;
}
div.tabbed-pane table {
border-collapse: collapse;
}
div.tabbed-pane table.tab-set {
margin-left: 10px;
}
div.tabbed-pane table.tab-set a {
text-decoration: none;
color: rgb(63,63,63);
}
div.tabbed-pane table.tab-set td.tab-label {
margin-left: 4px;
padding: 5px 0 3px 10px;
background: rgb(225,225,225) url(/css/tabbed-pane/tab-unselected.png) no-repeat;
}
div.tabbed-pane table.tab-set td.tab-end {
width: 10px;
background: url(/css/tabbed-pane/tab-unselected-end.png) no-repeat;
}
div.tabbed-pane table.tab-set td.current-tab-label {
margin-left: 4px;
padding: 5px 0 3px 10px;
background: rgb(162,30,30) url(/css/tabbed-pane/tab-selected.png) no-repeat;
color: white;
}
div.tabbed-pane table.tab-set td.current-tab-end {
width: 10px;
background: url(/css/tabbed-pane/tab-selected-end.png) no-repeat;
}
div.tabbed-pane table.tab-set td.tab-spacer {
width: 4px;
}
div.tabbed-pane table.rule {
margin-left: 10px;
width: 100%;
background: rgb(162,30,30) url(/css/tabbed-pane/tab-bar.png) repeat-x;
height: 10px;
}
div.tabbed-pane div.current-pane {
width: 100%;
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 581 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 551 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -4,7 +4,13 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- IMPORT DEFINITIONS ccm-forum installed as separate web application ccm-forum
<xsl:import href="../../../../ccm-forum/__ccm__/apps/forum/xsl/index.xsl"/>
-->
<!-- IMPORT DEFINITIONS ccm-ldn-shortcuts installed into the main CCM webapp
-->
<xsl:import href="../../../__ccm__/apps/forum/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix" />

View File

@ -11,7 +11,11 @@
exclude-result-prefixes="xsl bebop aplaws ui cms nav search"
version="1.0">
<xsl:import href="../../../../ccm-ldn-search/__ccm__/apps/search/xsl/index.xsl"/>
<!-- path if installed in its own web context ccm-ldn-search
<xsl:import href="../../../../ccm-ldn-search/__ccm__/apps/search/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/search/xsl/index.xsl"/>
</xsl:stylesheet>

View File

@ -11,25 +11,31 @@
exclude-result-prefixes="xsl bebop aplaws ui cms nav search"
version="1.0">
<xsl:import href="lib/header.xsl"/>
<xsl:import href="lib/lib.xsl"/>
<xsl:import href="../../../../ROOT/packages/bebop/xsl/bebop.xsl"/>
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/index.xsl"/>
<xsl:import href="lib/header.xsl"/>
<xsl:import href="lib/lib.xsl"/>
<!-- path if installed in its own web context ccm-ldn-shortcuts
<xsl:import href="../../../../ROOT/packages/bebop/xsl/bebop.xsl"/>
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../packages/bebop/xsl/bebop.xsl"/>
<xsl:import href="../../../__ccm__/apps/content-section/xsl/index.xsl"/>
<xsl:param name="context-prefix"/>
<xsl:param name="dispatcher-prefix" />
<xsl:param name="theme-prefix" />
<xsl:param name="context-prefix"/>
<xsl:param name="dispatcher-prefix" />
<xsl:param name="theme-prefix" />
<xsl:output
<xsl:output
method="html"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
indent="yes"
/>
/>
<xsl:template match="bebop:page[@application='search']">
<html lang="en">
<xsl:template match="bebop:page[@application='search']">
<html lang="en">
<head>
<title>APLAWS+: Search</title>
<xsl:call-template name="cssStyles"/>
@ -43,29 +49,24 @@
<xsl:call-template name="searchBreadcrumb"/>
<xsl:call-template name="searchBody"/>
</body>
</html>
</xsl:template>
</html>
</xsl:template>
<xsl:template name="searchBody">
<table id="mainLayout" width="100%" border="0" cellspacing="0" cellpadding="0" summary="This table is used for a three-column page layout">
<tr>
<td width="20%" rowspan="2" align="left" valign="top" id="LHS">
<xsl:template name="searchBody">
<table id="mainLayout" width="100%" border="0" cellspacing="0" cellpadding="0" summary="This table is used for a three-column page layout">
<tr>
<td width="20%" rowspan="2" align="left" valign="top" id="LHS">
<!--LHS NAVIGATION -->
<xsl:call-template name="searchNav" />
</td>
<td colspan="2" align="left" valign="top" id="title">
<!--MAIN CONTENT -->
</td>
<td colspan="2" align="left" valign="top" id="title">
<!--MAIN CONTENT -->
<h1>Search</h1>
</td>
</tr>
<tr>
<td width="60%" align="left" valign="top" id="mainContent">
</td>
</tr>
<tr>
<td width="60%" align="left" valign="top" id="mainContent">
<span class="hide">|</span>
<!--CONTENT -->
@ -77,122 +78,101 @@
<div id="related">
<h2>Search Options</h2>
<xsl:choose>
<xsl:when test="@id='search'">
<a href="{$dispatcher-prefix}/search/advanced.jsp" title="Search with more options">Advanced search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/remote.jsp" title="Search other borough's LAWs websites">Remote search</a><span class="hide">|</span>
</xsl:when>
<xsl:when test="@id='advanced'">
<a href="{$dispatcher-prefix}/search/" title="Basic search">Search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/remote.jsp" title="Search other borough's LAWs websites">Remote search</a><span class="hide">|</span>
</xsl:when>
<xsl:when test="@id='remote'">
<a href="{$dispatcher-prefix}/search/" title="Basic search">Search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/advanced.jsp" title="Search with more options">Advanced search</a><span class="hide">|</span>
</xsl:when>
<xsl:otherwise />
<xsl:when test="@id='search'">
<a href="{$dispatcher-prefix}/search/advanced.jsp" title="Search with more options">Advanced search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/remote.jsp" title="Search other borough's LAWs websites">Remote search
</a><span class="hide">|</span>
</xsl:when>
<xsl:when test="@id='advanced'">
<a href="{$dispatcher-prefix}/search/" title="Basic search">Search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/remote.jsp" title="Search other borough's LAWs websites">Remote search
</a><span class="hide">|</span>
</xsl:when>
<xsl:when test="@id='remote'">
<a href="{$dispatcher-prefix}/search/" title="Basic search">Search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/advanced.jsp" title="Search with more options">Advanced search
</a><span class="hide">|</span>
</xsl:when>
<xsl:otherwise />
</xsl:choose>
</div>
<xsl:call-template name="sponsoredLinks"/>
</td>
</tr>
</table>
<xsl:call-template name="footer"/>
</xsl:template>
</td>
</tr>
</table>
<xsl:call-template name="footer"/>
</xsl:template>
<xsl:template name="searchBreadcrumb">
<!--BREADCRUMB -->
<div id="bread">
<p>
<b><a href="{$dispatcher-prefix}/portal/" title="home">home</a></b>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>gt;
<span class="breadHi">
<xsl:choose>
<xsl:when test="@id='search'">Search</xsl:when>
<xsl:when test="@id='advanced'">Advanced Search</xsl:when>
<xsl:when test="@id='remote'">Remote Search</xsl:when>
<xsl:otherwise />
</xsl:choose>
</span>
</p>
</div>
</xsl:template>
<xsl:template name="searchBreadcrumb">
<!--BREADCRUMB -->
<div id="bread">
<p>
<b><a href="{$dispatcher-prefix}/portal/" title="home">home</a></b>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>gt;
<span class="breadHi">
<xsl:choose>
<xsl:when test="@id='search'">Search</xsl:when>
<xsl:when test="@id='advanced'">Advanced Search</xsl:when>
<xsl:when test="@id='remote'">Remote Search</xsl:when>
<xsl:otherwise />
</xsl:choose>
</span>
</p>
</div>
</xsl:template>
<xsl:template name="searchNav">
<div id="nav">
<div class="navUp">
<a href="{$dispatcher-prefix}/portal/">
<xsl:attribute name="title">up to homepage</xsl:attribute>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>#094;
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;home</a>
</div>
<xsl:choose>
<xsl:template name="searchNav">
<div id="nav">
<div class="navUp">
<a href="{$dispatcher-prefix}/portal/">
<xsl:attribute name="title">up to homepage</xsl:attribute>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>#094;
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;home</a>
</div>
<xsl:choose>
<xsl:when test="@id='search'">
<div class="navHere"><p>Search</p></div>
</xsl:when>
<xsl:when test="@id='advanced'">
<xsl:when test="@id='advanced'">
<div class="navHere"><p>Advanced search</p></div>
</xsl:when>
<xsl:when test="@id='remote'">
<xsl:when test="@id='remote'">
<div class="navHere"><p>Remote search</p></div>
</xsl:when>
<xsl:otherwise />
</xsl:choose>
<a href="/searchhelp" class="navChild" title="Hints and tips" >Hints and Tips</a><span class="hide">|</span>
</div>
</xsl:template>
</xsl:choose>
<a href="/searchhelp" class="navChild" title="Hints and tips" >Hints and Tips</a><span class="hide">|</span>
</div>
</xsl:template>
<xsl:template name="searchMain">
<xsl:template name="searchMain">
<xsl:choose>
<xsl:when test="@id='search'">
<xsl:call-template name="basicSearch" />
</xsl:when>
<xsl:when test="@id='advanced'">
<xsl:call-template name="advancedSearch" />
</xsl:when>
<xsl:when test="@id='remote'">
<xsl:call-template name="remoteSearch" />
</xsl:when>
<xsl:when test="@id='reindex'">
<xsl:apply-templates/>
</xsl:when>
<xsl:otherwise />
</xsl:choose>
</xsl:template>
<xsl:when test="@id='search'">
<xsl:call-template name="basicSearch" />
</xsl:when>
<xsl:when test="@id='advanced'">
<xsl:call-template name="advancedSearch" />
</xsl:when>
<xsl:when test="@id='remote'">
<xsl:call-template name="remoteSearch" />
</xsl:when>
<xsl:when test="@id='reindex'">
<xsl:apply-templates/>
</xsl:when>
<xsl:otherwise />
</xsl:choose>
</xsl:template>
<xsl:template name="basicSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<xsl:template name="basicSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<div id="resultsInfo">
<xsl:choose>
<xsl:when test="//search:results"><xsl:apply-templates select="//search:paginator" mode="results-summary"/></xsl:when>
@ -212,20 +192,15 @@
</div>
<xsl:apply-templates select="bebop:pageState" />
</form>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
<xsl:template name="advancedSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<xsl:template name="advancedSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<div id="resultsInfo">
<xsl:choose>
<xsl:when test="//search:results"><xsl:apply-templates select="//search:paginator" mode="results-summary"/></xsl:when>
@ -267,21 +242,15 @@
</div>
<xsl:apply-templates select="bebop:pageState" />
</form>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
<xsl:template name="remoteSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<xsl:template name="remoteSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<div id="resultsInfo">
<xsl:choose>
<xsl:when test="//search:results"><xsl:apply-templates select="//search:paginator" mode="results-summary"/></xsl:when>
@ -326,14 +295,10 @@
</div>
<xsl:apply-templates select="bebop:pageState" />
</form>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
<xsl:template name="sponsoredLinks">

View File

@ -4,7 +4,12 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<xsl:import href="../../../../ccm-ldn-shortcuts/__ccm__/apps/shortcuts/xsl/index.xsl"/>
<!-- path if installed in its own web context ccm-ldn-shortcuts
<xsl:import href="../../../../ccm-ldn-shortcuts/__ccm__/apps/shortcuts/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/shortcuts/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -4,7 +4,13 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- path if installed in its own web context ccm-ldn-subsite
<xsl:import href="../../../../ccm-ldn-subsite/__ccm__/apps/subsite/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/subsite/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -1,2 +1,6 @@
@import url(/css/acs-master.css);
@import url(/ccm-ldn-terms/__ccm__/apps/terms/xsl/index.css);
/* Following import is valid if terms is executed in its own */
/* web application context (ccm-ldn-terms) */
/* @import url(/ccm-ldn-terms/__ccm__/apps/terms/xsl/index.css); */
/* import if installed in the main (common) web context */
@import url(/__ccm__/apps/terms/xsl/index.css);

View File

@ -4,7 +4,12 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- path if installed in its own web context ccm-ldn-terms
<xsl:import href="../../../../ccm-ldn-terms/__ccm__/apps/terms/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/terms/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -4,7 +4,13 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- path if installed in its own web context ccm-ldn-theme
<xsl:import href="../../../../ccm-ldn-theme/__ccm__/apps/theme/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/theme/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -4,7 +4,12 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<xsl:import href="../../../../ccm-ldn-shortcuts/__ccm__/apps/shortcuts/xsl/index.xsl"/>
<!-- path if installed in its own web context ccm-ldn-shortcuts
<xsl:import href="../../../../ccm-ldn-shortcuts/__ccm__/apps/shortcuts/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/shortcuts/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -4,6 +4,9 @@
<web-app>
<display-name>CCM</display-name>
<description>Content and Collaboration Management</description>
<filter>
<filter-name>shortcuts</filter-name>
<filter-class>com.arsdigita.london.shortcuts.ShortcutFilter</filter-class>
@ -16,7 +19,10 @@
<filter-mapping>
<filter-name>subsite</filter-name>
<url-pattern>/ccm/*</url-pattern>
<!-- please check: with or w/o ccm?
<url-pattern>/*</url-pattern>
-->
</filter-mapping>
<filter-mapping>
@ -24,12 +30,20 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- The Context Listener is required and used for initializing the runtime
environment before any other task is performed or any servlet initialized. -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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>
@ -86,7 +100,10 @@
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
</servlet>
<!-- ADDITIONAL SERVLET DECLARATIONS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET DECLARATIONS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet>
<servlet-name>content-section</servlet-name>
@ -108,6 +125,7 @@
<servlet-class>com.arsdigita.cms.dispatcher.TemplateXSLServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>TextOnlyServlet</servlet-name>
<display-name>Text Only Servlet</display-name>
@ -132,17 +150,27 @@
</init-param>
</servlet>
<servlet>
<servlet-name>ThemePreviewServlet</servlet-name>
<display-name>Servlet to allow admins to preview look/feel</display-name>
<servlet-class>
com.arsdigita.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET DECLARATIONS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet definitions BEGIN -->
<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 -->
<!-- XXX hack -->
@ -172,17 +200,130 @@
<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-ldn-themes - 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-ldn-theme</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ThemeDownload</servlet-name>
<servlet-class>com.arsdigita.london.theme.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.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- module ccm-ldn-themes - servlet declarations END -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET MAPPINGS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet mappings BEGIN -->
<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>reg</servlet-name>
<url-pattern>/__ccm__/null/reg/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>portal-files</servlet-name>
<url-pattern>/ccm-ldn-portal/files/*</url-pattern>
@ -193,7 +334,71 @@
<url-pattern>/ccm-ldn-navigation/files/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET DECLARATIONS -->
<!-- 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-ldn-theme - 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-ldn-themes - 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>
@ -230,7 +435,10 @@
<url-pattern>/resource/*</url-pattern>
</servlet-mapping>
<!-- ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET MAPPINGS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet-mapping>
<servlet-name>content-section</servlet-name>
@ -238,13 +446,13 @@
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
<servlet-name>content-item-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-item-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
@ -262,13 +470,10 @@
<url-pattern>/print/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ThemePreviewServlet</servlet-name>
<url-pattern>/theme/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR PAGES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<error-page>
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-type>
@ -295,10 +500,28 @@
<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

@ -4,6 +4,9 @@
<web-app>
<display-name>CCM</display-name>
<description>Content and Collaboration Management</description>
<filter>
<filter-name>shortcuts</filter-name>
<filter-class>com.arsdigita.london.shortcuts.ShortcutFilter</filter-class>
@ -16,7 +19,10 @@
<filter-mapping>
<filter-name>subsite</filter-name>
<url-pattern>/ccm/*</url-pattern>
<!-- please check: with or w/o ccm?
<url-pattern>/*</url-pattern>
-->
</filter-mapping>
<filter-mapping>
@ -24,12 +30,20 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- The Context Listener is required and used for initializing the runtime
environment before any other task is performed or any servlet initialized. -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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>
@ -86,7 +100,10 @@
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
</servlet>
<!-- ADDITIONAL SERVLET DECLARATIONS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET DECLARATIONS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet>
<servlet-name>content-section</servlet-name>
@ -108,6 +125,7 @@
<servlet-class>com.arsdigita.cms.dispatcher.TemplateXSLServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>TextOnlyServlet</servlet-name>
<display-name>Text Only Servlet</display-name>
@ -132,17 +150,27 @@
</init-param>
</servlet>
<servlet>
<servlet-name>ThemePreviewServlet</servlet-name>
<display-name>Servlet to allow admins to preview look/feel</display-name>
<servlet-class>
com.arsdigita.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET DECLARATIONS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet definitions BEGIN -->
<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 -->
<!-- XXX hack -->
@ -172,17 +200,130 @@
<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-ldn-themes - 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-ldn-theme</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ThemeDownload</servlet-name>
<servlet-class>com.arsdigita.london.theme.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.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- module ccm-ldn-themes - servlet declarations END -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET MAPPINGS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet mappings BEGIN -->
<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>reg</servlet-name>
<url-pattern>/__ccm__/null/reg/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>portal-files</servlet-name>
<url-pattern>/ccm-ldn-portal/files/*</url-pattern>
@ -193,7 +334,71 @@
<url-pattern>/ccm-ldn-navigation/files/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET DECLARATIONS -->
<!-- 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-ldn-theme - 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-ldn-themes - 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>
@ -230,7 +435,10 @@
<url-pattern>/resource/*</url-pattern>
</servlet-mapping>
<!-- ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET MAPPINGS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet-mapping>
<servlet-name>content-section</servlet-name>
@ -238,13 +446,13 @@
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
<servlet-name>content-item-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>content-item-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-item/*</url-pattern>
<servlet-name>content-type-xsl</servlet-name>
<url-pattern>/__ccm__/servlet/content-type/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
@ -262,13 +470,10 @@
<url-pattern>/print/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ThemePreviewServlet</servlet-name>
<url-pattern>/theme/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR PAGES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<error-page>
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-type>
@ -295,10 +500,28 @@
<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

@ -4,6 +4,9 @@
<web-app>
<display-name>CCM</display-name>
<description>Content and Collaboration Management</description>
<filter>
<filter-name>shortcuts</filter-name>
<filter-class>com.arsdigita.london.shortcuts.ShortcutFilter</filter-class>
@ -17,6 +20,9 @@
<filter-mapping>
<filter-name>subsite</filter-name>
<url-pattern>/ccm/*</url-pattern>
<!-- please check: with or w/o ccm?
<url-pattern>/*</url-pattern>
-->
</filter-mapping>
<filter-mapping>
@ -24,12 +30,20 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- The Context Listener is required and used for initializing the runtime
environment before any other task is performed or any servlet initialized. -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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>
@ -86,37 +100,32 @@
<servlet-class>com.arsdigita.web.ResourceServlet</servlet-class>
</servlet>
<!-- ADDITIONAL SERVLET DECLARATIONS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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-item-xsl</servlet-name>
<servlet-class>com.arsdigita.cms.dispatcher.ContentItemXSLServlet</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>AxisServlet</servlet-name>
<display-name>Apache-Axis Servlet</display-name>
<servlet-class>
org.apache.axis.transport.http.AxisServlet
</servlet-class>
</servlet>
<servlet>
<servlet-name>TextOnlyServlet</servlet-name>
<display-name>Text Only Servlet</display-name>
@ -141,17 +150,27 @@
</init-param>
</servlet>
<servlet>
<servlet-name>ThemePreviewServlet</servlet-name>
<display-name>Servlet to allow admins to preview look/feel</display-name>
<servlet-class>
com.arsdigita.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET DECLARATIONS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet definitions BEGIN -->
<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 -->
<!-- XXX hack -->
@ -181,6 +200,124 @@
<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-ldn-themes - 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-ldn-theme</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ThemeDownload</servlet-name>
<servlet-class>com.arsdigita.london.theme.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.london.theme.dispatcher.InternalThemePrefixerServlet
</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/theme</param-value>
</init-param>
</servlet>
<!-- module ccm-ldn-themes - servlet declarations END -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MODULES SERVLET MAPPINGS SECTION
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- module ccm-ldn-atoz - servlet mappings BEGIN -->
<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>
@ -197,7 +334,71 @@
<url-pattern>/ccm-ldn-navigation/files/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET DECLARATIONS -->
<!-- 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-ldn-theme - 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-ldn-themes - 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>
@ -234,7 +435,10 @@
<url-pattern>/resource/*</url-pattern>
</servlet-mapping>
<!-- ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ADDITIONAL SERVLET MAPPINGS SECTION
basically requirred by ccm-cms
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<servlet-mapping>
<servlet-name>content-section</servlet-name>
@ -256,11 +460,6 @@
<url-pattern>/__ccm__/servlet/template/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>TextOnlyServlet</servlet-name>
<url-pattern>/text/*</url-pattern>
@ -271,12 +470,10 @@
<url-pattern>/print/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ThemePreviewServlet</servlet-name>
<url-pattern>/theme/*</url-pattern>
</servlet-mapping>
<!-- /ADDITIONAL SERVLET MAPPINGS -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR PAGES
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<error-page>
<exception-type>com.arsdigita.dispatcher.AccessDeniedException</exception-type>
@ -303,13 +500,20 @@
<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>
<!-- TAGLIBS -->
<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>

View File

@ -12,13 +12,39 @@
<xsl:param name="theme-prefix" />
<xsl:template match="cms:emptyPage[@title='childCategories']">
<xsl:choose>
<xsl:when test="cms:category/@order='sortKey'">
<xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat">
<xsl:with-param name="expand" select="'none'"/>
<xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="cms:category/cms:category" mode="cms:javascriptCat">
<xsl:sort data-type="text" select="@name"/>
<xsl:with-param name="expand" select="'none'"/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="cms:emptyPage[@title='autoCategories']">
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" />
<xsl:choose>
<xsl:when test="cms:category/@order='sortKey'">
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" >
<xsl:with-param name="expand" select="'none'"/>
<xsl:sort data-type="number" select="@sortKey"/>
</xsl:apply-templates>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="cms:category" mode="cms:javascriptCat" >
<xsl:sort data-type="text" select="@name"/>
<xsl:with-param name="expand" select="'none'"/>
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>

View File

@ -8,8 +8,14 @@
exclude-result-prefixes="xsl bebop nav search portal forum cms"
version="1.0">
<!-- IMPORT DEFINITIONS ccm-forum installed as separate web application
<xsl:import href="../../../../ROOT/__ccm__/themes/aplaws/category-step.xsl"/>
<xsl:import href="../../../../ROOT/__ccm__/static/cms/admin/category-step/category-step.xsl"/>
-->
<!-- IMPORT DEFINITIONS ccm-forum installed into the main CCM webapp
-->
<xsl:import href="../../../__ccm__/themes/aplaws/category-step.xsl"/>
<xsl:import href="../../../__ccm__/static/cms/admin/category-step/category-step.xsl"/>
<xsl:output method="html" indent="yes"/>
@ -198,10 +204,12 @@
<div class="content">
<xsl:choose>
<xsl:when test="count(forum:category[@isEnabled = '1']) > 0 and $expand='none'">
<a href="#" onClick="catToggle('{@nodeID}');"><img id="catTog{@nodeID}" src="/assets/action-add.png" width="14" height="14" border="0"/></a>
<a href="#" onClick="catToggle('{@nodeID}');">
<img id="catTog{@nodeID}" src="/assets/action-add.png" width="14" height="14" border="0"/></a>
</xsl:when>
<xsl:when test="count(forum:category[@isEnabled = '1']) > 0 and $expand!='none'">
<a href="#" onClick="catToggle('{@nodeID}');"><img id="catTog{@nodeID}" src="/assets/action-delete.png" width="14" height="14" border="0"/></a>
<a href="#" onClick="catToggle('{@nodeID}');"><img id="catTog{@nodeID}" src="/assets/action-delete.png"
width="14" height="14" border="0"/></a>
</xsl:when>
<xsl:otherwise>
<img src="/assets/action-generic.png" width="14" height="14" border="0"/>

View File

@ -8,17 +8,27 @@
exclude-result-prefixes="xsl bebop nav search portal forum cms"
version="1.0">
<!-- IMPORT DEFINITIONS ccm-forum installed as separate web application
<xsl:import href="../../../../ROOT/packages/bebop/xsl/bebop.xsl" />
<xsl:import href="../../../../ROOT/packages/ui/xsl/ui.xsl" />
<xsl:import href="../../../../ROOT/packages/bebop/xsl/bebop.xsl" />
-->
<!-- IMPORT DEFINITIONS ccm-forum installed into the main CCM webapp
-->
<xsl:import href="../../../packages/bebop/xsl/bebop.xsl" />
<xsl:import href="../../../packages/ui/xsl/ui.xsl" />
<xsl:import href="../../../packages/bebop/xsl/bebop.xsl" />
<xsl:import href="lib/header.xsl" />
<xsl:import href="lib/lib.xsl" />
<xsl:import href="lib/leftNav.xsl" />
<xsl:import href="forum-categories.xsl"/>
<!-- IMPORT DEFINITIONS ccm-forum installed as separate web application
<xsl:import href="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/>
-->
<!-- IMPORT DEFINITIONS ccm-forum installed into the main CCM webapp
-->
<xsl:import href="../../../packages/bebop/xsl/dcp.xsl"/>
<xsl:param name="theme-prefix" />
<xsl:param name="context-prefix" />

View File

@ -8,13 +8,26 @@
exclude-result-prefixes="xsl bebop nav search portal forum cms"
version="1.0">
<!-- IMPORT DEFINITIONS ccm-forum installed as separate web application
<xsl:import href="../../../../ROOT/packages/bebop/xsl/bebop.xsl" />
<xsl:import href="../../../../ROOT/packages/ui/xsl/ui.xsl" />
<xsl:import href="../../../../ROOT/packages/bebop/xsl/bebop.xsl" />
-->
<!-- IMPORT DEFINITIONS ccm-forum installed into the main CCM webapp
-->
<xsl:import href="../../../packages/bebop/xsl/bebop.xsl" />
<xsl:import href="../../../packages/ui/xsl/ui.xsl" />
<xsl:import href="../../../packages/bebop/xsl/bebop.xsl" />
<xsl:import href="lib/header.xsl" />
<xsl:import href="lib/lib.xsl" />
<xsl:import href="lib/leftNav.xsl" />
<!-- IMPORT DEFINITIONS ccm-forum installed as separate web application
<xsl:import href="../../../../ROOT/packages/bebop/xsl/dcp.xsl"/>
-->
<!-- IMPORT DEFINITIONS ccm-forum installed into the main CCM webapp
-->
<xsl:import href="../../../packages/bebop/xsl/dcp.xsl"/>
@ -23,7 +36,8 @@
<xsl:param name="context-prefix" />
<xsl:param name="dispatcher-prefix" />
<xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd" indent="yes" />
<xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd" indent="yes" />
<!-- ********************* MAIN PAGE LAYOUT TEMPLATES ********************* -->

View File

@ -4,7 +4,13 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- IMPORT DEFINITIONS ccm-forum installed as separate web application ccm-forum
<xsl:import href="../../../../ccm-forum/__ccm__/apps/forum/xsl/index.xsl"/>
-->
<!-- IMPORT DEFINITIONS ccm-ldn-shortcuts installed into the main CCM webapp
-->
<xsl:import href="../../../__ccm__/apps/forum/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix" />

View File

@ -11,7 +11,11 @@
exclude-result-prefixes="xsl bebop aplaws ui cms nav search"
version="1.0">
<xsl:import href="../../../../ccm-ldn-search/__ccm__/apps/search/xsl/index.xsl"/>
<!-- path if installed in its own web context ccm-ldn-search
<xsl:import href="../../../../ccm-ldn-search/__ccm__/apps/search/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/search/xsl/index.xsl"/>
</xsl:stylesheet>
</xsl:stylesheet>

View File

@ -11,25 +11,31 @@
exclude-result-prefixes="xsl bebop aplaws ui cms nav search"
version="1.0">
<xsl:import href="lib/header.xsl"/>
<xsl:import href="lib/lib.xsl"/>
<xsl:import href="../../../../ROOT/packages/bebop/xsl/bebop.xsl"/>
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/index.xsl"/>
<xsl:import href="lib/header.xsl"/>
<xsl:import href="lib/lib.xsl"/>
<!-- path if installed in its own web context ccm-ldn-shortcuts
<xsl:import href="../../../../ROOT/packages/bebop/xsl/bebop.xsl"/>
<xsl:import href="../../../../ROOT/__ccm__/apps/content-section/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../packages/bebop/xsl/bebop.xsl"/>
<xsl:import href="../../../__ccm__/apps/content-section/xsl/index.xsl"/>
<xsl:param name="context-prefix"/>
<xsl:param name="dispatcher-prefix" />
<xsl:param name="theme-prefix" />
<xsl:param name="context-prefix"/>
<xsl:param name="dispatcher-prefix" />
<xsl:param name="theme-prefix" />
<xsl:output
<xsl:output
method="html"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
indent="yes"
/>
/>
<xsl:template match="bebop:page[@application='search']">
<html lang="en">
<xsl:template match="bebop:page[@application='search']">
<html lang="en">
<head>
<title>APLAWS+: Search</title>
<xsl:call-template name="cssStyles"/>
@ -43,29 +49,24 @@
<xsl:call-template name="searchBreadcrumb"/>
<xsl:call-template name="searchBody"/>
</body>
</html>
</xsl:template>
</html>
</xsl:template>
<xsl:template name="searchBody">
<table id="mainLayout" width="100%" border="0" cellspacing="0" cellpadding="0" summary="This table is used for a three-column page layout">
<tr>
<td width="20%" rowspan="2" align="left" valign="top" id="LHS">
<xsl:template name="searchBody">
<table id="mainLayout" width="100%" border="0" cellspacing="0" cellpadding="0" summary="This table is used for a three-column page layout">
<tr>
<td width="20%" rowspan="2" align="left" valign="top" id="LHS">
<!--LHS NAVIGATION -->
<xsl:call-template name="searchNav" />
</td>
<td colspan="2" align="left" valign="top" id="title">
<!--MAIN CONTENT -->
</td>
<td colspan="2" align="left" valign="top" id="title">
<!--MAIN CONTENT -->
<h1>Search</h1>
</td>
</tr>
<tr>
<td width="60%" align="left" valign="top" id="mainContent">
</td>
</tr>
<tr>
<td width="60%" align="left" valign="top" id="mainContent">
<span class="hide">|</span>
<!--CONTENT -->
@ -77,122 +78,101 @@
<div id="related">
<h2>Search Options</h2>
<xsl:choose>
<xsl:when test="@id='search'">
<a href="{$dispatcher-prefix}/search/advanced.jsp" title="Search with more options">Advanced search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/remote.jsp" title="Search other borough's LAWs websites">Remote search</a><span class="hide">|</span>
</xsl:when>
<xsl:when test="@id='advanced'">
<a href="{$dispatcher-prefix}/search/" title="Basic search">Search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/remote.jsp" title="Search other borough's LAWs websites">Remote search</a><span class="hide">|</span>
</xsl:when>
<xsl:when test="@id='remote'">
<a href="{$dispatcher-prefix}/search/" title="Basic search">Search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/advanced.jsp" title="Search with more options">Advanced search</a><span class="hide">|</span>
</xsl:when>
<xsl:otherwise />
<xsl:when test="@id='search'">
<a href="{$dispatcher-prefix}/search/advanced.jsp" title="Search with more options">Advanced search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/remote.jsp" title="Search other borough's LAWs websites">Remote search
</a><span class="hide">|</span>
</xsl:when>
<xsl:when test="@id='advanced'">
<a href="{$dispatcher-prefix}/search/" title="Basic search">Search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/remote.jsp" title="Search other borough's LAWs websites">Remote search
</a><span class="hide">|</span>
</xsl:when>
<xsl:when test="@id='remote'">
<a href="{$dispatcher-prefix}/search/" title="Basic search">Search</a><span class="hide">|</span>
<a href="{$dispatcher-prefix}/search/advanced.jsp" title="Search with more options">Advanced search
</a><span class="hide">|</span>
</xsl:when>
<xsl:otherwise />
</xsl:choose>
</div>
<xsl:call-template name="sponsoredLinks"/>
</td>
</tr>
</table>
<xsl:call-template name="footer"/>
</xsl:template>
</td>
</tr>
</table>
<xsl:call-template name="footer"/>
</xsl:template>
<xsl:template name="searchBreadcrumb">
<!--BREADCRUMB -->
<div id="bread">
<p>
<b><a href="{$dispatcher-prefix}/portal/" title="home">home</a></b>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>gt;
<span class="breadHi">
<xsl:choose>
<xsl:when test="@id='search'">Search</xsl:when>
<xsl:when test="@id='advanced'">Advanced Search</xsl:when>
<xsl:when test="@id='remote'">Remote Search</xsl:when>
<xsl:otherwise />
</xsl:choose>
</span>
</p>
</div>
</xsl:template>
<xsl:template name="searchBreadcrumb">
<!--BREADCRUMB -->
<div id="bread">
<p>
<b><a href="{$dispatcher-prefix}/portal/" title="home">home</a></b>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>gt;
<span class="breadHi">
<xsl:choose>
<xsl:when test="@id='search'">Search</xsl:when>
<xsl:when test="@id='advanced'">Advanced Search</xsl:when>
<xsl:when test="@id='remote'">Remote Search</xsl:when>
<xsl:otherwise />
</xsl:choose>
</span>
</p>
</div>
</xsl:template>
<xsl:template name="searchNav">
<div id="nav">
<div class="navUp">
<a href="{$dispatcher-prefix}/portal/">
<xsl:attribute name="title">up to homepage</xsl:attribute>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>#094;
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;home</a>
</div>
<xsl:choose>
<xsl:template name="searchNav">
<div id="nav">
<div class="navUp">
<a href="{$dispatcher-prefix}/portal/">
<xsl:attribute name="title">up to homepage</xsl:attribute>
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>#094;
<xsl:text disable-output-escaping="yes">&amp;</xsl:text>nbsp;home</a>
</div>
<xsl:choose>
<xsl:when test="@id='search'">
<div class="navHere"><p>Search</p></div>
</xsl:when>
<xsl:when test="@id='advanced'">
<xsl:when test="@id='advanced'">
<div class="navHere"><p>Advanced search</p></div>
</xsl:when>
<xsl:when test="@id='remote'">
<xsl:when test="@id='remote'">
<div class="navHere"><p>Remote search</p></div>
</xsl:when>
<xsl:otherwise />
</xsl:choose>
<a href="/searchhelp" class="navChild" title="Hints and tips" >Hints and Tips</a><span class="hide">|</span>
</div>
</xsl:template>
</xsl:choose>
<a href="/searchhelp" class="navChild" title="Hints and tips" >Hints and Tips</a><span class="hide">|</span>
</div>
</xsl:template>
<xsl:template name="searchMain">
<xsl:template name="searchMain">
<xsl:choose>
<xsl:when test="@id='search'">
<xsl:call-template name="basicSearch" />
</xsl:when>
<xsl:when test="@id='advanced'">
<xsl:call-template name="advancedSearch" />
</xsl:when>
<xsl:when test="@id='remote'">
<xsl:call-template name="remoteSearch" />
</xsl:when>
<xsl:when test="@id='reindex'">
<xsl:apply-templates/>
</xsl:when>
<xsl:otherwise />
</xsl:choose>
</xsl:template>
<xsl:when test="@id='search'">
<xsl:call-template name="basicSearch" />
</xsl:when>
<xsl:when test="@id='advanced'">
<xsl:call-template name="advancedSearch" />
</xsl:when>
<xsl:when test="@id='remote'">
<xsl:call-template name="remoteSearch" />
</xsl:when>
<xsl:when test="@id='reindex'">
<xsl:apply-templates/>
</xsl:when>
<xsl:otherwise />
</xsl:choose>
</xsl:template>
<xsl:template name="basicSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<xsl:template name="basicSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<div id="resultsInfo">
<xsl:choose>
<xsl:when test="//search:results"><xsl:apply-templates select="//search:paginator" mode="results-summary"/></xsl:when>
@ -212,20 +192,15 @@
</div>
<xsl:apply-templates select="bebop:pageState" />
</form>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
<xsl:template name="advancedSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<xsl:template name="advancedSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<div id="resultsInfo">
<xsl:choose>
<xsl:when test="//search:results"><xsl:apply-templates select="//search:paginator" mode="results-summary"/></xsl:when>
@ -267,21 +242,15 @@
</div>
<xsl:apply-templates select="bebop:pageState" />
</form>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
<xsl:template name="remoteSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<xsl:template name="remoteSearch">
<xsl:for-each select="bebop:form[@name='search']">
<div id="searchArea">
<div id="resultsInfo">
<xsl:choose>
<xsl:when test="//search:results"><xsl:apply-templates select="//search:paginator" mode="results-summary"/></xsl:when>
@ -326,14 +295,10 @@
</div>
<xsl:apply-templates select="bebop:pageState" />
</form>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
</div>
</xsl:for-each>
<xsl:call-template name="searchResults" />
</xsl:template>
<xsl:template name="sponsoredLinks">

View File

@ -4,7 +4,12 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<xsl:import href="../../../../ccm-ldn-shortcuts/__ccm__/apps/shortcuts/xsl/index.xsl"/>
<!-- path if installed in its own web context ccm-ldn-shortcuts
<xsl:import href="../../../../ccm-ldn-shortcuts/__ccm__/apps/shortcuts/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/shortcuts/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -4,7 +4,13 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- path if installed in its own web context ccm-ldn-subsite
<xsl:import href="../../../../ccm-ldn-subsite/__ccm__/apps/subsite/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/subsite/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -1,2 +1,6 @@
@import url(/css/acs-master.css);
@import url(/ccm-ldn-terms/__ccm__/apps/terms/xsl/index.css);
/* Following import is valid if terms is executed in its own */
/* web application context (ccm-ldn-terms) */
/* @import url(/ccm-ldn-terms/__ccm__/apps/terms/xsl/index.css); */
/* import if installed in the main (common) web context */
@import url(/__ccm__/apps/terms/xsl/index.css);

View File

@ -4,7 +4,12 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- path if installed in its own web context ccm-ldn-terms
<xsl:import href="../../../../ccm-ldn-terms/__ccm__/apps/terms/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/terms/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>

View File

@ -4,7 +4,13 @@
xmlns:aplaws="http://www.arsdigita.com/aplaws/1.0"
version="1.0">
<!-- path if installed in its own web context ccm-ldn-theme
<xsl:import href="../../../../ccm-ldn-theme/__ccm__/apps/theme/xsl/index.xsl"/>
-->
<!-- path to xsl if installed in the main (common) web context
-->
<xsl:import href="../../../__ccm__/apps/theme/xsl/index.xsl"/>
<xsl:import href="lib/page.xsl"/>
<xsl:param name="theme-prefix"/>