OK :-)
When I create a special AjaxBehavior I can overwrite the onRenderHead method 
which has an IHeaderContributor (=Header Contributor) as parameterJavaScript to 
the page's <head> section.
But every AjaxBehavior renders it's own <script>....</script> tag. I there are 
a lot of such AjaxBehaviors on a page then the header contains a huge number of 
<script>...</script> sections with only a few characters of javascript inside.
I found no possibility to combine all the small pieces in one 
<script>....</script> section.
So my idea was to use my own, extended version of HeaderContributor. Just like 
I can have a own version of Session. But where can I direct Wicket to use my 
extended version of HeaderContributor?

________________________________

Von: Martin Funk [mailto:mafulaf...@googlemail.com]
Gesendet: So 07.06.2009 19:00
An: users@wicket.apache.org
Betreff: Re: Custom HeaderContributor




Am 07.06.2009 um 18:43 schrieb Stefan Lindner:

> Is it possible to have a custom HeaderContributor?

err... could you elaborate a little more?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to