[ https://issues.apache.org/jira/browse/OFBIZ-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971770#action_12971770 ]
Jacques Le Roux commented on OFBIZ-4060: ---------------------------------------- It should be normally handled by this snippet in framework/common/widget/CommonScreens.xml, maybe there is a flaw, though I seriously tested it. Have you a specific URL? {code} <set field="initialLocaleComplete" type="String" value="${groovy:parameters?.userLogin?.lastLocale}" default-value="${groovy:locale.toString()}"/> <set field="initialLocale" type="String" value="${groovy:parameters?.userLogin?.lastLocale?.substring(0,2)}" default-value="${groovy:locale.toString()?.substring(0,2)?:'en'}"/> <set field="localeFileNameComplete" type="String" value="/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-${initialLocaleComplete}.js"/> <set field="localeFileNameComplete" type="String" value="${groovy: localeFileNameComplete.replace('_', '-')}"/> <!-- those files are build this way OOTB (ie a - not a _ between language and country --> <set field="fileNameComplete" type="String" value="${groovy: org.ofbiz.base.location.FlexibleLocation.resolveLocation('component://images/webapp' + localeFileNameComplete)}"/> <set field="localeFileName" type="String" value="/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-${initialLocale}.js"/> <set field="localeJsFile" type="String" value="${groovy: fileNameComplete ? localeFileNameComplete : localeFileName}"/> <set field="layoutSettings.javaScripts[+0]" value="${localeJsFile}" global="true"/> {code} > 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.