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 Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.0.SR1, 3.2.1
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

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

        Activity

        Hide
        Anton Belevich
        added a comment -

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

        Show
        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:
            Anton Belevich
            Reporter:
            Chris Rudd
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: