[richfaces-issues] [JBoss JIRA] Created: (RF-2981) InlineSelect component : 'fieldValue' shouldbe passed to the components converter when initialized from component.getAttributes().get("value")

Chris Rudd (JIRA) jira-events at lists.jboss.org
Fri Apr 4 12:31:21 EDT 2008


InlineSelect component : 'fieldValue' shouldbe passed to the components converter when initialized from component.getAttributes().get("value")
----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: RF-2981
                 URL: http://jira.jboss.com/jira/browse/RF-2981
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: Chris Rudd


When using a Converter on the InlineSelect component the JS code generated uses an incorrect value for "current" value of the control.

It appears that the rendered does this :

		Object value = component.getSubmittedValue(); 
		if(value == null) {
			value = component.getAttributes().get("value");
		}	
		Object fieldValue = value;

If the value id read directly from the componet it needs to be converted by Converter.asString(...).



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

        



More information about the richfaces-issues mailing list