Heyvaert / wiquery

Automatically exported from code.google.com/p/wiquery
0 stars 0 forks source link

WiQueryDecoratingHeaderResponse, rendering plugin children for AjaxRequestTargets #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I had problems when I upgraded to 1.5-RC2. In my wicket code I'm
adding a component with children to the AjaxRequestTarget. Note that
the children are never themselves added as components to the target,
only their parent. Some of these children have added wiquery plugins.
But the wiquery statements were never rendered for these plugins. I
looks to me like this is a problem (assuming it should be possible to
render plugin in child components) in
renderAjaxResponse(AjaxRequestTarget ajaxRequestTarget). It will only
consider the componets that were added to the target but none if their
possible children. Maybe you should consider changing the method,
borrowing some code from the non AJAX render method, to something like
this:

Original issue reported on code.google.com by hielke.hoeve on 12 Sep 2011 at 8:15