Without having tested it. IHeaderContributor is the major interface and it has one method void renderHead(final Response response); The Page calls visitChildren to iterate over all components and the components iterate over all there behaviors. Hence, if an ajax response should include the header contributions as well the only thing you need to do is to call Component.renderHead() for all components involved in the ajax request. But first you need to change Component.renderHead(HtmlHeaderContainer) to Component.renderHead(Response). One more thing to consider. HtmlHeaderContainer makes sure that headers are not printed more than once etc.. Is that required for ajax responses as well? If yes, than we probably need some more changes.
Juergen On 6/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > juergen is there an easy way to capture the wicket:head output from an ajax > render into the ajax target? i think we can just dump it as part of ajax > response via document.write or something like that. > > -Igor > > > > On 6/20/06, samyem <[EMAIL PROTECTED]> wrote: > > > > Has this problem been fixed yet? This is becoming a major problem in my > > project. > > -- > > View this message in context: > http://www.nabble.com/Ajax-Panel-Include-t1606490.html#a4957969 > > Sent from the Wicket - User forum at Nabble.com. > > > > > > > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user