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

AbstractPropertyModel getObjectClass don't consider nested IObjectClassAwareModel targets

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.9
    • 1.4.13, 1.5-M3
    • wicket
    • None

    Description

      Currently if AbstractPropertyModel has an target that implements the IObjectClassAwareModel interface, the known class of that target is not used to infer the modeled property type.
      Requested improvement: use 'target type'+'property expression' to return the property type of the AbstractPropertyModel

      Attachments

        1. TestModelObjectClass.java
          1 kB
          Pedro Santos
        2. patch.txt
          5 kB
          Pedro Santos

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            pedrosans Pedro Santos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: