i want to make simple DropDownList.
<p:selectOneMenu id="starter" value="#{reportRegisterManagedBean.starter}" style="width:160px" converter="#{reportStarterConverter}" required="true" requiredMessage="Select Report Starter">
<ui:repeat value="#{reportRegisterManagedBean.startersSelectItems}" var="dss">
<f:selectItem itemLabel="#{dss}" itemValue="#{dss}" itemDescription="TEST" />
</ui:repeat>
</p:selectOneMenu>
DropDownList
is enpty, if i use <f:selectItems>
instead of <ui:repeat>
works very well, but <f:selectItems>
Component itemDescription
=(this is simple tooltip analogy) not working. <f:selectItem>
Component itemDescription
=(this is simple tooltip analogy) working fine. That's why I decided to use the and <f:selectItem>
with its itemDescription
attribute.
reportRegisterManagedBean.starter
orreportRegisterManagedBean.startersSelectItems
? – Apurv