Re: Header requiring to be contributed through page load and not ajax...

2010-09-11 Thread Alexander Morozov
Hi! Check this jQ plugin http://docs.jquery.com/Plugins/livequery -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Header-requiring-to-be-contributed-through-page-load-and-not-ajax-tp2533526p2535816.html Sent from the Wicket - User mailing list archive at

Re: AW: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Stefan Lindner wrote: I use onDomReady functionality at many places in my jWicket jQuery-integration. I don't know of any general problem (no guarantee that there isn't one) with jQuery and Wickets onDomReady. Of course you have to ensure that the library (and perhaps additional files) is

Re: AW: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Stefan Lindner wrote: I use onDomReady functionality at many places in my jWicket jQuery-integration. I don't know of any general problem (no guarantee that there isn't one) with jQuery and Wickets onDomReady. Of course you have to ensure that the library (and perhaps additional files) is

Re: Header requiring to be contributed through page load and not ajax...

2010-09-10 Thread Joseph Pachod
Igor Vaynberg wrote: dunno then, you may want to talk to jquery people and see what they recommend. we cant really fire the onload event again because some scripts may have already been executed...like i said, see what jquery folks say. thanks anyway as jquery integration is fairly common I

Header requiring to be contributed through page load and not ajax...

2010-09-09 Thread Joseph Pachod
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

Re: Header requiring to be contributed through page load and not ajax...

2010-09-09 Thread Igor Vaynberg
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.

Re: Header requiring to be contributed through page load and not ajax...

2010-09-09 Thread Joseph Pachod
instead of $(document).ready(function() use wicket's iheadercontributor's response.writeondomreadyjavascriptthanks for the answer I do so for my own stuff, but jquery plugin don't. similarly, the core jquery file import won't work when added through ajax.

Re: Header requiring to be contributed through page load and not ajax...

2010-09-09 Thread Igor Vaynberg
dunno then, you may want to talk to jquery people and see what they recommend. we cant really fire the onload event again because some scripts may have already been executed...like i said, see what jquery folks say. -igor On Thu, Sep 9, 2010 at 1:38 PM, Joseph Pachod josephpac...@thomas-daily.de

AW: Header requiring to be contributed through page load and not ajax...

2010-09-09 Thread Stefan Lindner
I use onDomReady functionality at many places in my jWicket jQuery-integration. I don't know of any general problem (no guarantee that there isn't one) with jQuery and Wickets onDomReady. Of course you have to ensure that the library (and perhaps additional files) is loaded in correct order