cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject svn commit: r580983 - in /cocoon/trunk/blocks/cocoon-poi: cocoon-poi-impl/src/main/resources/META-INF/cocoon/spring/cocoon-poi.xml cocoon-poi-sample/src/main/resources/COB-INF/sitemap.xmap
Date Mon, 01 Oct 2007 15:00:33 GMT
Author: vgritsenko
Date: Mon Oct  1 08:00:33 2007
New Revision: 580983

URL: http://svn.apache.org/viewvc?rev=580983&view=rev
Log:
fix typo: "xsl" != "xls"

Modified:
    cocoon/trunk/blocks/cocoon-poi/cocoon-poi-impl/src/main/resources/META-INF/cocoon/spring/cocoon-poi.xml
    cocoon/trunk/blocks/cocoon-poi/cocoon-poi-sample/src/main/resources/COB-INF/sitemap.xmap

Modified: cocoon/trunk/blocks/cocoon-poi/cocoon-poi-impl/src/main/resources/META-INF/cocoon/spring/cocoon-poi.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-poi/cocoon-poi-impl/src/main/resources/META-INF/cocoon/spring/cocoon-poi.xml?rev=580983&r1=580982&r2=580983&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-poi/cocoon-poi-impl/src/main/resources/META-INF/cocoon/spring/cocoon-poi.xml
(original)
+++ cocoon/trunk/blocks/cocoon-poi/cocoon-poi-impl/src/main/resources/META-INF/cocoon/spring/cocoon-poi.xml
Mon Oct  1 08:00:33 2007
@@ -15,33 +15,35 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<!--+
-  | This is the configuration for the standard poi beans (generator/serializer).
-  |
-  | @version $Id$
-  +-->
+
+<!--
+  - This is the configuration for the standard poi beans (generator/serializer).
+  -
+  - @version $Id$
+  -->
 <beans xmlns="http://www.springframework.org/schema/beans" 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xmlns:pipeline="http://cocoon.apache.org/schema/pipeline"
        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
                            http://cocoon.apache.org/schema/pipeline http://cocoon.apache.org/schema/pipeline/cocoon-pipeline-1.0.xsd">
 
-  <bean name="org.apache.cocoon.generation.Generator/xsl" 
+  <bean name="org.apache.cocoon.generation.Generator/xls"
         class="org.apache.cocoon.generation.HSSFGenerator"
         scope="prototype">
     <property name="resolver" ref="org.apache.excalibur.source.SourceResolver"/>
     <!-- uri for namespace. -->
-    <property name="uri" value="http://www.gnome.org/gnumeric/v7" />
+    <property name="uri" value="http://www.gnome.org/gnumeric/v7"/>
     <!-- prefix for namespace -->
-    <property name="prefix" value="gmr" />
-    <!-- Receive not only the data but also the formatting information of the workbook
-->
-    <property name="formatting" value="false" />
+    <property name="prefix" value="gmr"/>
+    <!-- receive not only the data but also the formatting information of the workbook
-->
+    <property name="formatting" value="false"/>
   </bean>
 
-  <bean name="org.apache.cocoon.serialization.Serializer/xls" 
+  <bean name="org.apache.cocoon.serialization.Serializer/xls"
         class="org.apache.cocoon.serialization.HSSFSerializer"
         scope="prototype">
     <pipeline:component mime-type="application/vnd.ms-excel"/>
   </bean>
 
-</beans>
\ No newline at end of file
+</beans>
+    
\ No newline at end of file

Modified: cocoon/trunk/blocks/cocoon-poi/cocoon-poi-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-poi/cocoon-poi-sample/src/main/resources/COB-INF/sitemap.xmap?rev=580983&r1=580982&r2=580983&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-poi/cocoon-poi-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-poi/cocoon-poi-sample/src/main/resources/COB-INF/sitemap.xmap
Mon Oct  1 08:00:33 2007
@@ -15,24 +15,25 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
 
   <!-- =========================== Views =================================== -->
 
   <map:views>
     <map:view from-label="content" name="content">
-      <map:serialize type="xml" />
+      <map:serialize type="xml"/>
     </map:view>
 
     <map:view from-label="content" name="pretty-content">
       <!-- Make use of servlet services -->
       <map:serialize type="servletService">
-        <map:parameter name="service" value="servlet:style-default:/service/system/xml2html"
/>
+        <map:parameter name="service" value="servlet:style-default:/service/system/xml2html"/>
       </map:serialize>
     </map:view>
 
     <map:view from-position="last" name="links">
-      <map:serialize type="links" />
+      <map:serialize type="links"/>
     </map:view>
   </map:views>
 
@@ -42,27 +43,28 @@
     <map:pipeline>
 
       <map:match pattern="">
-        <map:redirect-to uri="welcome" />
+        <map:redirect-to uri="welcome"/>
       </map:match>
 
       <map:match pattern="welcome">
-        <map:generate src="samples.xml" />
+        <map:generate src="samples.xml"/>
         <!-- Make use of servlet services -->
         <map:serialize type="servletService" mime-type="text/html">
-          <map:parameter name="service" value="servlet:style-default:/service/common/simple-samples2html"
/>
+          <map:parameter name="service" value="servlet:style-default:/service/common/simple-samples2html"/>
         </map:serialize>
       </map:match>
 
       <map:match pattern="hello.xls">
-        <map:generate src="servlet:main-sample:/hello-world/hello.xml" />
-        <map:transform src="servlet:main-sample:/hello-world/style/xsl/page2xls.xsl" />
-        <map:serialize type="xls" />
+        <map:generate src="servlet:main-sample:/hello-world/hello.xml"/>
+        <map:transform src="servlet:main-sample:/hello-world/style/xsl/page2xls.xsl"/>
+        <map:serialize type="xls"/>
       </map:match>
 
       <map:match pattern="*.xls">
-        <map:generate src="content/{1}.xml" />
-        <map:serialize type="xls" />
+        <map:generate src="content/{1}.xml"/>
+        <map:serialize type="xls"/>
       </map:match>
+
       <!--
         <map:match pattern="statetax-sql.xml">
         <map:generate src="content/dynamic/statetax.xml"/>
@@ -107,28 +109,22 @@
         </map:match>
         
         <map:match pattern="xsp/*">
-        <map:generate src="content/dynamic/{1}.xsp" type="serverpages"/>-->
-      <!--
+        <map:generate src="content/dynamic/{1}.xsp" type="serverpages"/>
         <map:transform src="context://samples/blocks/dynamic-page2html.xsl">
         <map:parameter name="servletPath" value="{request:servletPath}"/>
         <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
         <map:parameter name="contextPath" value="{request:contextPath}"/>
         <map:parameter name="file" value=".xsp"/>
         </map:transform>
-      -->
-      <!--    <map:serialize type="xml"/>
+        <map:serialize type="xml"/>
         </map:match>
         
-        
         <map:match pattern="xspxml/*">
         <map:generate src="content/dynamic/{1}.xsp" type="serverpages"/>
         <map:transform src="stylesheets/statetax-esql2xls.xsl"/>
         <map:serialize type="html"/>
         </map:match>
       -->
-
-      <!-- delegate to parent sitemap 
-        <map:handle-errors/> -->
 
     </map:pipeline>
 



Mime
View raw message