• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

datetimepicker not working in firefox

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

this is the date tag in my jsp

<sx:datetimepicker name="dateValue" formatLength="medium" label="Date" displayFormat="MM/dd/yyyy" value="%{dateValue}" required="true" type="date" cssStyle="border:1px solid #000;" />
 
Greenhorn
Posts: 6
Android Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic