Re: Problem in Wicket Stuff - Jquery - DatePicker

2009-02-17 Thread Dipu
Cheers Dipu On Tue, Feb 17, 2009 at 12:30 PM, Martin Grigorov wrote: > Ok, I see. The JS library works with lower case formats. > Fixed with r4575. > > Additionally I think you are using the old jquery. The one I fixed is at > https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk

Re: Problem in Wicket Stuff - Jquery - DatePicker

2009-02-17 Thread Martin Grigorov
Ok, I see. The JS library works with lower case formats. Fixed with r4575. Additionally I think you are using the old jquery. The one I fixed is at https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/datepic

Re: Problem in Wicket Stuff - Jquery - DatePicker

2009-02-17 Thread Dipu
if i supply the date pattern "dd/MM/" the date picker will print wrong date like 10/MM/2009 i noticed sdf.toPattern().toLowerCase() and i thought some one missed to call toLowerCase() on format_ = ((ITextFormatProvider) component).getTextFormat(); i called toLowerCase() and it solved the i

Re: Problem in Wicket Stuff - Jquery - DatePicker

2009-02-17 Thread Martin Grigorov
I could do it but why it should be lower cased ? What will happen with months (MM)? They will become minutes (mm). Is this correct ? I see there is sdf.toPattern().toLowerCase() below but this seems like a bug to me. Can you give more details because I'm not using this behavior. El lun, 16-02-20

Problem in Wicket Stuff - Jquery - DatePicker

2009-02-16 Thread Dipu
In Wicket Stuff - Jquery - DatePicker - DatePickerBehavior the following line in the onBind() method if (component instanceof ITextFormatProvider) { format_ = ((ITextFormatProvider) component).getTextFormat(); should be if (component instanceof ITextFormatProvider) {