on 11-11-2008 8:53 AM
Hi,
I am facing one problem regarding date format in table filter.
Filter for column with date field is working only if filter value is entered in the format MM/dd/yyyy. Its not working for any other format like dd.MM.yyyy.
Anyone have faced this problem earlier?
What can be done so as to convert entered date into required format?
Regards,
Apurva
Modified Tablefilter.java file.
Problem Solved.
Thank everyone,
Apurva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Apurva,
Please let me know how did you resolve table filter issue. In our case, date format is MM/dd/yyyy.
I modified following changes of the line in the method generateObject,
SimpleDateFormat template = new SimpleDateFormat("MM-DD-YYYY");
and I tried with "MM-dd-yyyy".
Please note I have created SimpleType with representation as MM-dd-yyyy and have associated same thing to
-Source node
- Target node as well.
Please guide
Regards,
Ganga
You may use SimpleDateFormat for e.g,
SimpleDateFormat template = new SimpleDateFormat("MM/dd/yyyy");
template.format("date in other format");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.