Hello
How does one access the previous layers of sitemap parameters from
inside an action? For example in this snippet of code:
<resource name="page">
<act src="process.xsp" type="xsp-action">
...
<match pattern="article-*">
<call resource="page">
<parameter name="type" value="article"/>
<parameter name="id" value="{1}"/>
</call>
</match>
How would I access "class" and "id" from inside the process.xsp action
without passing them explicitly from layer to layer of parameters?
I'd rather avoid repeating them over and over like this:
<resource name="page">
<act src="init.xsp" type="xsp-action">
<parameter name="type" value="{type}"/>
<parameter name="id" value="{id}"/>
...
Is it possible? Should I be doing it in a different way? I'm asking
because repeating things in a complex pipeline can get messy quite
easily, but I didn't find a solution on the Cocoon docs.
Tobia
--
Signed/encrypted mail welcome. GPG/PGP Key-Id: 0x15C5C2EA
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]