You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joose Vettenranta <jo...@iki.fi> on 2004/06/22 14:54:38 UTC
passing information during request
How do I pass information from one point to another inside one request?
I give you example in pipeline:
<map:aggregate>
<map:part src="cocoon://product-info.xml" />
<map:part src="cocoon://product-category.xml" />
</map:aggregate>
First one get's data from database, say:
name and category
second one goes to category and get's data like:
name
So I would need to pass that category id from first one to second one.
I can't rely on cookie support on this one. (otherwise, it would be
easy to use session).
So, is there a way to make a request time parameters through out the
sitemap? So defining it in product-info.xml and it would still be
accessible if needed to transformer?
One solution is to make select in product-category so that it first
takes product information and then product-category information. But
then it is not good use of reusable code blocks.
Cocoon 2.1.3
Thanks,
Joose
--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * joose@iki.fi * +358 44 561 0270 *
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org