cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop Aryal <aar...@foresightint.com>
Subject request parameters..
Date Fri, 01 Aug 2003 01:28:13 GMT
hi, new to cocoon. looking at a couple of books and the example sitemap.
but what i can't figure out for the life of me is how to get at the
request parameters that i get in a GET request (it could be POST as
well). and propagate it in the cocoon:// protocol.

i have something like this..

(i know some of these need to be resources.. but i need them public for
right now)

--------------- sitemap snippet --------------

<map:match type="wildcard" pattern="one.xml">
<map:generate type="customGeneratorTypeOne"/>
</map:match>

<map:match type="wildcard" pattern="two.xml">
<map:generate type="customGeneratorTypeTwo"/>
</map:match>

<map:match type="wildcard" pattern="combined.xml">
  <map:aggregate>
    <map:part src="cocoon://one.xml"/>
    <map:part src="cocoon://two.xml"/>
  </map:aggregate>
  <map:transform type="xslt" src="combined.xsl">
  <map:serialize type="xml"/>
</map:match>

--------------- end sitemap snippet --------------


now, when i pass combined two parameters as such:
http://whathaveyou:8080/cocoon/combined.xml?oneParam=1&twoParam=2
i need those available to the corrseponding generators as parameters

any ideas?

thanks,
anoop.


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


Mime
View raw message