Hi I am wondering the best way to implement this requirement. I have a database table with a varchar2 field to populate the selectOneMenu. On the same table is a column of type CHAR(1) having a 'Y' or 'N' value, and I want to use this to also disable/enable the field.
I was going for something simple like the first option demo in BalusC answer here How to populate options of h:selectOneMenu from database? and Here was a post I looked at having to do with disabling items in selectOneMenu - <h:selectOneMenu> with temporary disabled SelectItems
But I do not quite know how can I combine the two things above here in an EASY way to manage both enable/disabled and populating the list?