[dna-issues] [JBoss JIRA] Resolved: (DNA-60) Progress monitor framework does not allow for localization of progress statuses

Randall Hauch (JIRA) jira-events at lists.jboss.org
Thu Apr 24 23:08:08 EDT 2008


     [ http://jira.jboss.com/jira/browse/DNA-60?page=all ]

Randall Hauch resolved DNA-60.
------------------------------

    Resolution: Done

This was a pretty simple fix.  Changed the "getStatus()" method in ProgresMonitor to be "getStatus(Locale)" that can take a null locale when the default locale should be used.  All implementation classes were affected (this is before 0.1 release, so that's acceptable).  Corrected how the SimpleProgressMonitor handles the taskName and taskNameParameters.  Also Added test cases for when the monitor has not yet been started as well as after it has been started (and given a task name).  The latter is done by supplying different locales (with and without parameters).

> Progress monitor framework does not allow for localization of progress statuses
> -------------------------------------------------------------------------------
>
>                 Key: DNA-60
>                 URL: http://jira.jboss.com/jira/browse/DNA-60
>             Project: DNA
>          Issue Type: Bug
>          Components: Common
>            Reporter: Randall Hauch
>         Assigned To: Randall Hauch
>            Priority: Minor
>             Fix For: 0.1
>
>
> The progress monitor framework in "dna-common" takes the task name as I18n instances (with optional parameters), but does not properly localize the ProgressStatus instances returned from "getStatus()", and the result is always in the default locale.  Need to add a Locale parameter to "getStatus", and to properly initialize the taskName field (to null), and then properly initialize the ProgressStatus instances based upon the taskName state.

-- 
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 dna-issues mailing list