[ 
https://issues.apache.org/jira/browse/WICKET-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495615
 ] 

Alastair Maw commented on WICKET-175:
-------------------------------------

I'm referring to page.onDetach() being called once for every image in your 
page. I guess that's fine, in which case we should close this bug.

> Page.onDetach is called by each ComponentResourceRequestTarget
> --------------------------------------------------------------
>
>                 Key: WICKET-175
>                 URL: https://issues.apache.org/jira/browse/WICKET-175
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3, 2.0
>            Reporter: Alastair Maw
>             Fix For: 1.3, 2.0
>
>
> ComponentResourceRequestTarget#detach(RequestCycle) calls 
> page#internalDetach()
> This results in Page#onDetach() being called as many times as there are 
> images or whatever on your page, which seems entirely wrong. Mentioned this 
> to ivaynberg on IRC and he said: "we should have theadlocal guards".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to