7 Replies Latest reply on Jul 31, 2007 6:39 PM by ishabalov

    SelectItem does not rendered correctly within RichFaces' too

    Tony Mai Apprentice


      I have a downdrop listbox within a toolbar declared as followed:

      <rich:toolBarGroup itemSeparator="#{tbBean.groupItemSeparator}" location="right">
       <h:selectOneMenu value="#{beanMgr.type}" >
       <s:selectItems value="#{enumTranslator.aList}" var="aType" label="#{aType.label}"></s:selectItems>

      where type is declared as:
      public enum AType implements Serializable {
       TYPE_A("Type A")
       , TYPE_B ("Type B");
       private String label;
       AType(String label) {
       this.label = label;
       public String getLabel() {
       return label;
       public void setLabel(String label) {
       this.label = label;

      I use this code in many pages and they work very well. However, when used inside a RichFaces' Toolbar, the select list did not render the labels at all. I could see that the size of the select box was rendered with the correct count of items in the list and I could select the "empty" item in the list and the item would be propagated to the bean correctly.

      The only thing wrong is the label not being rendered.

      Is this a bug in ToolBar?