list height of comboBox rendered to small if first element in list is 
SelectItem with empty String value
--------------------------------------------------------------------------------------------------------

                 Key: RF-6057
                 URL: https://jira.jboss.org/jira/browse/RF-6057
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
         Environment: RichFaces 3.3.0, JSF 1.2.09, Tomcat 6.0.18, FF 3.0.6, IE 
7.0 
            Reporter: Remo Marti


The rendering of the list height in a combo box seems to depend on the number 
of elements contained therein, as well as the height of the first element. If 
the first element in the list is a SelectItem with empty value, the height of 
the entire list is incorrectly rendered.

Example:

<rich:comboBox>
        <f:selectItems value="#{bean.optionsWithEmptyElement}"/>
</rich:comboBox>

public List<SelectItem> getOptionsWithEmptyElement () {
        List<SelectItem> result= new ArrayList<SelectItem>();
        result.add(new SelectItem(""));
        result.add(new SelectItem("Item 1"));
        result.add(new SelectItem("Item 2"));
        result.add(new SelectItem("Item 3"));           
        return result;
}

-- 
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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to