[richfaces-issues] [JBoss JIRA] Created: (RF-9137) Richfaces.ComboBox.setInputWidth() can only handle numeric values

Paulo Pinto (JIRA) jira-events at lists.jboss.org
Thu Aug 26 11:24:12 EDT 2010


Richfaces.ComboBox.setInputWidth() can only handle numeric values
-----------------------------------------------------------------

                 Key: RF-9137
                 URL: https://jira.jboss.org/browse/RF-9137
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-input
    Affects Versions: 3.3.3.Final
         Environment: IE 8
Windows
            Reporter: Paulo Pinto


The Richfaces comboBox component fails to work if a style is applied to the component that uses medium, thin and so on, as dimensions.

It breaks the code in setInputWidth() method, line 124. The parsed number will be NaN, thus breaking the Javascript logic.

In our case we have set the CSS class INPUT.rich-combobox-input-inactive to border-right: medium none.

This makes the property CSS attribute border-right-width have the value medium, which breaks the parsing routine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list