Description
The attached example works, if we use "add" instead of "queue". The quickstart is already shrinked to a minimum.
7.3.0-SNAPSHOT is also affected.
Panel.html
<wicket:panel> <div wicket:id="container"> <div wicket:enclosure="child"> <p wicket:id="child">1</p> <a wicket:id="child2">2</a> </div> </div> </wicket:panel>
TestPanel.java
public TestPanel(String id) { super(id); WebMarkupContainer container = new WebMarkupContainer("container"); container.queue(new Label("child") { @Override protected void onInitialize() { super.onInitialize(); setDefaultModel(Model.of("test")); } }); container.queue(new WebMarkupContainer("child2").setVisible(false)); queue(container); }
Attachments
Attachments
Issue Links
- is related to
-
WICKET-6187 Enclosures rendered twice in derived component
- Resolved