Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-986

MVC form:checkbox and form:checkboxes tags do not apply registered Converters for their item values

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.5
    • 2.0.6
    • None

    Description

      Use case:
      a. checkbox binding to List<Capabilities>, selectable from availableCapabilities.
      b. registered StringToCapability converter which renders capabilitiy's name as a string
      c. even though converter is registered, the value for a checkbox element is the value of Capability.toString(), which is not correct

      The bug seems to be in the fact that MVCViews' BindingModel does not implement BindingResult and specifically the findEditor method used by BindStatus.

      Attachments

        Activity

          People

            kdonald Keith Donald
            kdonald Keith Donald
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: