[richfaces-issues] [JBoss JIRA] Resolved: (RF-6057) list height of comboBox rendered to small if first element in list is SelectItem with empty String value

Anton Belevich (JIRA) jira-events at lists.jboss.org
Mon Jul 6 14:28:52 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anton Belevich resolved RF-6057.
--------------------------------

    Fix Version/s: 3.3.2.CR1
                       (was: Future)
       Resolution: Done
         Assignee: Tsikhon Kuprevich  (was: Anton Belevich)


community branch

> 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
>            Assignee: Tsikhon Kuprevich
>             Fix For: 3.3.2.CR1
>
>
> 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

        



More information about the richfaces-issues mailing list