cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Modularize Cocoon apps (Using blocks)
Date Wed, 03 Oct 2007 13:33:44 GMT
A document has been updated:

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

Document ID: 1291
Branch: main
Language: default
Name: Modularize Cocoon apps (Using blocks) (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 10/3/07 1:33:37 PM
Updated by: Reinhard Pötz

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 7889 bytes (previous version: 7885 bytes)
Content diff:
(65 equal lines skipped)
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
      http://cocoon.apache.org/schema/servlet http://cocoon.apache.org/schema/servlet/cocoon-servlet-1.0.xsd">
    
---   <bean id="com.mycompany.myBlock1.block" class="org.apache.cocoon.sitemap.SitemapServlet">
+++   <bean id="com.mycompany.myBlock1.service" class="org.apache.cocoon.sitemap.SitemapServlet">
        <servlet:context mount-path="/myBlock1" context-path="blockcontext:/myBlock1/">
    <strong>      &lt;servlet:connections&gt;
            &lt;entry key="myBlock2" value-ref="com.mycompany.myBlock2.service"/&gt;
(27 equal lines skipped)
    advantage that you can work on block2 and the changes take effect immediatly.
    Open getting-started-app/myBlock1/rcl.properties and add</p>
    
--- <pre>com.mycompany.myBlock1.block%classes-dir=./target/classes
+++ <pre>com.mycompany.myBlock1.service%classes-dir=./target/classes
    
    <strong>com.mycompany.myBlock2.service%classes-dir=../myBlock2/target/classes
    %exclude-lib=com.mycompany:myBlock2
(110 equal lines skipped)


Mime
View raw message