This content has been marked as final.
Show 1 reply
-
1. Rendering of combobox
daniell May 4, 2011 2:53 AM (in response to pankajjain_1510)I'm sorry, but I do not fully understand your requirements. But anyway - I try to make a suggestion
<rich:combobox value="#{bean.selectedCompanyValue}" >
<f:selectItems value="#{bean.companyValuesSelectItems}" />
</rich:combobox>
So you have to make a method in your bean which provides a List of SelectItems. The selected value will be stored in the attribute selectedCompanyValue.
If you're using Seam, you could try to use s:selectItems instead of f:selectItems.