1. it's quite simple. i want to pass parameters to my xsp page from my
sitemap. the typical modus operandi is to do this:

<map:generate src="content/product.xml" type="serverpages">
  <map:parameter name="foo" value="bar"/>
</map:generate>

but how do i access the parameter from my xsp page? actions are given a
Parameters object, but xsp pages are not, and i don't know how to access
the Parameters from the objectModel.

2. i want to add a couple of http response headers to a sitemap resource
pipeline:

   <map:match pattern="header">
    <map:generate src="content/header.xml" type="serverpages"/>
    <map:transform src="style/header2svg.xsl"/>
    <map:serialize type="svg2jpeg"/>
   </map:match>

i want to give it a Pragma: No-cache HTTP header so that the client will
refetch the resource every time. are there parameters i can pass to the
serializer so that it will add HTTP headers (assuming it subclasses
AbstractSerializer or whatever)? If not, would anyone oppose that
addition?

- donald


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to