on 11-05-2008 9:16 AM
Hi ,
When an incorrect input is set to a Date controller - the following message reaceived:
"please .... 25/11/1987"
Is there a way to change Can the hard coded date "25/11/1987"?
e.g. dd/mm/yyyy
Thanks a lot.
Regards,
Shimon.
Hi,You can create a simple data type and in the format section you can mention the type of the format you reqire
Regards
Padma N
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can have simple type with basic type date and there you can specify the format, if you want it as a client side validation.
or
you can use [java.text.SimpleDateFormat|http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html] for displaying it.
nikhiL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shimon,
These are the default validations performed by the framework itself and you cannot change these messages. This is the way it works.
Hope it helps.
Cheers,
Manoj
Edited by: Manoj on Nov 5, 2008 2:58 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.