[
https://issues.apache.org/jira/browse/WICKET-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13559558#comment-13559558
]
Robert Niestroj commented on WICKET-4999:
-
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.
CLONE - Duplicate html ID for generated divs in modal.js
Key: WICKET-4999
URL: https://issues.apache.org/jira/browse/WICKET-4999
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 1.5.4
Reporter: Robert Niestroj
Assignee: Igor Vaynberg
Fix For: 1.5.5, 6.0.0-beta1
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