Do you know there are a couple of projects out there that already integrate jquery with Wicket? Maybe they could make you life easier.
Ernesto On Sat, Aug 28, 2010 at 1:08 AM, d2marcelo <[email protected]> wrote: > > How can I add jquery to a wicket page? > > I tried the following but it didn't work. > > <wicket:head> > <script type="text/javascript" src="jquery.js"></script> > <script type="text/javascript" src="jquery.tooltip.js"></script> > <script type="text/javascript"> > $(function() { > $('.tooltip').tooltip(); > }); > </script> > <link rel="stylesheet" href="jquery.tooltip.css" /> > </wicket:head> > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Jquery-from-Wicket-tp2341711p2341711.html > Sent from the Wicket - Dev mailing list archive at Nabble.com. >
