Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

h:selectOneMenu and Map bindings  RSS feed

 
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!