In app unit get the converter locator, cast to concrete ConverterLocator and override the default by registering a new converter for Date.class. Be aware that this will change the formatting of all dates within the app - including labels, etc.
Jeremy Thomerson http://wickettraining.com -- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors On Nov 22, 2010 8:17 AM, "Bruno Borges" <[email protected]> wrote: Sorry for the vague question. We are having an issue where the default pattern for pt_BR is dd/MM/yy, but we'd like to set that as "dd/MM/yyyy" (four digits on year field). But in an Application level, where no custom patterns should be passed to DateTextField. And we'd also like to not have to define a custom component to enforce pattern. Bruno Borges www.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measu... On Mon, Nov 22, 2010 at 11:04 AM, Bruno Borges <[email protected] >wrote: > Is it possible to force a Date pattern to DateTextField on an application > level? > > Thanks, > ...
