[richfaces-issues] [JBoss JIRA] Commented: (RF-6057) list height of comboBox rendered to small if first element in list is SelectItem with empty String value
Dean Ashby (JIRA)
jira-events at lists.jboss.org
Thu Mar 19 21:20:22 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458296#action_12458296 ]
Dean Ashby commented on RF-6057:
--------------------------------
Kind of related, I can't seem to select the first blank entry from the list. The list popup will only disappear when you click on a non-blank select item.
> 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: Anton Belevich
> Fix For: Future
>
>
> 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