You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by MyAshok <ta...@gmail.com> on 2008/12/26 07:55:05 UTC
Datetimepicker locale setting problem - struts 2.0.11.1
Hi,
Please help me, I am in deep trouble.
I have finished my module using s:datetimepicker with my locale setting as
US.
But when i deployed my module, It started creating problem.
1) My server has the regional setting as US.
2) My Testing team guy is having regional setting as UK.
3) My regional setting is also US.
For me its working good.
For my testing guy , it showing invalid field value for field dtp1.
Please reply me asap.
With regards,
Ashok.
--
View this message in context: http://www.nabble.com/Datetimepicker-locale-setting-problem---struts-2.0.11.1-tp21172293p21172293.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Datetimepicker locale setting problem - struts 2.0.11.1
Posted by Martin Gainty <mg...@hotmail.com>.
Ashok-you can use getText to format the string according to locale as in format="%{getText(locale,'i18n.key')}"
http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/components/DateTimePicker.html
HTHMartin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Thu, 25 Dec 2008 22:55:05 -0800> From: takumar.eng@gmail.com> To: user@struts.apache.org> Subject: Datetimepicker locale setting problem - struts 2.0.11.1> > > Hi,> > Please help me, I am in deep trouble.> I have finished my module using s:datetimepicker with my locale setting as> US.> But when i deployed my module, It started creating problem.> > 1) My server has the regional setting as US.> 2) My Testing team guy is having regional setting as UK.> 3) My regional setting is also US.> > For me its working good.> For my testing guy , it showing invalid field value for field dtp1.> > Please reply me asap.> > With regards,> Ashok.> -- > View this message in context: http://www.nabble.com/Datetimepicker-locale-setting-problem---struts-2.0.11.1-tp21172293p21172293.html> Sent from the Struts - User mailing list archive at Nabble.com.> > > ---------------------------------------------------------------------> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org> For additional commands, e-mail: user-help@struts.apache.org>
_________________________________________________________________
Life on your PC is safer, easier, and more enjoyable with Windows Vista®.
http://clk.atdmt.com/MRT/go/127032870/direct/01/