Description
org.apache.wicket.protocol.http.AjaxEnclosureListener adds the inline enclosure when the controlling child is repainted but doesn't remove the child itself from the map and this leads to two <component> elements in the Ajax response.
<?xml version="1.0" encoding="UTF-8"?>
<ajax-response>
<component id="cc7" ><![CDATA[<div wicket:id="cc" id="cc7">New CC</div>]]></component>
<component id="wicket_InlineEnclosure_06" ><![CDATA[<div wicket:enclosure="cc" id="wicket_InlineEnclosure_06">
Before<br/>
<div wicket:id="cc" id="cc7">New CC</div>
After<br/>
</div>]]>
</component>
</ajax-response>
Attachments
Attachments
Issue Links
- links to