Hi,
WicketTester simulates browser behavior, so it sends String that is
converted to a Date by the Wicket component.
You can use tester.getRequest().setLocale(aLocale) to simulate localized
browser.
On Apr 26, 2016 4:22 PM, "Zbynek Vavros" <[email protected]> wrote:
Hi,
whats the proper way to work with WicketTester and DateTimeFields ?
I am using
FormTester.setValue("myDateTimeField". "formattedDateTime");
is there any way using proper date instead of string (that differs with
locales) ?
using DateTimeField.setModelObject() or DateTimeField.setDefaultModejObject
breaks our validator that works with getConvertedInput...
Thanks,
Zbynek