A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1258.html

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

Parts
=====

Content
-------
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="http://www.springframework.org/schema/beans"";
+++        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+++        xmlns:util="http://www.springframework.org/schema/util";
+++        xmlns:cocoon="http://cocoon.apache.org/core";
+++        xmlns:avalon="http://cocoon.apache.org/avalon";
+++        xsi:schemaLocation="http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+++                            http://www.springframework.org/schema/util 
http://www.springframework.org/schema/util/spring-util-2.0.xsd
+++                            http://cocoon.apache.org/core 
http://cocoon.apache.org/core.xsd
+++                            http://cocoon.apache.org/avalon 
http://cocoon.apache.org/avalon.xsd"&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)