Don't know if this answers your question, but I had similar problem recently with 1.1b2, the Javascript code was not added to <head> section in some cases (my page was extending a template page). But this weekend it was fixed in HEAD (CVS) and works perfectly, at least in my case. I just reference single dataPicker component on a page and it adds the necessary code to <head>
Darek On 8/18/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I'm trying to use the DatePicker, but the necessary Javascript files > aren't getting referenced from the HTML source. According to the > FormInput demo, I should have: > > <wicket:head> > <script type="text/javascript" wicket:id="calendarMain" > src="/wicket-examples/forminput/resources/wicket.extensions.markup.html.datepicker.DatePicker/calendar.js"></script> > <script type="text/javascript" wicket:id="calendarSetup" > src="/wicket-examples/forminput/resources/wicket.extensions.markup.html.datepicker.DatePicker/calendar-setup.js"></script> > <script type="text/javascript" wicket:id="calendarLanguage" > src="/wicket-examples/forminput/resources/wicket.extensions.markup.html.datepicker.DatePickerSettings/lang/calendar-en.js"></script> > > <link > href="/wicket-examples/forminput/resources/wicket.extensions.markup.html.datepicker.DatePickerSettings/style/aqua/theme.css" > type="text/css" rel="stylesheet" wicket:id="calendarStyle"/> > </wicket:head> > > in my source. So it looks like I'm missing a wicket:head tag, but I > don't see it in the FormInput source that I downloaded. What am I > missing here, and how can I make it work with a Border? Thanks. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
