datepicker and struts 1.1
Hi all,
Anyone successfully using ui datepicker in a struts 1.1 application?
I'm trying to use a datepicker on a jsp page with struts 1.1. All works fine until the page needs redisplaying after failing validation. Then the datepicker won't show and I can't work out what may be wrong.
My code is just ...
$(function() {
$("#outwardDate").datepicker( {
numberOfMonths : 2,
showButtonPanel : true,
dateFormat : 'dd MM yy',
showOn : 'both',
minDate: 0, maxDate: '+1Y',
onClose : function(date) {
getTimes(date,"outwardTime");
}
});
Any pointers would be hugely appreciated.
TIA
Dan