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

RatingPanel doesn't "wrap" models

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-RC2
    • 1.4-RC6
    • wicket-extensions
    • None

    Description

      I tried to pass instances of ComponentPropertyModel class to RatingPanel constructor,
      but it leads to IllegalStateException("Wrapper should have been called") on attempt to call ComponentPropertyModel.getObject method.

      Fix is rather trivial, see attached patch.

      Attachments

        1. RatingPanel.diff
          0.9 kB
          Michael Mikhulya

        Activity

          People

            jdonnerstag Juegen Donnerstag
            mihasik Michael Mikhulya
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: