I populate a selectOneListbox with data from a table from a backing class;

<h:selectOneListbox id="loanSelectionListbox"
value="#{loanSelectionListDataModelBean.loanName}"
 
valueChangeListener="#{loanSelectionListDataModelBean.selectedLoanNameList}"
immediate="true">
                        <f:selectItems
value="#{loanSelectionListDataModelBean.loanNameList}" />
                    </h:selectOneListbox>

value = valueChangeEvent.getNewValue();

This give the element number select in the list 1-99 etc

How do I get the actual value text (Loan Name)?

Thanks,

Roger Lee


Reply via email to