On 03/22/2012 12:47 PM, eraonel wrote:
> Hi,
>
> I am looking for an example on how to access keys and values in a Map using
> jelly script.
>
> Any ideas how I can do that?
>
> br,
>
> //mike
>
> --
> View this message in context:
> http://jenkins.361315.n4.nabble.com/how-to-access-Map-from-jelly-script-tp4495259p4495259.html
> Sent from the Jenkins dev mailing list archive at Nabble.com.
A map can be accessed via its public API. E.g., if the map is returned
in your model with getMap() then you write
${"Myvalue".equals(it.map.get(key))} where 'it' is your model object and
'key' is your key value
Ulli