MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
stasbranger
Post subject: where modify date format  PostPosted: Oct 08, 2011 - 11:46 AM
Registered Member
Registered Member


Joined: Nov 02, 2010
Posts: 31

in the server side of my application, the date type is Timestamp, instead on the client side (Gwt Scaffolding) date type is DatePoser so ,when i run my application, in the views dates appear like "Tue Jun 14 18:35:45 GMT+200 2011".

if i change a specific view with this code:
Code:
@Override
   public String getValue(AziendaProxy object) {
   return DateTimeFormat.getShortDateFormat().format(object.getDataInserimento());
   }


date appears like "2009-03-26"... that's how i want !

anyway i want know where i have to add this code for changing date type in all views?
i've tried to change GWTAdapter class... but it doesn't work.

I wait your suggestion.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits