[
http://jira.jboss.com/jira/browse/RF-2981?page=all ]
Anton Belevich reassigned RF-2981:
----------------------------------
Assignee: Ilya Shaikovsky (was: Anton Belevich)
fixed in the trunk. It will be great if we merge fixed version with 3.2.x branch :)
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
Assigned To: Ilya Shaikovsky
Fix For: 3.2.1
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