instead of $(document).ready(function() use wicket's iheadercontributor's response.writeondomreadyjavascript
-igor On Thu, Sep 9, 2010 at 1:09 PM, Joseph Pachod <josephpac...@thomas-daily.de> wrote: > hi > > It looks like the jquery files need to be included through a normal page > load. Contributing these headers through Ajax doesn't work, I guess it's due > to the use of $(document).ready(function(), which isn't triggered on ajax > refresh. > > > I tried to find a jquery workaround for that but without success up to now > (I'm no jquery expert). > > As such, I'm facing this strange requirement of having some headers > contributed only through normal page load, which would most probably mean on > first page display. > As some components are made visible/added through ajax only, I don't see how > to fulfil this need. > > Currently, I just try to add manually the required headers on each page which > might use one of the component requiring these headers... > For it to be perfectly bulletproof, I would have to add them to all pages by > default, but I find this quite bullish (and potentially slowing down deeply > the first access). > > Do you have any better solution? > > thanks in advance > joseph --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org