Don't use jquery domready. Use wicket domready. ** Martin
2010/5/20 Ivoneta <ietaraz...@gmail.com>: > > I have one question! > > I assume when inicialize de GenericDomReadyTailJavaScriptBehavior, the > parameter should be a string with the JavaScript content, right? > > I could define the jQuery functions in a js file and call the function that > I need from this AbstractBehavior class? > > I think, if you have a big project, you repeat js code, because a function > could use in more than one component. > > I did a test, I put a simple js code > > function prueba(){ > alert('funciona0'); > } > > and I called it in the html associate with the panel (the replacement) > > <div class ="validityCombo tex_black_14_normal"><select > id="validitiesComboBox" wicket:id="validitiesComboBox" > onchange="prueba()"></select></div> > > and it works fine! > > so, the problem is the dom ready event, ($(document).ready(function()) > Jquery function :( > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/replace-panel-problems-tp2221878p2223633.html > Sent from the Wicket - User 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org