Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-2981

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.0.SR1, 3.2.1
    • Component/s: None
    • Labels:
      None

      Description

      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(...).

        Gliffy Diagrams

          Activity

          Hide
          abelevich Anton Belevich added a comment -

          fixed in the trunk. It will be great if we merge fixed version with 3.2.x branch

          Show
          abelevich Anton Belevich added a comment - fixed in the trunk. It will be great if we merge fixed version with 3.2.x branch

            People

            • Assignee:
              abelevich Anton Belevich
              Reporter:
              cmrudd Chris Rudd
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development