Anpassung an Aendeerungen infolge forum-categorised, Formatierung, Angleichung an die anderen Dateien des Integrations Lysers, Umbau des bundes devel, so dass man es als allgemeines, von einzelnen Webprojekten unabhängiges Entwicklungsprojekt nutzen kann.
git-svn-id: https://svn.libreccm.org/ccm/trunk@475 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
ff71de8965
commit
4bbb104839
|
|
@ -95,7 +95,7 @@ com.arsdigita.london.theme.file_extensions=bmp gif jpeg jpg png css js png xsl x
|
||||||
|
|
||||||
; =============================================================================================
|
; =============================================================================================
|
||||||
; devel specific configurations
|
; devel specific configurations
|
||||||
waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/handbook?user\=ccm&password\=ccm
|
waf.runtime.jdbc_url=jdbc\:postgresql\://localhost/ccm?user\=ccm&password\=ccm
|
||||||
waf.runtime.jdbc_pool_size=80
|
waf.runtime.jdbc_pool_size=80
|
||||||
|
|
||||||
waf.web.server=localhost\:8080
|
waf.web.server=localhost\:8080
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,11 @@ public class Initializer extends CompoundInitializer {
|
||||||
(Initializer.class.getName());
|
(Initializer.class.getName());
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Package Implementation of {@link Initializer#init(DomainInitEvent)}.
|
||||||
|
*
|
||||||
|
* @param evt
|
||||||
|
*/
|
||||||
public void init(DomainInitEvent evt) {
|
public void init(DomainInitEvent evt) {
|
||||||
super.init(evt);
|
super.init(evt);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -65,6 +65,9 @@ public class Loader extends PackageLoader {
|
||||||
|
|
||||||
private static final Logger s_log = Logger.getLogger(Loader.class);
|
private static final Logger s_log = Logger.getLogger(Loader.class);
|
||||||
|
|
||||||
|
// Name of files containing an initial category tree(s).
|
||||||
|
// Files are stored as part of the jar, so classloader can find them.
|
||||||
|
// ToDo: relocate files user accessible outside the jar.
|
||||||
private static final String[] categoryFiles = new String[] {
|
private static final String[] categoryFiles = new String[] {
|
||||||
"WEB-INF/aplaws/gen-nav-domain-1.00.xml"
|
"WEB-INF/aplaws/gen-nav-domain-1.00.xml"
|
||||||
, "WEB-INF/aplaws/gen-nav-hierarchy-1.00.xml"
|
, "WEB-INF/aplaws/gen-nav-hierarchy-1.00.xml"
|
||||||
|
|
@ -89,6 +92,7 @@ public class Loader extends PackageLoader {
|
||||||
"com.arsdigita.aplaws.navigation_domain",
|
"com.arsdigita.aplaws.navigation_domain",
|
||||||
Parameter.REQUIRED,
|
Parameter.REQUIRED,
|
||||||
"GEN-NAV");
|
"GEN-NAV");
|
||||||
|
// Registers to the context by adding the parameter to a map of parameters
|
||||||
register(m_navigationDomain);
|
register(m_navigationDomain);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -129,6 +133,7 @@ public class Loader extends PackageLoader {
|
||||||
String[] files = categoryFiles;
|
String[] files = categoryFiles;
|
||||||
|
|
||||||
final Parser parser = new Parser();
|
final Parser parser = new Parser();
|
||||||
|
// for each filename in the array of files containing categories
|
||||||
for (int i = 0 ; i < files.length ; i++) {
|
for (int i = 0 ; i < files.length ; i++) {
|
||||||
final String file = files[i];
|
final String file = files[i];
|
||||||
if (s_log.isInfoEnabled()) {
|
if (s_log.isInfoEnabled()) {
|
||||||
|
|
@ -177,7 +182,7 @@ public class Loader extends PackageLoader {
|
||||||
.retrieveApplicationForPath("/portal/");
|
.retrieveApplicationForPath("/portal/");
|
||||||
portal.setDefaultLayout(PageLayout
|
portal.setDefaultLayout(PageLayout
|
||||||
.findLayoutByFormat(PageLayout.FORMAT_ONE_COLUMN));
|
.findLayoutByFormat(PageLayout.FORMAT_ONE_COLUMN));
|
||||||
}
|
} // run method
|
||||||
|
|
||||||
// public void registerServicesTemplate(String appURL) {
|
// public void registerServicesTemplate(String appURL) {
|
||||||
// Application app = Application.retrieveApplicationForPath(appURL);
|
// Application app = Application.retrieveApplicationForPath(appURL);
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,22 @@
|
||||||
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
|
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
|
||||||
xmlns:define="/WEB-INF/bebop-define.tld"
|
xmlns:define="/WEB-INF/bebop-define.tld"
|
||||||
xmlns:show="/WEB-INF/bebop-show.tld"
|
xmlns:show="/WEB-INF/bebop-show.tld"
|
||||||
version="1.2">
|
version="1.2">
|
||||||
|
|
||||||
<define:page name="childCategories" pageClass="com.arsdigita.cms.ui.authoring.EmptyPage" title="childCategories" cache="true">
|
<define:page name="childCategories"
|
||||||
|
pageClass="com.arsdigita.cms.ui.authoring.EmptyPage"
|
||||||
|
title="childCategories"
|
||||||
|
cache="true">
|
||||||
|
|
||||||
|
<!-- Class had been moved from ccm-ldn-aplaws to ccm-ldn-terms in
|
||||||
|
order to avoid dependencies between modules, ccm-forum-categorised
|
||||||
|
and a specific kind of the integration module ccm-???-aplaws.
|
||||||
<define:component name="catSubtree"
|
<define:component name="catSubtree"
|
||||||
classname="com.arsdigita.aplaws.ui.CategorySubtree"/>
|
classname="com.arsdigita.aplaws.ui.CategorySubtree"/>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<define:component name="catSubtree"
|
||||||
|
classname="com.arsdigita.london.terms.ui.CategorySubtree"/>
|
||||||
</define:page>
|
</define:page>
|
||||||
|
|
||||||
<show:all/>
|
<show:all/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue