Re: [xwiki-users] get value from map

2009-12-09 Thread Bubulina
Hello sorry for this. it was a simple thing.my bad was . i just had to use: $myMap.get($pageName) Thx still :) Marius Dumitru Florea wrote: > > Hi, > > My advice is to write the code in Java first and then adapt it for > Velocity. In Velocity you work with Java objects and you must know their

Re: [xwiki-users] get value from map

2009-12-09 Thread Marius Dumitru Florea
Hi, My advice is to write the code in Java first and then adapt it for Velocity. In Velocity you work with Java objects and you must know their API. Bubulina wrote: > Hello, > i Have this hashmap that i populate. > no when i want to show in a table the key : value i get an error. this is > the

[xwiki-users] get value from map

2009-12-09 Thread Bubulina
Hello, i Have this hashmap that i populate. no when i want to show in a table the key : value i get an error. this is the code: #foreach($pageName in $myMap.keySet()) #foreach($dateDoc in $myMap.values()) $pageName $pageName