【发布时间】:2012-06-04 05:41:04
【问题描述】:
我遇到了一个与rich:ComboBox 相关的问题
<rich:comboBox id="colorBox" value="#{formInputBean.color}">
<f:selectItem itemValue="Red" />
<f:selectItem itemValue="White" />
<f:selectItem itemValue="Blue" />
<f:selectItem itemValue="green" />
<f:selectItem itemValue="black" />
<f:selectItem itemValue="pink" />
</rich:comboBox>
这是我的组合框的代码。但这在组合框字段和组合框下拉按钮之间显示了一个空白区域。 这是示例:
请指导我,如何解决它
谢谢
【问题讨论】:
-
您是否尝试使用 firebug 检查组合框的 css 样式?您是否尝试过
<h:selectOneMenu>组件或<rich:autocomplete>,它提供了 Richfaces 4 中旧<rich:comboBox>的功能?