为什么丰富:comboBox 使用值显示在列表中而不是标签中,就像我显示描述和选择 id 一样。
我这样做了
<rich:comboBox width="300">
<t:selectItems value="#{compromissoHome.buscar}" var="teste" itemValue="#{teste.testeId}" itemLabel="#{teste.teste1}"/>
</rich:comboBox>
Run Code Online (Sandbox Code Playgroud)