To reproduce:
1. create a form that contains DatePicker component
2. click the calendar button and select any date
3. in the textfield, erase the date
4. call commitEdit(); it returns false; does not set the internal Date
variable to null
5. call getDate(); it returns the last valid date selected in the calendar
component rather than null
Nobody/Anonymous ( nobody ) - 2008-04-24 13:17
5
Open
None
Nobody/Anonymous
None
None
Public
|
Date: 2009-11-19 09:23 Another similar solution that does not depend on JGoodies: |
|
Date: 2008-08-19 12:49 Logged In: NO |