cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jantje <janvanop...@skynet.be>
Subject <map:serialize type="servletService"/>
Date Wed, 04 Jun 2008 16:56:39 GMT

Hi there, i have this in my sitemap (the cocoon 2.2 examples):

    <map:pipeline>
      <map:match pattern="view/*">
        <map:generate src="view/{1}.jx" type="jx" />
        <!-- Make use of servlet services -->
        <map:serialize type="servletService">
          <map:parameter name="service"
value="servlet:style-default:/service/blocks/dynamic-page2html"/>
        </map:serialize>
      </map:match>
    </map:pipeline>

This uses, in serialize, the file dynamic-page2html.xsl

1) Why is this file named dynamic-page2html and not dynamic-page2html.xsl

2) How can I use a file, which is in the same directory as sitemap.xmap. So,
for example:
  value="servlet:style-default:dynamic-page2html"/>
  (I can't get this to work)

3. Where is some basic information about
        <map:serialize type="servletService">

Thanks, jantje...
-- 
View this message in context: http://www.nabble.com/%3Cmap%3Aserialize-type%3D%22servletService%22-%3E-tp17651467p17651467.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message