DatePicker is a Panel and DatePicker.html contains the header section which is automatically copied to the pages output. Because this is something we have worked on recently I suggest you use cvs head and than try it again.
Where is where you add the DatePicker to? Do you add it to a Border component? Juergen 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 > ------------------------------------------------------- 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
