Submitting a DateTextField value in a different timezone that the browser

2013-08-02 Thread seba.wag...@gmail.com
Hi, According to: http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/datetime/markup/html/form/DateTextField.html *This component tries to apply the time zone difference between the client and server. See the date converter

Re: Submitting a DateTextField value in a different timezone that the browser

2013-08-03 Thread Francois Meillet
Overriding the getClientTimeZone() method in the dateconverter sounds good. if the boolean applyTimeZoneDifference of the dateConverter is set to true. add(new DateTextField("xxx", new DateConverter(true) { @Override public String getDatePattern(Locale locale) {

Re: Submitting a DateTextField value in a different timezone that the browser

2013-08-06 Thread seba.wag...@gmail.com
Thanks François 2013/8/3 Francois Meillet > Overriding the getClientTimeZone() method in the dateconverter sounds good. > if the boolean applyTimeZoneDifference of the dateConverter is set to true. > > add(new DateTextField("xxx", new DateConverter(true) { > @Override >