Re: JQuery UI datepicker doesn't work in a struts 2 ajax page

2009-11-10 Thread fireapple
Thanks, Johannes, I tried the plugin of the second link but it didn't work out. It seems the plugin doesn't work for my struts 2.0.11. The build in Datepicker from dojo doesn't work for me because I use s:iterator. segmentList[%{#stat.index}].departureDate can transfer value back(can't display

Re: JQuery UI datepicker doesn't work in a struts 2 ajax page

2009-11-09 Thread Johannes Geppert
Long time ago I also have trouble to execute Scripts in AJAX Content. http://old.nabble.com/-S2--No-JavaScript-in-TabbedPanel-to14772176.html#a14772176 So I switch to jQuery also for AJAX functions. Why do you mix Dojo and jQuery? You can use the build in Datepicker from dojo or switch to one

Re: JQuery UI datepicker doesn't work in a struts 2 ajax page

2009-11-09 Thread fireapple
Thanks, I tried your method and it didn't work out. I also tried to put all JQuery library and Javascript block in my ajax page(which is supposed to appear in the s:div). Still doesn't work. However, after adding executeScripts=true in my s:submit, if I add alert('test'); into my ajax page, I