[ https://issues.apache.org/jira/browse/WICKET-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559555#comment-13559555 ]
Robert Niestroj commented on WICKET-4363: ----------------------------------------- I think the bug is still there in Wicket 6.4.0 This is the Panel i have in my modalWindow: <wicket:panel> <div wicket:id="formContainer"> <div wicket:id="editInstallationFormPanel"> </div> </div> <div class="ui-widget ui-corner-all" style="margin-top:10px;"> <div wicket:id="filterForm" class="ui-widget-header ui-corner-top" style="padding: 5px;"> </div> <table wicket:id="dataTable" class="ui-widget-content ui-corner-bottom"> </table> </div> </wicket:panel> When i add the wicket:id="formContainer" to the target it gets duplicated with the same generated id. I have a link in the wicket:id="dataTable" for editing items from the datatable. This link uses replaceWith to replace the wicket:id="formContainer" with a new instance and then i add wicket:id="formContainer" to the AjaxRequestTarget. Then it doubles the formContainer div. Can you reopen this isse? > Duplicate html ID for generated divs in modal.js > ------------------------------------------------ > > Key: WICKET-4363 > URL: https://issues.apache.org/jira/browse/WICKET-4363 > Project: Wicket > Issue Type: Bug > Components: wicket-extensions > Affects Versions: 1.5.4 > Reporter: Rodolfo Hansen > Assignee: Igor Vaynberg > Fix For: 1.5.5, 6.0.0-beta1 > > Attachments: 0001-Fix-duplicate-IDs-in-modal-window.patch > > Original Estimate: 0h > Remaining Estimate: 0h > > using wicket's ModalWindow creates invalid markup since it creates two divs > with id="_wicket_window_11" -- 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