Results 1 to 8 of 8

Thread: Problem with Spring Dojo DateTextBox in Google Chrome and Firefox

Hybrid View

  1. #1

    Default Problem with Spring Dojo DateTextBox in Google Chrome and Firefox

    I am attempting to use the Spring Dojo DateTextBox in my Webapp. The code I have implemented works fine in Internet Explorer, but it does not work in Google Chrome or Firefox. In both Google Chrome and FireFox the calendar pops up and populates the DateTextBox with the date chosen correctly, but the value in the DateTextBox is never passed through the form to the Controller. I was wondering if anyone has ever come across a similar situation, or has any ideas. My JSP code is below. The name of the field in my form is "startDate".

    Thanks!!!!

    Code:
         <form:input path="startDate"/>
    	               <script type="text/javascript">
    					 Spring.addDecoration(
    					 new Spring.ElementDecoration({
    					 elementId : "startDate",
    					 widgetType : "dijit.form.DateTextBox",
    					 widgetAttrs : {
    					 datePattern : "MM/dd/yyyy",
    					 style: "width: 140px",
    					 promptMessage: "Please enter start date",
    					 required : false }  } ) );
    			</script>

  2. #2

    Default

    Did you find a solution for this at the end ? I'm experiencing the same problem but with all fields in a dijit popup ;(

  3. #3

    Default

    To resolve this issue I replaced my HTML table that contained the Dojo Date Text box with divs. Hopefully the same works for you!

  4. #4

    Smile

    THANK YOU SO MUCH !! That solved the problem ! Who knows what behind this problem

  5. #5

    Default

    You're welcome! I am happy it worked. What is behind this problem is a mystery I cannot answer ... I was just happy at that point to see it working!

  6. #6

    Default

    I open a thread in Dojo/Dijit forum. If I get an answer, I'll post here.

    Follow: http://dojo-toolkit.33424.n3.nabble....td2027098.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •