Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-11021

rich:select should show first item in list if defaultLabel is not set

    Details

      Description

      This code does not display first value. Id displays emty item.

       
      <rich:select id="unitSelect" value="#{editBean.paramEditor1.unitKeyWithRange}" selectFirst="true">
          <f:selectItems value="#{editBean.paramEditor1.availableUnits}"/>
      </rich:select>
      

      This code dispays first value

       
      <h:selectOneMenu id="unitSelect" value="#{editBean.paramEditor1.unitKeyWithRange}">
          <f:selectItems value="#{editBean.paramEditor1.availableUnits}"/>
      </h:selectOneMenu>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                niknik77771 Ara Minosian
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: