You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (Reopened) (JIRA)" <ji...@apache.org> on 2011/10/02 18:14:34 UTC

[jira] [Reopened] (OFBIZ-4377) to get the correct "jquery.ui.datepicker-xx-XX.js"

     [ https://issues.apache.org/jira/browse/OFBIZ-4377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reopened OFBIZ-4377:
------------------------------------


Need to backport in R11.04 for r1178199
                
> to get the correct "jquery.ui.datepicker-xx-XX.js"
> --------------------------------------------------
>
>                 Key: OFBIZ-4377
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4377
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Leon
>            Assignee: Sascha Rodekamp
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: JsLanguageFileMapping.patch
>
>
> It uses "locale" (e.g. zh_TW) to form the jquery.ui.datepicker file name in method JsLanguageFileMappingCreator.createJsLanguageFileMapping, but jquery uses dash ("-") instead of underscore ("_") to concat the language code and country code, such as zh-TW vs. zh_TW.
> A very trivial update to JsLanguageFileMappingCreator.java, and after that, update the JsLanguageFileMapping.java file by running service "createJsLanguageFileMapping". In attached, contains both of patches to these two files.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira