This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Variables used as map keys  RSS feed

 
Daniel Prene
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to have a variable represent a map key in a jsf tag?
Effectively I'm trying to do this:


Any help would be endlessly appreciated, thank you
- D.P.

[ March 13, 2006: Message edited by: Daniel Prene ]
[ March 13, 2006: Message edited by: Daniel Prene ]
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you do have not repear #{} inside EL. So, at least, it should be:
"#{projectBacker.assigneeParticipation[user.id]}"

--
Sergey : http://jsfTutorials.net
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!