This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
when i pick date from datetimepicker in IE, it gets displayed in database.......but when i pick it in firefox, it displays null.
i am using struts2 dojo plugin for datetimepicker.
i don't want to use jquery plugin..........please help to solve the issue with struts2 dojo plugin
I would say that you supplied a little too less information for us to give a definitive answer.
You state that in IE the chosen value does get stored in the database after submitting the form right? Then the first question I would ask is: have you checked wether the value gets submitted when using Firefox (use Firebug to check the POST body). If your chosen time is included in the body you know that the form itself functions correctly and that something is probably going wrong while processing the form data. If the value doesn't get submitted you know that it is the datetimepicker which is not working correctly under Firefox. I don't have any major experience with Dojo but your best bet would be to start debugging the datetimepicker. It probably has some hidden field which it uses to store the chosen date in the form itself. If that value does not get set in Firefox for some reason it would explain why your chosen date doesn't get stored.
SCJP 6, OCWCD 5, SpringSource Spring 3 Certified Professional (92%)