By hardcoded I mean my HTML file starts with the following head:
Sign In
After I load the page with Ajax it has:
href="../../../stylesheets/jquery.mobile-1.0b1/jquery.mobile-1.0b1.css" />
src="../../../stylesheets/jquery-1.6.1/jquery-1.6.1.js">
src="../../../stylesheets/jquery.mobi
What exactly is hardcoded ?
I'm not aware of such documentation but it sounds like a good todo for me.
On Mon, Jul 18, 2011 at 7:35 PM, Scott Reed wrote:
> That works quite well, Martin.
>
> I can add my on-the-fly contributions at the top of the head. I would like
> to know how to pin-point the
That works quite well, Martin.
I can add my on-the-fly contributions at the top of the head. I would
like to know how to pin-point the location better so my additions come
after the hard-coded HTML meta content-type and title elements. Is there
some documentation that might explain more about
With
org.apache.wicket.Application.setHeaderResponseDecorator(IHeaderResponseDecorator)
you can setup custom
org.apache.wicket.markup.html.IHeaderResponseDecorator.
Wicket will call its
org.apache.wicket.markup.html.IHeaderResponseDecorator.decorate(IHeaderResponse)
when creating IHeaderResponse f
Looking at that code some more I realize I have no idea what it's doing
and I'm finding the javadocs and comments pretty opaque. Is there
anything you can refer me to that will give me the background to
understand this? I have both Wicket in Action and the Cookbook.
On 7/15/2011 2:07 PM, Marti
Thanks, Martin.
That example is about the Wicket "header". Will that also work somehow
for the HTML head? If so, how?
Scott
On 7/15/2011 2:07 PM, Martin Grigorov wrote:
You'll need to setup custom response decorator.
See http://www.wicket-library.com/wicket-examples/resourceaggregation
On
You'll need to setup custom response decorator.
See http://www.wicket-library.com/wicket-examples/resourceaggregation
On Fri, Jul 15, 2011 at 9:01 PM, Scott Reed wrote:
> I am adding script and css references on the fly using
> renderHead(IHeaderResponse). However this adds the head elements afte