Scott,
Please update rather to r960401, thanks
BTW in specialpurpose/ofbizwebsite/template/HtmlHead.ftl I found
<meta content="OFBiz, ofbiz support, ofbiz training, Ant websystems,
outsource, outsourcing,framework, cheap, competitive, ...
I don't want to begin a new flame war but I really wonder if it's "fair" to
have such meta content (I put only the 1st 100 chars) in
Apache OFBiz svn repo, even if I understand that it's a translated part of what
was supposed to be used as the official main OFBiz
site...
Jacques
From: "Jacques Le Roux" <[email protected]>
Hi Scott,
I revisited this and indeed I really missed something at r886723 (in trunk some
months ago). I tried a fix at r960336, but I can't
easily test it
Could you please check if it's OK for you now?
I did not check yet but maybe I will have to merge improvements in jQuery
branch. I put a comment in
https://issues.apache.org/jira/browse/OFBIZ-3830
Thanks
Jacques
Scott Gray wrote:
As a side note, this approach to i18n for the calendar doesn't work very well,
the browser reports 404 errors when trying to
retrieve localization scripts. Ideally we'd check if the file exists before
telling the browser to use it.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 2/07/2010, at 7:41 PM, [email protected] wrote:
Author: erwan
Date: Fri Jul 2 07:41:13 2010
New Revision: 959894
URL: http://svn.apache.org/viewvc?rev=959894&view=rev
Log:
Improvement on OFBIZ-3830 - i18n for jQuery calendar
Modified:
ofbiz/branches/jquery/framework/common/widget/CommonScreens.xml
Modified: ofbiz/branches/jquery/framework/common/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/common/widget/CommonScreens.xml?rev=959894&r1=959893&r2=959894&view=diff
==============================================================================
---
ofbiz/branches/jquery/framework/common/widget/CommonScreens.xml (original) +++
ofbiz/branches/jquery/framework/common/widget/CommonScreens.xml Fri Jul 2
07:41:13 2010 @@ -117,6 +117,8 @@ under the License.
<set field="layoutSettings.javaScripts[+0]"
value="/images/jquery/ui/js/jquery-ui-1.8.2.custom.min.js"
global="true"/> <set field="layoutSettings.javaScripts[+0]"
value="/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-0.5.js"
global="true"/> <set
field="layoutSettings.javaScripts[+0]"
value="/images/jquery/ui/development-bundle/ui/jquery.ui.datepicker.js" global="true"/> +
<set field="initialLocale" type="String"
value="${parameters.userLogin.lastLocale}"
default-value="${groovy:locale.toString()}"/> + <set
field="layoutSettings.javaScripts[+0]"
value="/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-${initialLocale}.js"
global="true"/>
<set field="layoutSettings.javaScripts[+0]"
value="/images/jquery/jquery-1.4.2.js" global="true"/> <set
field="layoutSettings.javaScripts[]" value="/images/selectall.js" global="true"/> <set
field="layoutSettings.javaScripts[]"
value="/images/fieldlookup.js" global="true"/> @@ -316,6 +318,7 @@
under the License. <set
field="layoutSettings.javaScripts[+0]"
value="/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-0.5.js"
global="true"/> <set
field="layoutSettings.javaScripts[+0]"
value="/images/jquery/ui/development-bundle/ui/jquery.ui.datepicker.js" global="true"/>
<set field="initialLocale" type="String"
value="${parameters.userLogin.lastLocale}"
default-value="${groovy:locale.toString()}"/> + <set
field="layoutSettings.javaScripts[+0]"
value="/images/jquery/ui/development-bundle/ui/i18n/jquery.ui.datepicker-${initialLocale}.js"
global="true"/>
<set field="layoutSettings.javaScripts[+0]" value="/images/jquery/jquery-1.4.2.js"
global="true"/> <set
field="layoutSettings.javaScripts[]" value="/images/selectall.js" global="true"/> <set
field="layoutSettings.javaScripts[]"
value="/images/fieldlookup.js" global="true"/>