如何在<f:selectonemen>> <p:selectonemenu> </p:selectmanymenu> </f:selectitems>之间分隔/分隔<f:selectitems>

时间:2013-07-18 11:33:30

标签: jsf-2 primefaces

我需要在<f:selectItems> <p:selectManyMenu>之间有一个分隔符/分隔符,这是JSF2 + Primeface3 Web应用程序。请找到以下代码:

<p:selectManyMenu
  id="venue" value="#{PstOfrBen.selectedVenues}"
  required="true" style="width: 285px;height: 200px">
    <f:selectItems value="#{BsnsDshbrdBen.business.venues}" var="venue"
      itemLabel="#{venue.venueAsDisplayString}" itemValue="#{venue.seoURL}" />
</p:selectManyMenu>

1 个答案:

答案 0 :(得分:0)

只需调整菜单项的类:

.ui-selectlistbox-item {
    border-bottom: 1px solid black;
}