This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes DatetimePicker problem in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DatetimePicker problem in struts2" Watch "DatetimePicker problem in struts2" New topic
Author

DatetimePicker problem in struts2

Thangaraj Selvamani
Ranch Hand

Joined: Sep 20, 2008
Posts: 61
Hai Friends..

Currently I am working in struts2 project and also iam new to struts. In My Application I am Using DatetimePicker. Where Iam Settings Its displayFormat Proprty as dd/MM/yyyy. In value class its a date Property. when i display this date propery using s.o.p the date object gets convert to current locale which is mm/dd/yyyy.

version: struts2-core-2.0.11.1.jar



output. If Choosen Date is. 12/05/2010

EffevtiveDate Format= Dec 05 2010




thanks in advance





 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DatetimePicker problem in struts2
 
Similar Threads
datetimepicker
issue with datetimepicker & autocompleter in struts 2
Dojo datetimepicker issue in Struts2.2.3.1
dateTimePicker w/o field value shows NAN on the Calendar
datetimepicker in struts2