[richfaces-issues] [JBoss JIRA] Created: (RF-6464) Combobox is broken by empty value of the 1th select item in the list.

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Tue Mar 3 08:08:22 EST 2009


Combobox is broken by empty value of the 1th select item in the list.
---------------------------------------------------------------------

                 Key: RF-6464
                 URL: https://jira.jboss.org/jira/browse/RF-6464
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.1
         Environment: 3.3.1.SNAPSHOT
            Reporter: Alexander Dubovsky
            Assignee: Nick Belaevski
            Priority: Minor


Source:
<rich:comboBox id="combo" value="#{comboBox.modelSelected}"
	defaultLabel="Select account ..." >
	<f:selectItems value="#{comboBox.selectItemListModel}" id="accounts" />
</rich:comboBox>

selectItemListModel = new ArrayList<SelectItem>();
selectItemListModel.add(new SelectItem("  "));
for (int i = 0; i < 10; i++) {
	selectItemListModel.add(new SelectItem("val" + i));
}

# Open page, click comboBox arrow, check list height
Result: only 2 items are visible.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list