cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Overview
Date Mon, 30 Oct 2006 13:14:18 GMT
A document has been updated:

Document ID: 1258
Branch: main
Language: default
Name: Overview (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 10/30/06 1:13:55 PM
Updated by: Carsten Ziegeler

A new version has been created, state: draft


This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 3117 bytes (previous version: 1691 bytes)
Content diff:
(18 equal lines skipped)
    documentation), but we suggest to setup a Spring application context using the
    context loader listener in your web.xml:</p>
--- <p><strong>TBD: Show snipped from web.xml</strong></p>
+++ <pre>  ...
+++   &lt;listener&gt;
+++     &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
+++   &lt;/listener&gt;
+++ </pre>
    <p>This context listener is invoked by the servlet container on startup of your
    web application. By default the configuration for the application context is
    read from the file "WEB-INF/applicationContext.xml". This is the place to
    configure the Cocoon components:</p>
--- <p><strong>TBD: Show snipped from applicationContext.xml and explain it</strong>
--- </p>
+++ <pre>&lt;beans xmlns="""
+++        xmlns:xsi=""
+++        xmlns:util=""
+++        xmlns:cocoon=""
+++        xmlns:avalon=""
+++        xsi:schemaLocation="
+++                  "&gt;
+++   &lt;!-- Load all the properties for Cocoon --&gt;
+++   &lt;cocoon:settings/&gt;
+++   &lt;!-- Load Avalon configurations
+++        If you want to use a different logger than the default log4j logger,
+++        add a bean conforming to the Avalon Logger interface to this definition
+++        and leave out the loggingConfiguration attribute.
+++    --&gt;
+++   &lt;avalon:avalon location="/WEB-INF/cocoon/cocoon.xconf"
+++                  loggingConfiguration="/WEB-INF/cocoon/log4j.xconf"/&gt;
+++ &lt;/beans&gt;
+++ </pre>
    <p>The main goal for the new Cocoon 2.2 configuration system is to avoid
    patching of any provided configuration file (If you're familiar with previous
    versions of Cocoon you might remember the patching of the cocoon.xconf or
(4 equal lines skipped)

View raw message