google-code-export / wiquery

Automatically exported from code.google.com/p/wiquery
MIT License
1 stars 1 forks source link

Datepicker not work after daet field was hidden and showed again via ajax #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create datepicker field and add it to page
2. Set setOutputMarkupPlaceholderTag(true)
3. Run application. Datepicker works.
4. Hide datepicker using setVisible(false) via ajax
5. Show datepicker using setVisible(true) via ajax
6. Datepicker don't work. Popup with dates don't work.

What is the expected output? What do you see instead?
Expected: I see datepicker's popup when clicks on field
What I see: datepicker field don't show popup

What version of the product are you using? On what operating system?
wicket 1.5.0
wiquery 1.5.0

Please provide any additional information below.
I attached maven project with error reproduced

Please tell me how to correctly handle this situation.

Original issue reported on code.google.com by alexander.lipatov@gmail.com on 23 Sep 2011 at 9:31

Attachments:

GoogleCodeExporter commented 9 years ago
Reproduced for wicket 1.5.1

Original comment by alexander.lipatov@gmail.com on 24 Oct 2011 at 1:15

GoogleCodeExporter commented 9 years ago
I tried the maven project using wicket 1.5.1 and wiquery 1.5.1 and it seems to 
work for me. 

I assume this was your usecase:
1. First page render: input field shows
2. datepicker is shown when input has focus.
3. hide datepicker.
4. show datepicker.
5. datepicker is shown when input has focus.

Original comment by hielke.hoeve on 26 Oct 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Confirm. With wiquery 1.5.2 and wicket 1.5.2 this bug not reproduced.
Thank you!

Original comment by alexander.lipatov@gmail.com on 27 Oct 2011 at 3:29

GoogleCodeExporter commented 9 years ago

Original comment by hielke.hoeve on 10 Nov 2011 at 8:16

GoogleCodeExporter commented 9 years ago

Original comment by reier...@gmail.com on 15 Nov 2011 at 9:26