Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Validation error message is not displaying if user enter wrong date.

$
0
0
Hi,
We are using Smart Gwt-4.1p (23rd May 2014)
Browser: IE10, 11, Google Chrome:37.0.2062.124 m

Please find the attached code for your reference.

Issue : If user enter the the invalid date (invalid digit) for DateItem date is getting converted to corresponding date.
Ex : 02/25/20154456677 is displaying as 01/01/1970
Expected behavior : It should display message as invalid date.

I am using DateUtil for localization issue like /(slash) is converted to .(dot) in german language.

Please guide me if any solution is available to display error message using date util.

Thanks.

Attached Files
File Type: java TestsmartGwtProject.java (2.9 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles