Re: wicket-jquery-ui DatePicker JS problems
In data lunedì 23 giugno 2014 14:41:37, Sebastien ha scritto: > Hi Lucio, > > You guessed right, JS libraries are embedded in the jar(s), and attached to > the page as soon as you use a jquery-ui/kendo component. Please check > either: > - the wicket-jquery-ui jars are well deployed. What should I do to check that? I've already looked at page source and the js links are working (see below). > - the js are well included in the page's head I have this right after /**/ > If I remember correctly, somebody had a similar problem (I dont remember > what was the issue), please have a look in the archives... Already tried, but I haven't found anything similar, maybe it's not immediately obvious from the message subject that the issue is what I'm looking for. Google didn't help either. However I have (another) suspect: could my custom ready() function conflict with jquery-ui/kendo/whatever? $(document).ready(function(){ $(".euro1").next("ul").slideUp(1); $(".tab_schedina").slideUp(1); $(".tab_quotemigliori").slideUp(1); $(".compara_link").slideUp(1); $(".euro1").click(function(){ $(this).next("ul").slideToggle(1000); }); $(".dic_schedina").click(function(){ $(".tab_schedina").slideToggle(600); $(".tab_quotemigliori").slideToggle(600); $(".compara_link").slideToggle(600); }); }); - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: wicket-jquery-ui DatePicker JS problems
Hi Lucio, You guessed right, JS libraries are embedded in the jar(s), and attached to the page as soon as you use a jquery-ui/kendo component. Please check either: - the wicket-jquery-ui jars are well deployed. - the js are well included in the page's head If I remember correctly, somebody had a similar problem (I dont remember what was the issue), please have a look in the archives... Thanks and best regards, Sebastien On Jun 23, 2014 3:09 PM, "Lucio Crusca" wrote: > Hi all, > > I'm trying to add a (kendo?) DatePicker to my form, in other words this > one: > > http://www.7thweb.net/wicket-jquery-ui/datepicker/DefaultDatePickerPage > > I think I've done everything listed here, adapting things to my needs: > > http://www.7thweb.net/wicket-jquery-ui/ > > but the javascript console is showing this error and the DatePicker doesn't > show up: > > TypeError: jQuery(...).datepicker is not a function > > This makes me suspect I haven't linked all the necessary js files to my > HTML > code and, to be honest, I'm afraid it's more than a suspect: I know I > haven't, > because the instructions do not tell to do that, and I assumed that was > going > to happen automagically... > > More precisely, I didn't download nor link the jquery-ui js files, nor the > kendo ones. I only dowloaded, copied and linked the jquery-ui and kendo css > files. Should I provide for the js files also? > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
wicket-jquery-ui DatePicker JS problems
Hi all, I'm trying to add a (kendo?) DatePicker to my form, in other words this one: http://www.7thweb.net/wicket-jquery-ui/datepicker/DefaultDatePickerPage I think I've done everything listed here, adapting things to my needs: http://www.7thweb.net/wicket-jquery-ui/ but the javascript console is showing this error and the DatePicker doesn't show up: TypeError: jQuery(...).datepicker is not a function This makes me suspect I haven't linked all the necessary js files to my HTML code and, to be honest, I'm afraid it's more than a suspect: I know I haven't, because the instructions do not tell to do that, and I assumed that was going to happen automagically... More precisely, I didn't download nor link the jquery-ui js files, nor the kendo ones. I only dowloaded, copied and linked the jquery-ui and kendo css files. Should I provide for the js files also? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket JQuery UI Datepicker
Hi Dirk, Thank to remind me that I definitely should add a sample for DatePicker's pattern... The Java date pattern differs from the jQuery UI one, so you have to make sure both are matching: For instance: new DatePicker("date", "dd.MM.", new Options("dateFormat", Options.asString("dd.mm."))); jQuery UI doc: http://api.jqueryui.com/datepicker/ Best regards, Sebastien. On Sun, Nov 17, 2013 at 10:26 PM, Dirk Wichmann wrote: > Hi all, > > at the Moment I have trouble to configure the DatePicker from JQuery UI. > I have included com.googlecode.wicket-jquery-ui Version 6.12.0 > The DatePicker is shown in the UI but Date is allways displayed as > 11/08/2013 and I get the error "date cannot converted" > What is the trick to get it running?? > > Thanks in advance > Dirk > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Wicket JQuery UI Datepicker
Hi all, at the Moment I have trouble to configure the DatePicker from JQuery UI. I have included com.googlecode.wicket-jquery-ui Version 6.12.0 The DatePicker is shown in the UI but Date is allways displayed as 11/08/2013 and I get the error "date cannot converted" What is the trick to get it running?? Thanks in advance Dirk - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org