cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject [C2] sitemap parameters
Date Wed, 09 May 2001 13:26:10 GMT

  <map:match pattern="test.*">
       <map:act set="myactions">
         <parameter name="media" value="{1}"/>
         <map:generate type="serverpages" src="page.xsp">
            <parameter name="media"   value="{../media}"/>
         </map:generate>
       </map:act>
   ...

and within the XSP I tried to access the parameter via

     String media = parameters.getParameters("media",null);

But it's not there... How can I pass the parameter?
--
Torsten


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message