On Mon, May 14, 2012 at 11:57 PM, kamiseq kami...@gmail.com wrote:
I was thinking about creating custom behaviour that will connect to other
behaviour and render all scripts needed at the bottom of the page (If this
is possible),
It is possible.
See the source of
I was thinking about creating custom behaviour that will connect to other
behaviour and render all scripts needed at the bottom of the page (If this
is possible),
I understand that headerContributior is not good choice as it will render
scripts in head section and we want them at the bottom
Hi,
I think there are two options:
1) use a IMarkupFilter that will extract the scripts from the markup and
transform them to header contributions via ComponentTag#addBehavior()
2) wicket:head has a non-documented attribute called wicket:scope that
may help here. I haven't used it (otherwise I'd
I would like to aggregate all javascript and move to the bottom of the
page. I looked into the resource aggregation example and also filtering
header response. If I understand correctly header response filter
methods are called only when the scripts are added explicitly through
IHeaderResponse