Re: OGNL map key reading

2010-11-19 Thread Emil Dombagolla
Thanks for the soultion, it s true, i can handle that way Emil On Wed, Nov 17, 2010 at 9:25 PM, Steven Yang kenshin...@gmail.com wrote: so currentPageHotelList[#stat.index] gives a Map? if ur using an iterator u can just do s:iterator value=list var=map -- of course u can use top as well

Re: OGNL map key reading

2010-11-19 Thread Emil Dombagolla
Thanks you very much for this solution , you saved me. first option works for me very well, thanks In advance. Emil On Thu, Nov 18, 2010 at 5:32 PM, Li Ying liying.cn.2...@gmail.com wrote: try: invoke the [get] method on map: s:property

Re: OGNL map key reading

2010-11-18 Thread Li Ying
try: invoke the [get] method on map: s:property value=currentPageHotelList[#stat.index].get(#roomindex)/ or reference property on map: s:property value=currentPageHotelList[#stat.index].(#roomindex)/ or iterator on values of map: s:iterator value=currentPageHotelList[#stat.index].values

OGNL map key reading

2010-11-17 Thread Emil Dombagolla
Dear all, - s:property value=currentPageHotelList[#stat.index].room0/ //this works , i want room0 make

Re: OGNL map key reading

2010-11-17 Thread Steven Yang
so currentPageHotelList[#stat.index] gives a Map? if ur using an iterator u can just do s:iterator value=list var=map -- of course u can use top as well but l like giving it a name s:property value=map[#roomindex]/ /s:iterator On Wed, Nov 17, 2010 at 4:13 PM, Emil Dombagolla