Enhancing the OFBiz build solution by including a mechanism to download and install a mySQL driver for users who have (or want to use) that db platform.
jleroux: worked for mysql-connector-java-5.1.6.jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311877 13f79535-47bb-0310-9956-ffa450edef68
At this time the alt-target element value is only parse on bsh interpreter. To resynchronise with the rest of framework, convert with a flexibleStringRenderer.
jleroux: re-adding after reverting r1311082
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311109 13f79535-47bb-0310-9956-ffa450edef68
At this time the alt-target element value is only parse on bsh interpreter. To resynchronise with the rest of framework, convert with a flexibleStringRenderer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1311082 13f79535-47bb-0310-9956-ffa450edef68
In Party Manager > Profile > Contact Information > Update the "Country" drop down always defaults to "United States".
This is misleading if the Country is not "United States".
If a user were to change some other address element he/she would have to also re-set "Country" to keep it from being changed to "United States".
To reproduce:
In Party Manager lookup a party with a "Postal Address" say "DemoSupplier"*
In Contact Information > Postal Address Click "Update"
In the Country field select any country but "United States" say Switzerland
Click "Save"
Note -
Expect drop down default after save = "Switzerland"
Actual drop down default after save = "United States"
Click "Go Back"
Expect "Postal Address" country = "Switzerland"
Actual "Postal Address" country = "Switzerland"
Click
Click "Update"
Expect drop down default to be "Switzerland"
Actual "United States"
jleroux: rather than using Tom's patch I reused setDependentDropdownValuesJs.ftl. There were no OOTB examples of its use in FTL templates so now there is one.The same could be done for other EditContactMech.ftl (eCommerce and Facility) I will ask Tom to try it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310953 13f79535-47bb-0310-9956-ffa450edef68
SFA does not store countryGeoId or stateProvinceGeoId in PostalAddress entity when creating a new account causing postal address display to break in SFA and Party Manager profile screens.
Demo data for "sfa100" does not have values for countryGeoId or stateProvinceGeoId
Values countryGeoId or stateProvinceGeoId are needed to display party profile.
To reproduce:
1. In Party Manager search for Party Id "sfa100"
Open "sfa100" from search results
See error message under "General Correspondence Address"
2. Similar in SFA Account Lookup
3. A New Account created in SFA will produce the same error.
Adding address to an existing account works. For example the demo accounts created by other components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310731 13f79535-47bb-0310-9956-ffa450edef68
I finally kept also the previous way because it allow an easier 18n of at the email subject.
Still the same concern: OOTB, if the user has not set a SMPT server in general.properties for the defaultFromEmailAddress the message "A new password has been created and sent to you. Please check your Email." when actually nothing happens. But that's anyway user's responsibility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310716 13f79535-47bb-0310-9956-ffa450edef68
Fixes a minor issue regarding the pending request count for ajax auto-completer: pending count is used to add and remove the ui-autocomplete-loading class. If we are aborting the request then this count is not updated properly and ui-autocomplete-loading class does not remove from the lookup element hence ajax loader image display continuously if response came.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1310266 13f79535-47bb-0310-9956-ffa450edef68
In storeIncomingEmail in CommunicationEventServices.java, the code to assemble the aboutThisEmail debugging message assumes addressesFrom and addressesTo are not null. But the methods that return values for those variables might return null if they encounter an exception.
Removes also uses of UtilValidate.isEmpty, which should only be used for collections and sequences (see OFBIZ-4427).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1309715 13f79535-47bb-0310-9956-ffa450edef68
Currently auto-completer uses sync call to prepare auto-completer source (result list).
Due to this user can't perform any other operation on lookup field and user should have to wait until response came.
In general, synchronous requests should never be used because they tend to block the execution of anything else on the page (or even the entire browser UI), which isn't good.
Also ajax-loader image not display on google chrome browser due to sync request.
Need to use async request for auto-completer.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308751 13f79535-47bb-0310-9956-ffa450edef68
Renamed some ant tasks for consistency, improved descriptions, removed 2 redundant tasks
Summary of changes:
improved descriptions (unified style)
renamed: run --> start
renamed: run-batch --> start-batch
renamed: run-debug --> start-debug
renamed: run-pos --> start-pos
renamed: run-install --> load-demo
renamed: run-install-multitenant --> load-demo-multitenant
renamed: run-install-* targets -> load* (for example: run-install-seed --> load-seed etc...)
enhanced load-file (was run-install-file) to accept an optional 'delegator' argument and removed run-install-file-in-delegator and run-tenant-install-file
renamed: run-create-tenant --> create-tenant
renamed: run-single-test --> run-test
renamed: run-single-test-suite --> run-test-suite
the main old tasks (mentioned in documentation etc.) have been kept and now inform the user of the new syntax
updated README and main screen of Webtools with the new task name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1308370 13f79535-47bb-0310-9956-ffa450edef68