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

Multiple checkboxes to Collection mapping

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.3
    • None

    Description

      Using Spring's <form:checkboxes> tag to present multiple checkboxes for the user to choose values of a collection attribute of the model (e.g. Set<T>) WebFlow only offers the first selected value for mapping, and requests it to be mapped as a collection (Set, List, etc). The subsequent values are discarded silently.
      Expected behavior would be convert every individual value to type T and set the attribute as the collection (e.g. Set<T>)
      Spring MVC works this way.

      Reference: http://forum.springframework.org/showthread.php?p=183366

      Attachments

        Issue Links

          Activity

            People

              kdonald Keith Donald
              foolman Nemeth, Gabor
              Votes:
              7 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: