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 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>  wrote:
Hello
I have a text field with jQuery DatePickerBehavior. When the page is loaded
and the field is initially visible, the behavior works just fine. But when
toggling the visibility from hidden to visible, the client function is gone.
The little date packer icon is gone and so is the click event on the input
field.

What do I have to do?

//Swanthe


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to