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

Ales Justin (JIRA) jira-events at lists.jboss.org
Thu Mar 27 10:00:40 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBCOMMON-46?page=all ]

Ales Justin resolved JBCOMMON-46.
---------------------------------

    Resolution: Done

Done.
The actual code has a check to see if the system property exists.
Otherwise we fall back to previous usage.

> 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