Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1621

Misleading example works despite error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4-RC2
    • wicket-examples
    • None
    • not applicable

    Description

      The resolution to Wicket-1601 is that anytime a ListView is used in a Form and contains form components one should call #setReuseItems(true). The JavaDoc for ListView indeed says this.

      However, most people learn Wicket primarily by looking at the examples, and the RadioGroup component example creates a ListView that contains form components, but does not do this. (When I followed the example it worked until I put two such RadioGroups on the same page.)

      Attachments

        1. screenshot-1.jpg
          161 kB
          Frank Silbermann

        Activity

          People

            jdonnerstag Juegen Donnerstag
            fsilber Frank Silbermann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: