Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3425

[Wicket Viewer] Boolean Parameter Default-Parameter-Support not triggering Form Updates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 2.0.0-RC2
    • Core
    • None

    Description

      Martin Hesse:

      In my Action Form I have a support member public Boolean default2Act(String p0, Boolean p1) that is being invoked, but the form is never updated. I debugged into ActionParametersForm#onUpdate and it seems like FormRepaint is always NOTHING. The method ScalarPanelAbstract#updateIfNecessary internally never detects a change, because the scalarModel and the paramValue are equal (already).

      Interestingly this only seems to be a problem for a Boolean parameter, because when the type of p2 is changed from Boolean to String, then the UI is being properly repainted. But also for String parameters Repaint will always be NOTHING. UI update must happen otherwise in that case

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              hobrom Andi Huber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: