cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r538446 - in /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample: ./ src/main/resources/COB-INF/ src/main/resources/COB-INF/aggregate/ src/main/resources/COB-INF/captcha/ src/main/resources/COB-INF/dreamteam/ src/main/resources/COB-INF/li...
Date Wed, 16 May 2007 06:23:39 GMT
Author: felixk
Date: Tue May 15 23:23:38 2007
New Revision: 538446

URL: http://svn.apache.org/viewvc?view=rev&rev=538446
Log:
use cocoon-samples-style-default block

Modified:
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/pom.xml
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/aggregate/sitemap.xmap
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/captcha/sitemap.xmap
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/dreamteam/sitemap.xmap
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/library/sitemap.xmap
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/pagination/sitemap.xmap
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/sitemap.xmap
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/data/sitemap.xmap
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/sitemap.xmap
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/pom.xml?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/pom.xml (original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/pom.xml Tue May 15 23:23:38 2007
@@ -39,12 +39,14 @@
     <dependency>
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-forms-impl</artifactId>
-      
+    </dependency>
+    <dependency>
+      <groupId>org.apache.cocoon</groupId>
+      <artifactId>cocoon-samples-style-default</artifactId>
     </dependency>
     <dependency>
       <groupId>org.apache.cocoon</groupId>
       <artifactId>cocoon-template-impl</artifactId>
-      
     </dependency>
   </dependencies>
   

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/aggregate/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/aggregate/sitemap.xmap?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/aggregate/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/aggregate/sitemap.xmap
Tue May 15 23:23:38 2007
@@ -28,7 +28,8 @@
       <map:serialize type="xml"/>
     </map:view>
     <map:view from-label="content" name="pretty-content">
-      <map:transform src="context://stylesheets/system/xml2html.xslt"/>
+      <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
+      <map:transform type="servletLinkRewriter"/>
       <map:serialize type="html"/>
     </map:view>
     <map:view name="links" from-position="last">
@@ -38,8 +39,7 @@
  
   <map:resources>
     <map:resource name="simple-page2html">
-      <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
-        <map:parameter name="contextPath" value="{request:contextPath}"/>
+      <map:transform src="servlet:style-default:/common/style/xsl/html/simple-page2html.xsl">
         <map:parameter name="servletPath" value="{request:servletPath}"/>
         <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
         <map:parameter name="file" value="{file}"/>
@@ -72,6 +72,7 @@
           <map:parameter name="dojo-resources" value="{servlet:ajax:/resource/external/dojo}"/>
           <map:parameter name="forms-resources" value="{servlet:forms:/resource/external/forms}"/>
          </map:transform>
+         <map:transform type="servletLinkRewriter"/>
         <map:serialize/>
       </map:match>
     </map:pipeline>

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/captcha/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/captcha/sitemap.xmap?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/captcha/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/captcha/sitemap.xmap
Tue May 15 23:23:38 2007
@@ -28,7 +28,8 @@
   </map:view>  
 
   <map:view from-label="content" name="pretty-content">
-   <map:transform src="context://stylesheets/system/xml2html.xslt"/>
+   <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
+   <map:transform type="servletLinkRewriter"/>
    <map:serialize type="html"/>
   </map:view>
 
@@ -40,8 +41,7 @@
  <map:resources>
    <!-- this will later become a virtual transformer -->
    <map:resource name="simple-page2html">
-     <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
-       <map:parameter name="contextPath" value="{request:contextPath}"/>
+     <map:transform src="servlet:style-default:/common/style/xsl/html/simple-page2html.xsl">
        <map:parameter name="servletPath" value="{request:servletPath}"/>
        <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
        <map:parameter name="file" value="{file}"/>
@@ -71,6 +71,7 @@
        <map:call resource="simple-page2html">
          <map:parameter name="file" value="success.xml"/>
        </map:call>
+       <map:transform type="servletLinkRewriter"/>
        <map:serialize/>
      </map:match>
 
@@ -92,6 +93,7 @@
        </map:transform>
        <map:transform type="i18n">
        </map:transform>
+       <map:transform type="servletLinkRewriter"/>
        <map:serialize/>
      </map:match>
 

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/dreamteam/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/dreamteam/sitemap.xmap?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/dreamteam/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/dreamteam/sitemap.xmap
Tue May 15 23:23:38 2007
@@ -37,7 +37,8 @@
       <map:serialize type="xml"/>
     </map:view>
     <map:view from-label="content" name="pretty-content">
-      <map:transform src="context://stylesheets/system/xml2html.xslt"/>
+      <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
+      <map:transform type="servletLinkRewriter"/>
       <map:serialize type="html"/>
     </map:view>
     <map:view name="links" from-position="last">
@@ -101,36 +102,36 @@
             <map:serialize type="xml"/>
           </map:when>
           <map:otherwise>
-            <map:transform src="context://samples/common/style/xsl/html/adding-header.xsl">
-              <map:parameter name="contextPath" value="{request:contextPath}"/>
+            <map:transform src="servlet:style-default:/common/style/xsl/html/adding-header.xsl">
               <map:parameter name="servletPath" value="{request:servletPath}"/>
               <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
               <map:parameter name="file" value="content/teamTemplate.jx"/>
             </map:transform>
             <map:transform type="i18n"/>
+            <map:transform type="servletLinkRewriter"/>
             <map:serialize type="html"/>
           </map:otherwise>
         </map:select>
       </map:match>
       <map:match pattern="showTeam.form">
         <map:generate type="jx" src="content/showTeam.jx"/>
-        <map:transform src="context://samples/common/style/xsl/html/adding-header.xsl">
-          <map:parameter name="contextPath" value="{request:contextPath}"/>
+        <map:transform src="servlet:style-default:/common/style/xsl/html/adding-header.xsl">
           <map:parameter name="servletPath" value="{request:servletPath}"/>
           <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
           <map:parameter name="file" value="content/teamTemplate.jx"/>
         </map:transform>        
         <map:transform type="i18n"/>
+        <map:transform type="servletLinkRewriter"/>
         <map:serialize type="html"/>
       </map:match>
       <map:match pattern="home.form">
         <map:generate type="jx" src="content/main.jx"/>
-        <map:transform src="context://samples/common/style/xsl/html/adding-header.xsl">
-          <map:parameter name="contextPath" value="{request:contextPath}"/>
+        <map:transform src="servlet:style-default:/common/style/xsl/html/adding-header.xsl">
           <map:parameter name="servletPath" value="{request:servletPath}"/>
           <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
           <map:parameter name="file" value="content/teamTemplate.jx"/>
         </map:transform>        
+        <map:transform type="servletLinkRewriter"/>
         <map:serialize type="html"/>
       </map:match>
       <!-- ========================================= -->

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/library/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/library/sitemap.xmap?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/library/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/library/sitemap.xmap
Tue May 15 23:23:38 2007
@@ -48,7 +48,8 @@
     </map:view>
     
     <map:view from-label="content" name="pretty-content">
-      <map:transform src="context://stylesheets/system/xml2html.xslt"/>
+      <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
+      <map:transform type="servletLinkRewriter"/>
       <map:serialize type="html"/>
     </map:view>
     
@@ -64,8 +65,7 @@
   <map:resources>
     <!-- this will later become a virtual transformer -->
     <map:resource name="simple-page2html">
-      <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
-        <map:parameter name="contextPath" value="{request:contextPath}"/>
+      <map:transform src="servlet:style:default:/common/style/xsl/html/simple-page2html.xsl">
         <map:parameter name="servletPath" value="{request:servletPath}"/>
         <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
         <map:parameter name="file" value="{file}"/>
@@ -115,6 +115,7 @@
           <map:parameter name="dojo-resources" value="{servlet:ajax:/resource/external/dojo}"/>
           <map:parameter name="forms-resources" value="{servlet:forms:/resource/external/forms}"/>
         </map:transform>
+        <map:transform type="servletLinkRewriter"/>
         <map:serialize/>
       </map:match>
       

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/pagination/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/pagination/sitemap.xmap?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/pagination/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/pagination/sitemap.xmap
Tue May 15 23:23:38 2007
@@ -30,8 +30,7 @@
   <map:resources>
     <!-- this will later become a virtual transformer -->
     <map:resource name="simple-page2html">
-      <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
-        <map:parameter name="contextPath" value="{request:contextPath}"/>
+      <map:transform src="servlet:style-default:/common/style/xsl/html/simple-page2html.xsl">
         <map:parameter name="servletPath" value="{request:servletPath}"/>
         <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
         <map:parameter name="file" value="{file}"/>
@@ -67,14 +66,24 @@
            <map:parameter name="dojo-resources" value="{servlet:ajax:/resource/external/dojo}"/>
            <map:parameter name="forms-resources" value="{servlet:forms:/resource/external/forms}"/>
          </map:transform>        
-       <map:select type="ajax-request">
-         <map:when test="true">
-           <map:serialize type="xml"/>
-         </map:when>
-         <map:otherwise>
-           <map:serialize type="html"/>
-         </map:otherwise>
-       </map:select>
+         <map:transform type="servletLinkRewriter"/>
+         <map:select type="ajax-request">
+           <map:when test="true"><!-- sending a partial Browser Update -->
+             <map:select type="request-parameter">
+               <map:parameter name="parameter-name" value="dojo.transport" />
+               <map:when test="iframe"><!-- sending BU via iFrameIO -->
+                 <map:transform src="servlet:forms:/resource/internal/xsl/IframeTransport-bu-styling.xsl"
/>
+                 <map:serialize type="xhtml" /><!-- this is REALLY important -->
+               </map:when>
+               <map:otherwise><!-- sending BU via XHR -->
+                 <map:serialize type="xml" />
+               </map:otherwise>
+             </map:select>
+           </map:when>
+           <map:otherwise><!-- sending a complete page -->
+             <map:serialize type="html" />
+           </map:otherwise>
+         </map:select>
       </map:match>
  
       <map:match pattern="*-result-pipeline.jx">
@@ -82,6 +91,7 @@
         <map:call resource="simple-page2html">
           <map:parameter name="file" value="{1}-success.xml"/>
         </map:call>
+        <map:transform type="servletLinkRewriter"/>
         <map:serialize/>
       </map:match>
       

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/sitemap.xmap
Tue May 15 23:23:38 2007
@@ -63,7 +63,8 @@
   </map:view>  
 
   <map:view from-label="content" name="pretty-content">
-   <map:transform src="context://stylesheets/system/xml2html.xslt"/>
+   <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
+   <map:transform type="servletLinkRewriter"/>
    <map:serialize type="html"/>
   </map:view>
 
@@ -75,8 +76,7 @@
  <map:resources>
    <!-- this will later become a virtual transformer -->
    <map:resource name="simple-page2html">
-     <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
-       <map:parameter name="contextPath" value="{request:contextPath}"/>
+     <map:transform src="servlet:style-default:/common/style/xsl/html/simple-page2html.xsl">
        <map:parameter name="servletPath" value="{request:servletPath}"/>
        <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
        <map:parameter name="file" value="{file}"/>
@@ -102,9 +102,8 @@
 
      <map:match pattern="">
       <map:generate src="welcome.xml"/>
-      <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
-         <map:parameter name="contextPath" value="{request:contextPath}"/>
-      </map:transform>
+      <map:transform src="servlet:style-default:/common/style/xsl/html/simple-samples2html.xsl"
/>
+      <map:transform type="servletLinkRewriter"/>
       <map:serialize/>
      </map:match>
 
@@ -136,6 +135,7 @@
              <map:call resource="simple-page2html">
                <map:parameter name="file" value="forms/form1_success_jx.xml"/>
              </map:call>
+             <map:transform type="servletLinkRewriter"/>
              <map:serialize/>
            </map:act>
          </map:when>
@@ -166,6 +166,7 @@
        </map:transform>
        <map:transform type="i18n">
        </map:transform>
+       <map:transform type="servletLinkRewriter"/>
        <map:serialize/>
      </map:match>
         
@@ -289,6 +290,7 @@
        <map:call resource="simple-page2html">
          <map:parameter name="file" value="forms/{1}_template_jx.xml"/>
        </map:call>
+       <map:transform type="servletLinkRewriter"/>
        <map:serialize/>
      </map:match>
 
@@ -311,6 +313,7 @@
        <map:call resource="simple-page2html">
          <map:parameter name="file" value="forms/{1}_success_jx.xml"/>
        </map:call>
+       <map:transform type="servletLinkRewriter"/>
        <map:serialize/>
      </map:match>
 
@@ -493,8 +496,7 @@
        <map:transform type="i18n">
          <!--map:parameter name="locale" value="en-US"/-->
        </map:transform>
-       <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
-         <map:parameter name="contextPath" value="{request:contextPath}"/>
+       <map:transform src="servlet:style-default:/common/style/xsl/html/simple-page2html.xsl">
          <map:parameter name="servletPath" value="{request:servletPath}"/>
          <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
          <map:parameter name="file" value="forms/htmlarea_template.xml"/>
@@ -504,6 +506,7 @@
          <map:parameter name="dojo-resources" value="{servlet:ajax:/resource/external/dojo}"/>
          <map:parameter name="forms-resources" value="{servlet:forms:/resource/external/forms}"/>
        </map:transform>
+       <map:transform type="servletLinkRewriter"/>
        <map:serialize/>
      </map:match>
 
@@ -574,6 +577,7 @@
          <map:parameter name="dojo-resources" value="{servlet:ajax:/resource/external/dojo}"/>
          <map:parameter name="forms-resources" value="{servlet:forms:/resource/external/forms}"/>
        </map:transform>
+       <map:transform type="servletLinkRewriter"/>
        <map:serialize type="html" />
      </map:match>
 
@@ -582,6 +586,7 @@
        <map:call resource="simple-page2html">
          <map:parameter name="file" value="forms/binding/done.jx"/>
        </map:call>
+       <map:transform type="servletLinkRewriter"/>
        <map:serialize />
      </map:match>
      

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/data/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/data/sitemap.xmap?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/data/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/data/sitemap.xmap
Tue May 15 23:23:38 2007
@@ -42,7 +42,8 @@
   </map:view>
 
   <map:view from-label="content" name="pretty-content">
-   <map:transform src="context://stylesheets/system/xml2html.xslt"/>
+   <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
+   <map:transform type="servletLinkRewriter"/>
    <map:serialize type="html"/>
   </map:view>
 
@@ -54,8 +55,7 @@
  <map:resources>
    <!-- this will later become a virtual transformer -->
    <map:resource name="simple-page2html">
-     <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
-       <map:parameter name="contextPath" value="{request:contextPath}"/>
+     <map:transform src="servlet:style-default:/common/style/xsl/html/simple-page2html.xsl">
        <map:parameter name="servletPath" value="{request:servletPath}"/>
        <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
        <map:parameter name="file" value="{file}"/>
@@ -92,6 +92,7 @@
          <map:parameter name="file" value="forms/{1}_template.xml"/>
        </map:call>
        <map:transform src="resources/forms-samples-styling.xsl"/>
+       <map:transform type="servletLinkRewriter" />
        <map:serialize/>
      </map:match>
 
@@ -100,6 +101,7 @@
        <map:call resource="simple-page2html">
          <map:parameter name="file" value="forms/{1}_success_jx.xml"/>
        </map:call>
+       <map:transform type="servletLinkRewriter" />
        <map:serialize/>
      </map:match>
 

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/sitemap.xmap?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/sitemap.xmap
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/swan/sitemap.xmap
Tue May 15 23:23:38 2007
@@ -48,7 +48,8 @@
     </map:view>
 
     <map:view from-label="content" name="pretty-content">
-      <map:transform src="context://stylesheets/system/xml2html.xslt"/>
+      <map:transform src="servlet:style-default:/stylesheets/system/xml2html.xslt"/>
+      <map:transform type="servletLinkRewriter"/>
       <map:serialize type="html"/>
     </map:view>
 
@@ -60,8 +61,7 @@
   <map:resources>
     <!-- this will later become a virtual transformer -->
     <map:resource name="simple-page2html">
-      <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
-        <map:parameter name="contextPath" value="{request:contextPath}"/>
+      <map:transform src="servlet:style-default:/common/style/xsl/html/simple-page2html.xsl">
         <map:parameter name="servletPath" value="{request:servletPath}"/>
         <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
         <map:parameter name="file" value="{file}"/>
@@ -99,6 +99,7 @@
           <map:parameter name="file" value="forms/{1}_template.xml"/>
         </map:call>
         <map:transform src="resources/swan.xsl"/>
+        <map:transform type="servletLinkRewriter" />
         <map:serialize/>
       </map:match>
  
@@ -112,6 +113,7 @@
         <map:call resource="simple-page2html">
           <map:parameter name="file" value="forms/{1}_success_jx.xml"/>
         </map:call>
+        <map:transform type="servletLinkRewriter" />
         <map:serialize/>
       </map:match>
  

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml?view=diff&rev=538446&r1=538445&r2=538446
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/META-INF/cocoon/spring/cocoon-forms-sample-blockServlet.xml
Tue May 15 23:23:38 2007
@@ -28,6 +28,7 @@
             <servlet:connections>
                 <entry key="ajax" value-ref="org.apache.cocoon.ajax.impl.servlet"/>
                 <entry key="forms" value-ref="org.apache.cocoon.forms.impl.servlet"/>
+                <entry key="style-default" value-ref="org.apache.cocoon.samples.style.default.servlet"
/>
             </servlet:connections>
         </servlet:context>
     </bean>



Mime
View raw message