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/ * [EMAIL PROTECTED] * +358 44 561 0270 *


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



Reply via email to