This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

h:selectOneMenu and Map bindings

 
Matt Fury
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am currently having an issue with a Map binding to selectOneMenu tag. Does anyone know if this is readOnly? It appears to be.

I am trying to set the value to something like: #{modelBean.pocket['11']} where 11 is the string key to a Map. I don't get an exception but it does not appear to bind the values at all. This is for the selectOneMenu tag. The selectItems tag has a different Map that populates the list box initially.
 
Jolie Lee
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a selectmanylistbox and i use the same way to get the data from my backing bean and to display out. it seems to be working fine.



maybe you double check the backing bean?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic