Hi, You can use: response.render(OnDomReadyHeaderItem.forScript(....))
All onDomReady scripts are bundled into one : Wicket.Event.add(window, "domready", function(event) { // here }) and this is the same as what you need. On Mon, Oct 8, 2012 at 4:35 PM, armandoxxx <armando....@dropchop.com> wrote: > Hey guys .. > > I'm upgrading our application to wicket 6.x and would like to know if there > is a way for my components to add JS to jQueries $(document).ready function > on initialize ... (was thinking if page has any feature like that) > > Kind regards > > Armando > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-6-x-write-to-jQuery-on-document-ready-tp4652754.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org