You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2007/10/03 16:22:53 UTC

svn commit: r581611 - /cocoon/site/site/2.2/1291_1_1.html

Author: reinhard
Date: Wed Oct  3 07:22:51 2007
New Revision: 581611

URL: http://svn.apache.org/viewvc?rev=581611&view=rev
Log:
fix wrong bean names

Modified:
    cocoon/site/site/2.2/1291_1_1.html

Modified: cocoon/site/site/2.2/1291_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/1291_1_1.html?rev=581611&r1=581610&r2=581611&view=diff
==============================================================================
--- cocoon/site/site/2.2/1291_1_1.html (original)
+++ cocoon/site/site/2.2/1291_1_1.html Wed Oct  3 07:22:51 2007
@@ -1,148 +1,148 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
-
-
-
-
-
-
-
-
-<html>
-  <head>
-    <title>            Cocoon 2.2
-      </title>
-    <style type="text/css" media="all">
-      @import url("./css/maven-base.css");
-      @import url("./css/maven-theme.css");
-      @import url("./css/site.css");
-    </style>
-    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
-          <meta name="author" content="The Cocoon Community" />
-        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
-  </head>
-  <body>
-    <div id="breadtrail">
-       <p><a href="http://www.apache.org">Apache</a> &raquo; <a href="../">Cocoon</a> &raquo;</p>
-    </div>
-    <div id="top">
-      <div id="header">
-          <div class="projectlogo">
-             <a href="../"><img class="logoImage"
-               src="images/cocoon_logo.jpg"
-                alt="Apache Cocoon" border="0" /></a>
-          </div>
-          <div class="grouplogo">
-             <p class="grouptitle"><a href="../">The Apache Cocoon Project</a><img
-               src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
-                            <form class="searchbox" action="http://www.google.com/search" method="get">
-                 <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
-                 <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />&nbsp;
-                 <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
-               </form>
-                      </div>
-         </div>
-         <div id="projectBar">
-           <p class="cocoonHome"><a href="../"><img
-           src="images/pmc-home.gif"
-           alt="Back to Apache Cocoon homepage"
-           border="0" title="Back to Apache Cocoon homepage" /></a></p>
-           <h1 class="projectTitle"><a href="../">              Cocoon 2.2
-        </a></h1>
-                         <ul class="projectList">
-                <li><strong><a href="../2.2/">Cocoon 2.2</a></em></strong></li>
-                <li><a href="../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
-                <li><a href="../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
-                <li><a href="../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
-                <li><strong><a href="../subprojects/">Subprojects</a></strong></li>
-              </ul>
-                     </div>
-         <div class="projectBarClear"><!-- --></div>
-      </div>
-<!-- end of top -->
-
-    <div id="content">
-         <ul id="menu">
-        <li>
-              Overview
-            <ul>
-                  
-    <li >
-              <a href="1327_1_1.html">Overview</a>
-        </li>
-              </ul>
-    </li>
-      <li>
-              Tutorials
-            <ul>
-                  
-    <li >
-              <a href="1159_1_1.html">Your first Cocoon application using Maven 2</a>
-        </li>
-                  
-    <li >
-              <a href="1290_1_1.html">Your first XML pipeline (publishing)</a>
-        </li>
-                  
-    <li >
-              <strong>Modularize Cocoon apps (Using blocks)</strong>
-        </li>
-                  
-    <li >
-              <a href="1362_1_1.html">Deploying a Cocoon application</a>
-        </li>
-              </ul>
-    </li>
-      <li>
-              How-Tos
-            <ul>
-                  
-    <li >
-              <a href="1366_1_1.html">How to configure consistent encoding in Cocoon</a>
-        </li>
-                  
-    <li >
-              <a href="1402_1_1.html">2.1 to 2.2 migration</a>
-        </li>
-              </ul>
-    </li>
-      <li>
-              All Sitemap Components
-            <ul>
-                  
-    <li >
-              <a href="1347_1_1.html">All Sitemap Components</a>
-        </li>
-              </ul>
-    </li>
-      </ul>
-<!--
-                                     <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
-            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
-          </a>
-                   <div id="lastPublished">
-                    
-                   Last Published: 26/09/2007 07:10
-       </div>
--->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+
+
+
+
+
+
+
+
+<html>
+  <head>
+    <title>            Cocoon 2.2
+      </title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+          <meta name="author" content="The Cocoon Community" />
+        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+  </head>
+  <body>
+    <div id="breadtrail">
+       <p><a href="http://www.apache.org">Apache</a> &raquo; <a href="../">Cocoon</a> &raquo;</p>
+    </div>
+    <div id="top">
+      <div id="header">
+          <div class="projectlogo">
+             <a href="../"><img class="logoImage"
+               src="images/cocoon_logo.jpg"
+                alt="Apache Cocoon" border="0" /></a>
+          </div>
+          <div class="grouplogo">
+             <p class="grouptitle"><a href="../">The Apache Cocoon Project</a><img
+               src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p>
+                            <form class="searchbox" action="http://www.google.com/search" method="get">
+                 <input value="cocoon.apache.org" name="sitesearch" type="hidden" />
+                 <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" />&nbsp;
+                 <input class="searchboxsubmit" name="Search" value="Search" type="submit" />
+               </form>
+                      </div>
+         </div>
+         <div id="projectBar">
+           <p class="cocoonHome"><a href="../"><img
+           src="images/pmc-home.gif"
+           alt="Back to Apache Cocoon homepage"
+           border="0" title="Back to Apache Cocoon homepage" /></a></p>
+           <h1 class="projectTitle"><a href="../">              Cocoon 2.2
+        </a></h1>
+                         <ul class="projectList">
+                <li><strong><a href="../2.2/">Cocoon 2.2</a></em></strong></li>
+                <li><a href="../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li>
+                <li><a href="../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li>
+                <li><a href="../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li>
+                <li><strong><a href="../subprojects/">Subprojects</a></strong></li>
+              </ul>
+                     </div>
+         <div class="projectBarClear"><!-- --></div>
+      </div>
+<!-- end of top -->
+
+    <div id="content">
+         <ul id="menu">
+        <li>
+              Overview
+            <ul>
+                  
+    <li >
+              <a href="1327_1_1.html">Overview</a>
+        </li>
+              </ul>
+    </li>
+      <li>
+              Tutorials
+            <ul>
+                  
+    <li >
+              <a href="1159_1_1.html">Your first Cocoon application using Maven 2</a>
+        </li>
+                  
+    <li >
+              <a href="1290_1_1.html">Your first XML pipeline (publishing)</a>
+        </li>
+                  
+    <li >
+              <strong>Modularize Cocoon apps (Using blocks)</strong>
+        </li>
+                  
+    <li >
+              <a href="1362_1_1.html">Deploying a Cocoon application</a>
+        </li>
+              </ul>
+    </li>
+      <li>
+              How-Tos
+            <ul>
+                  
+    <li >
+              <a href="1366_1_1.html">How to configure consistent encoding in Cocoon</a>
+        </li>
+                  
+    <li >
+              <a href="1402_1_1.html">2.1 to 2.2 migration</a>
+        </li>
+              </ul>
+    </li>
+      <li>
+              All Sitemap Components
+            <ul>
+                  
+    <li >
+              <a href="1347_1_1.html">All Sitemap Components</a>
+        </li>
+              </ul>
+    </li>
+      </ul>
+<!--
+                                     <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
+            <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+          </a>
+                   <div id="lastPublished">
+                    
+                   Last Published: 03/10/2007 15:07
+       </div>
+-->
          <div id="contentBody"><div id="bodyText"><h1 class="docTitle">Modularize Cocoon apps (Using blocks)</h1><p>In the basic tutorial
 <a href="http://cocoon.zones.apache.org/daisy/cdocs/g2/g1/g2/1159.html">&quot;Your
 first Cocoon application using Maven 2&quot;</a> you created your first block. Cocoon
@@ -182,7 +182,7 @@
   xsi:schemaLocation=&quot;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&quot;&gt;
 
-  &lt;bean id=&quot;com.mycompany.myBlock1.block&quot; class=&quot;org.apache.cocoon.sitemap.SitemapServlet&quot;&gt;
+  &lt;bean id=&quot;com.mycompany.myBlock1.service&quot; class=&quot;org.apache.cocoon.sitemap.SitemapServlet&quot;&gt;
     &lt;servlet:context mount-path=&quot;/myBlock1&quot; context-path=&quot;blockcontext:/myBlock1/&quot;&gt;
 <strong xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">      &lt;servlet:connections&gt;
         &lt;entry key=&quot;myBlock2&quot; value-ref=&quot;com.mycompany.myBlock2.service&quot;/&gt;
@@ -208,7 +208,7 @@
 </pre><p>If you use the RCL goal of the Cocoon Maven plugin, you will also want to add
 the location of the new block to the configuration file of block1. This has the
 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
+Open getting-started-app/myBlock1/rcl.properties and add</p><pre>com.mycompany.myBlock1.service%classes-dir=./target/classes
 
 <strong xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">com.mycompany.myBlock2.service%classes-dir=../myBlock2/target/classes
 %exclude-lib=com.mycompany:myBlock2
@@ -290,24 +290,24 @@
 output of the pipeline.</p><div class="note"><div><strong>Note: </strong>Beside transformation services there are also generation and a
 serialization services.</div></div></div><div class="editUrl"><div><em>Errors and Improvements?</em> If you see any errors or potential improvements in this document please help
         us: <a href="http://cocoon.zones.apache.org/daisy/cdocs/1291?branch=1&language=1">View, Edit or comment</a> on the latest development version (registration required).
-      </div></div></div>
-    </div>
-    <!-- end of content -->
-    <div id="footer">
-      <p>&#169;  
-          1999-2007
-    
-          The Apache Software Foundation
-        <br/>
-    
-    Last Published: 26/09/2007 07:10
-</p>
-    </div>
-    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-    </script>
-    <script type="text/javascript">
-      _uacct = "UA-1740622-3";
-      urchinTracker();
-    </script>
-  </body>
-</html>
+      </div></div></div>
+    </div>
+    <!-- end of content -->
+    <div id="footer">
+      <p>&#169;  
+          1999-2007
+    
+          The Apache Software Foundation
+        <br/>
+    
+    Last Published: 03/10/2007 15:07
+</p>
+    </div>
+    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+    </script>
+    <script type="text/javascript">
+      _uacct = "UA-1740622-3";
+      urchinTracker();
+    </script>
+  </body>
+</html>