[ 
https://issues.apache.org/jira/browse/OFBIZ-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972045#action_12972045
 ] 

Jacques Le Roux commented on OFBIZ-4060:
----------------------------------------

Hi Adrian,

Actually, with my algorithm above, if I don't find a file for the 
language.country couple I expect a file for the language to exist. By default 
there is no jquery.ui.datepicker-en-US.js file. But, weirdly (it seems), there 
is also no jquery.ui.datepicker-en.js, only jquery.ui.datepicker-en-GB.js. The 
reason is there is no jquery.ui.datepicker-en.js file is because it's the 
default coded in the script and used as last ressource. 

Before closing, we have 2 alternatives here: 
* Create an appropriate jquery.ui.datepicker-en-US.js and even a copy as 
jquery.ui.datepicker-en.js (should it be a copy of 
jquery.ui.datepicker-en-GB.js or jquery.ui.datepicker-en-US.js? As I'm French I 
let you the choice, though it's en-US in the script :) ). I let you handle that 
as I'm sure you will do better than me (I guess only the dateFormat is 
concerned). 
* Forget it as anyway en-US is the default used (jquery.ui.datepicker.js[54]). 
It will still show the warning. We could then rather add a warning explaining 
message for this peculiar case...

Your choice?

> Bug In Jquery Integration - js File Not Found
> ---------------------------------------------
>
>                 Key: OFBIZ-4060
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4060
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Adrian Crum
>            Priority: Minor
>
> I'm getting this error in the log:
> 2010-12-15 09:58:38,203 (http-0.0.0.0-8443-2) 
> [ComponentLocationResolver.java:43 :WARN ] Unable to get file URL for 
> component location; expanded location was 
> [C:/ofbiz/framework/images/webapp/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-US.js],
>  original location was 
> [component://images/webapp/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-en-US.js]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to