Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL expression

 
Arnab Kundu
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${colorMap[red]} is equivalent to colorMap.get(pageContext.findAttribute("red")) where colorMap is a Map.

Will the same be true for a)list b) Array c) Bean ???
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For list and Array you can only use [] for bean and map you can use both(dot and []).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic