Martijn Dashorst created WICKET-4784:
----------------------------------------

             Summary: DOM ids change of the input fields of FilterToolbar
                 Key: WICKET-4784
                 URL: https://issues.apache.org/jira/browse/WICKET-4784
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.5.8, 6.0.0
            Reporter: Wolfgang Kritzinger
             Fix For: 6.1.0
         Attachments: filter-columns2.tar.gz, WICKET-4758.patch

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()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to