cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From navrc <navrkal.pa...@seznam.cz>
Subject get map parameter in JX template
Date Mon, 02 Jun 2008 09:04:39 GMT

Hallo,
How can I get a map parameter in JX template. I'm using cocoon 2.1.11. In
sitemap I have:

<map:match pattern="AAA">
                <map:generate type="jx" src="jx_test.xml">
                  <map:parameter name="test" value="testValue"/>
                </map:generate>
                <map:serialize type="xml"/>
</map:match>

And in template I have:
${cocoon.parameters('test')}
${cocoon.parameters.test}

There is no output.

But when I write only ${cocoon.parameters} I get:

Parameters[r/w]:{test=testValue}

Whot I do wrong.

Many thanks.
Pavel Navrkal


-- 
View this message in context: http://www.nabble.com/get-map-parameter-in-JX-template-tp17596912p17596912.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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


Mime
View raw message