Palancher aurélien created WICKET-7057:
------------------------------------------

             Summary: header not rendered for components whithin enclosure in 
ajax response
                 Key: WICKET-7057
                 URL: https://issues.apache.org/jira/browse/WICKET-7057
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 9.13.0
            Reporter: Palancher aurélien
         Attachments: callstack1.png, callstack2.png, myproject.zip

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 :
```html
<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




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to