on 03-28-2008 5:30 PM
Hi Experts,
i have attribute of date type that has been binded to input field in a web dynpro Java application. when application is executed user can select a date via DateSelector that appears automatically.
Problem is after the date has been selected input field is populated in mm/dd/yyyy format ( ex 03/28/2008). My client wants that to be changed . It must read 28/03/2008 (dd/mm/yyyy).
I tried creating simple type using base type Date and setting representation dd/MM/yyyy however that does NOT work!!
Edited by: Eureka on Mar 28, 2008 5:30 PM
Hi,
Simple type with representation dd/MM/yyyy works for me.
Here is what I have done.
Create a simple type
Name :testDateFormat
package : com.test
Dictionary : Local Dictionary
Built-In-Type : Date
In the Representation Tab :
Format : dd/MM/yyyy
In the WD view created a context of type : com.test.testDateFormat and assinged the context to the inputfield
Now I see date format dd/MM/yyyy, make sure the u specify the correct format.
regards,
AE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eureka,
You can set the Default language setting of your browser to solve this problem; Let the Language to be English UK (en-gb) and restart the browser;
The same problem happen to me and i could solve it the same way.
Regards
- Vinod
*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Once if ur problem has solved make the question has solved
Regards
Hazrath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
1)Create a simpletype of type date and there go to the representation tab and u can give
the format=dd/MM/yyyy
2)Then create a context attr of type as simple type and attch this to the value property of the inputfield
Regards
Hazrath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.