Re: DatePickerBehavior lost when toggling visibility

2011-01-21 Thread Ernesto Reinaldo Barreiro
How do you toggle visibility? Replacing panels via AJAX or client side JavaScript? The AJAX way will work for sure. I think via JavaScript you will have to manually recreate it when making it visible Ernesto On Fri, Jan 21, 2011 at 12:11 PM, Swanthe Lindgren swanthe.lindg...@megasol.se

Re: DatePickerBehavior lost when toggling visibility

2011-01-21 Thread Swanthe Lindgren
A drop down box fires an AJAX request and the text field with the date picker has an overridden isVisible() method. On 2011-01-21 12:35, Ernesto Reinaldo Barreiro wrote: How do you toggle visibility? Replacing panels via AJAX or client side JavaScript? The AJAX way will work for sure. I think

Re: DatePickerBehavior lost when toggling visibility

2011-01-21 Thread Ernesto Reinaldo Barreiro
Are you using wiquery? If so, can you show me your code or send me a simplified Panel showing this behavior? I use wiquery datepickers on my applications in combination with via AJAX replacements and do not have this issue. Ernesto On Fri, Jan 21, 2011 at 12:41 PM, Swanthe Lindgren

RE: DatePickerBehavior lost when toggling visibility

2011-01-21 Thread Wilhelmsen Tor Iver
A drop down box fires an AJAX request and the text field with the date picker has an overridden isVisible() method. You have used setOutputMarkupPlaceholderTag(true) on the component that visibility is toggled for yes? - Tor Iver

Re: DatePickerBehavior lost when toggling visibility

2011-01-21 Thread Swanthe Lindgren
I have just changed to jQuery DatePickerBehavior from wicket extensions YUI DatePicker, which of course worked just fine in this scenario, but since I want some of the customizations available in jQuery we made a switch. On 2011-01-21 12:49, Ernesto Reinaldo Barreiro wrote: Are you using

Re: DatePickerBehavior lost when toggling visibility

2011-01-21 Thread Ernesto Reinaldo Barreiro
A said: this works fine on my applications using latest versions of wiquery DatePicker [(see 1]) + AJAX replacements. 1-http://www.google.com/codesearch/p?hl=en#pdLMIUTpzpE/trunk/src/main/java/org/odlabs/wiquery/ui/datepicker/DatePicker.java Ernesto On Fri, Jan 21, 2011 at 12:55 PM, Swanthe

Re: DatePickerBehavior lost when toggling visibility

2011-01-21 Thread Swanthe Lindgren
Sorry, I didn't get that wiquery also used jQuery. After changing to wiquery I at least got my quickstart-app running On 2011-01-21 13:34, Ernesto Reinaldo Barreiro wrote: A said: this works fine on my applications using latest versions of wiquery DatePicker [(see 1]) + AJAX replacements.