[jboss-jira] [JBoss JIRA] Created: (JBCOMMON-46) Add system property for default locale used in DateEditor

Ales Justin (JIRA) jira-events at lists.jboss.org
Thu Mar 27 09:58:53 EDT 2008


Add system property for default locale used in DateEditor
---------------------------------------------------------

                 Key: JBCOMMON-46
                 URL: http://jira.jboss.com/jira/browse/JBCOMMON-46
             Project: JBoss Common
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: common-core
    Affects Versions: 2.2.3.GA
            Reporter: Ales Justin
         Assigned To: Ales Justin
             Fix For: 2.2.4.GA


Provide a hook for default locale to be used with DateEditor.
e.g.
            String defaultLocale = System.getProperty("org.jboss.util.propertyeditor.DateEditor.locale");            
            DateFormat defaultDateFormat = new SimpleDateFormat(defaultFormat, Strings.parseLocaleString(defaultLocale));


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list