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

DOM ids change of the input fields of FilterToolbar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.8, 6.0.0
    • 6.1.0
    • wicket-extensions
    • None

    Description

      The fix in WICKET-3916 is not effective: https://fisheye6.atlassian.com/changelog/wicket?cs=1148229

      https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/Component.java#L2506

      As one can see in Component.internalRenderComponent(), the method Component.onComponentTag(), where the markup id is written to the tag, is called before the behavior had a chance to call setOutputMarkupId(true). (The Behavior.onComponentTag() is called in Component.renderComponentTag() a few lines down. The behavior has to call setOutputMarkupId() earlier, like in onConfigure()

      Attachments

        1. WICKET-4758.patch
          4 kB
          Wolfgang Kritzinger
        2. filter-columns2.tar.gz
          21 kB
          Wolfgang Kritzinger

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wk Wolfgang Kritzinger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: