Need to replace
/images/jquery/plugins/datetimepicker-0.9.6/jquery-ui-timepicker-addon.css
with:
/images/jquery/plugins/datetimepicker/jquery-ui-timepicker-addon-0.9.6.css
Note the reference is in two places.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1180398 13f79535-47bb-0310-9956-ffa450edef68
Fixes the problem by:
* Updating datetimepicker from 0.9.3 to 0.9.6 (where a localization folder exists)
* Use the fantastic createJsLanguageFileMapping service Sascha introduced (I just removed the confusing wrong comment about JsLanguageFilesMapping.ftl being generated and added a block for datetimepicker, also in JsLanguageFileMappingCreator.java). A very good dynamic+static tool, kudos Sascha!
Should work also in eCommerce though I did not found any uses
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178199 13f79535-47bb-0310-9956-ffa450edef68
* Moves FormFieldTitle_isPublic from Order to Common, was also used in Content
* Improves French FormFieldTitle_isPublic label
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178167 13f79535-47bb-0310-9956-ffa450edef68
Before the patch, the content was made HTML-safe, what wasn't necessary for the autocomplete. Also, it displayed things like "F¨r", because it made the umlauts HTML-safe, too.
The patch uses the stringwrapper from the stringUtil.java to avoid the general HTML auto-encoding.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1175122 13f79535-47bb-0310-9956-ffa450edef68
In the createJsLanguageFileMapping service, the catch blocks have assigns to a local variable in a return statement.
Simplified further on Adrian's advice.
jleroux: I have also organized imports
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172342 13f79535-47bb-0310-9956-ffa450edef68
Some value assignments to local variables without reading or using it.
jleroux: indeed I don't see any reasons to set the size of a byte array before feeding it with String.getBytes(), since NPE is handled above. I have even simplified it more using function composition style.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1172015 13f79535-47bb-0310-9956-ffa450edef68
If we setup the custom uom conversion method which is called by convertUom service, and then invoke convertUom service, the exception raised:
Could not complete the Convert UOM values...blahblah...Unknown parameter found: [convertUomCustom.asOfDate]Unknown parameter found: [convertUomCustom.defaultDecimalScale]Unknown parameter found: [convertUomCustom.defaultRoundingMode]Unknown parameter found: [convertUomCustom.purposeEnumId].
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1167480 13f79535-47bb-0310-9956-ffa450edef68
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.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163533 13f79535-47bb-0310-9956-ffa450edef68
Reorganized and extend the Data structure, now it is possible to store additional country postal code regex data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153402 13f79535-47bb-0310-9956-ffa450edef68
Pb: If OFBiz is deployed on 2 servers in Load Balancing Mode, SequenceUtil will generate duplicate IDs because synchronization is done at JVM level instead of doing it in DB.
The OFBIZ-2353 SELECT FOR UPDATE solution.patch provides a simple mean to quickly resolve this issue. I did not remove the bank loop (useless since there is a DB contention).
I created a cluster general property. But since, most of the time, when you use a cluster you use also a sole database with a delegator having distributed-cache-clear-enabled set to true, I retrieve this information to automatically use SELECT FOR UPDATE in this case
This has been tested on a cluster with JMeter. BTW I found that UserLoginHistory can throw errors because it does not use a SeqId in PK but only login+fromDate. I guess there are other cases like that but in reality it's unlikely that someone log on 2 diff machines with the same login at the same time (ms), just a JMeter side effect...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144537 13f79535-47bb-0310-9956-ffa450edef68
1. LookupDecorator checks the value of the ajaxLookup parameter instead of checking if it exists.
2. The displayReturnField widget.properties setting can be overridden in a request.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1142358 13f79535-47bb-0310-9956-ffa450edef68
Orig Msg: If you are on this page https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/newcustomer select USA from the country drop down and it will display all the USA states, similarly it works just fine for Spain but if you try once again with either United Kingdom or France it will show "No States/Provinces exist".
Both UK and France have Counties saved in the datamodel but the form does not lookup in the correct location as they are not defined as State.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140103 13f79535-47bb-0310-9956-ffa450edef68
I slightly modified your patch and put the defaultCountryGeoId in CommonScreens.xml#countries so the geoId will always be filled
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1139291 13f79535-47bb-0310-9956-ffa450edef68