[richfaces-issues] [JBoss JIRA] Assigned: (RF-6574) Can't select blank or empty entry from a comboBox
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Tue Apr 7 14:56:23 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-6574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski reassigned RF-6574:
----------------------------------
Assignee: Tsikhon Kuprevich (was: Nick Belaevski)
> Can't select blank or empty entry from a comboBox
> --------------------------------------------------
>
> Key: RF-6574
> URL: https://jira.jboss.org/jira/browse/RF-6574
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.3.0
> Environment: RichFaces 3.3.0GA, Mojarra JSF Implementation 1.2_09-b02-FCS, Tomcat 6.0.18, FF 3.0.7, IE 7.0
> Reporter: Dean Ashby
> Assignee: Tsikhon Kuprevich
> Fix For: 3.3.1
>
>
> Once the CSS definition has been applied to allow the first blank entry to be displayed properly it's not possible to select the blank entry from the list. The only way to set the input to the blank entry is to close the list popup, select/highlight the text in the ComboBox input, and delete it using the Delete key.
> 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;
> }
> CSS definition:
> .rich-combobox-item
> {
> height: 16px;
> }
--
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