[richfaces-issues] [JBoss JIRA] Created: (RF-7408) The whitespace at the end of any SelectItem.value results in errors expanding rich:combobox

Anton Lisovenko (JIRA) jira-events at lists.jboss.org
Sat Jun 20 10:58:08 EDT 2009


The whitespace at the end of any SelectItem.value results in errors expanding rich:combobox
-------------------------------------------------------------------------------------------

                 Key: RF-7408
                 URL: https://jira.jboss.org/jira/browse/RF-7408
             Project: RichFaces
          Issue Type: Bug
          Components: component-input
    Affects Versions: 3.3.1
            Reporter: Anton Lisovenko
            Priority: Minor


Rich:comboBox cannot be expanded, if any selectItem (in the backingBean.getSelectItems() method) contains the whitespace at the end of the value.

Steps to reproduce:

1. create backingBean, returning the SelectItem[]:
....
list[0] = new SelectItem("hello ");
return list;

2. use it on the page:
<rich:comboBox value="bye" > (for some reasons if the 'value' is not appointed, everything works ok)
<f:selectItems value="#{backingBean.selectItems}" />
</rich:comboBox>

3. result: the combobox is not expanded after clicking the "down" icon.

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