4 Replies Latest reply on Mar 3, 2009 8:26 AM by Aleksandr Dubovsky

    rich:comboBox height is minimized and can't be increased

    Greg Fasnacht Newbie

      I've created a rich:comboBox instance to display a list of available users. At some point while working on the backing bean for the page on which the rich:comboBox lives (unnoticed by me) the comboBox dropdown size shrunk to just the height of the up and down scroll arrows (about 2 rows). I hadn't changed any of the comboBox code, but I had moved the actual creation of the list of SelectItems for the comboBox from the backing bean to a stateful controller...the backing bean accesses the list through a getter.

      I've tried setting the listHeight to force the dropdown list to be taller...setting the attribute has no effect. I've also tried moving the SelectItem list back to the backing bean but that also has no effect. Any ideas what might be happening?

      Here's the code in the gui page:

      <rich:column id="pointUser" title="User">
      <f:facet name="header">
      <h:outputText value="User"/>
      <rich:comboBox id="selectUser" defaultLabel="Select User Name" value="#{routePoint.user.formattedName}" valueChangeListener="#{ApprovalRouteEdit_Backing.doSelectUser}">
      <f:selectItems value="#{ApprovalRouteEdit_Backing.freeUsers}"/>
      <a4j:support event="onselect" ajaxSingle="true" reRender="routeTable"/>