如何使用水平线分隔selectOneListbox或selectManyMenu内部的项目?
这是我的xhtml
<p:selectOneListbox id="basic1" value="#{decisionTreeBean.option1}"
style=" font-size: 12px;background-color:silver;width:12em; height:10em; border-style:solid !important;border-width:0.5px !important; border-color:grey !important;">
<f:selectItems value="#{decisionTreeBean.commentType}" var="X"
itemLabel="#{X}" itemValue="#{X}"/>
</p:selectOneListbox>
</p:panel>
<!-- mtcnc -->
<p:panel>
<h6 style="width: 10.4em; background-color: #ACBECE;">MTCN</h6>
<p:selectManyMenu id="advanced1"
value="#{decisionTreeBean.option2}" showCheckbox="true"
style="font-size: 12px;background-color:silver;width:12em; height:10em; border-style:solid !important;border-width:0.5px !important; border-color:grey !important;">
<f:selectItems value="#{decisionTreeBean.mtcns}" var="X"
itemLabel="#{X}" itemValue="#{X}" />
</p:selectManyMenu>
</p:panel>