cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SGE0 <>
Subject How to pass parameters to an xsp sheet (called in a <map:aggregate> element).
Date Wed, 22 Jul 2009 12:59:37 GMT

I thought this was simple but I can't seem to pass request parameters to an
xsp sheet which is called in a  </map:aggregate> element.

Following example:

    <map:pipeline type="noncaching">             
        <map:match pattern="myaccount/usage-reporting.act">
                <map:aggregate element="page" label="peek-xml">
                  <map:part element="topnavbar"
ns="" src="documents/home/menu_en.xml"/>
                  <map:part element="mainnavbar"
ns="" src="documents/myaccount/menu_en.xml"/>
                  <map:part element="content" ns=""
                <!-- Transform main document -->            
                  <map:transform src="stylesheets/default/template.xsl">

In the aggregation the xsp sheet is called via:

    <map:pipeline internal-only="true">    
        <map:match pattern="myaccount/get-usage-reporting">
          <map:generate type="serverpages"
          <map:serialize type="xml"/>

In the xsp sheet I can't pick up the request-parameters that  were passed to
the myaccount/usage-reporting.act pipeline:

String period = parameters.getParameter("period", null);


How can this be achieved ?

What am I missing ?

View this message in context:
Sent from the Cocoon - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message