DateField is broken
-------------------

                 Key: WICKET-3569
                 URL: https://issues.apache.org/jira/browse/WICKET-3569
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 1.5-RC2
            Reporter: Jim Larsen


org.apache.wicket.extensions.yui.calendar.DateField 
When submitting form with empty date field (null date in model), the model is 
set to current date.

dateField.getModelObject() return currentDate
dateField.getDate() returns null.

This is a major problem ie in a CompoundPropertyModel where all null dates will 
be set to currentDate.

Using a DateTextField and adding a DatePicker to this, does not have same 
problem.








--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to