Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
9.13.0
-
None
-
None
Description
Ajax response doesn't contain the binding of events (Wicket.Ajax.ajax({"u":...) of components while they are positionned within an enclosure.
With the following code :
```
<div wicket:enclosure="mylink">
<a wicket:id="mylink"></a>
<label wicket:id="mylabel"></label>
<a wicket:id="myotherlink"></a>
</div>
```
When you click on mylink to refresh mylabel, wicket refreshes the enclosure tag, and call renderhead of behaviors of enclosure and mylink only, so myotherlink event is not bound
It can be reproduced in the quickstart.
I've also joined some pictures of the callstack to find easily where is the problem
I don't know if other versions are affected
Attachments
Attachments
Issue Links
- is related to
-
WICKET-6622 Enclosure Ajax Bug
- Open
-
WICKET-4874 "Cannot find element with id" error seen in Ajax Debug for child of wicket:enclosure
- Resolved