On 3/6/08, Ned Collyer <[EMAIL PROTECTED]> wrote: > > > I'd potentially like to use this component, but its putting a ridiculous > > amount of javascript into the script section in the head. Including a > copy > > of the license... > > Is there an easy way to move this into a separate request/resource - 1 per > locale used? > > Also, if I add 2 date pickers it puts all the JS in the head... twice!! > (including the license), .. how can I get it to reuse the same javascript. > > Is this library intended for demo only?
I rolled my own datepicker (based on YUI) which was easy, you can have a look at the code here: http://fisheye3.cenqua.com/browse/j-trac/trunk/jtrac/src/main/java/info/jtrac/wicket/yui/YuiCalendar.java?r=1090 It does not support internationalization at all, but it may help, I also wrote a small piece of javascript that reduces the amount of js needed in head: http://fisheye3.cenqua.com/browse/j-trac/trunk/jtrac/src/main/webapp/resources/yui/calendar/calendar-utils.js?r=1004 -- > View this message in context: > http://www.nabble.com/wicket-datetime-tp15866334p15866334.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
