Commit Graph
26 Commits
Author SHA1 Message Date
Jacques Le Roux 4deae05a38 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux a98ac13d9d Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux b20816bfa8 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Deepak Dixit dac494ac6a (OFBIZ-7237) Relocate .groovy files in the specialpurpose/ecommerce component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1747786 13f79535-47bb-0310-9956-ffa450edef68
2016-06-10 19:35:12 +00:00
Deepak Dixit 374449d47e (OFBIZ-7021) Renamed specialpurpose ecommerce component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1744942 13f79535-47bb-0310-9956-ffa450edef68
2016-05-21 13:43:11 +00:00
Deepak Dixit dd5cf2fe5f (OFBIZ-7021) Renamed framework common component ftl file name from lower camel case to upper camel case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1744783 13f79535-47bb-0310-9956-ffa450edef68
2016-05-20 18:52:54 +00:00
Deepak Dixit 27fb7a69cf (OFBIZ-7021) Renamed order component ftl file name from lower case to upper case pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1743881 13f79535-47bb-0310-9956-ffa450edef68
2016-05-15 06:06:11 +00:00
Deepak Dixit b4f65d473b (OFBIZ-6823) relocate .ftl files in the framework/common component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1740497 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 12:28:46 +00:00
Deepak Dixit 6d65904ec1 (OFBIZ-6821) relocate .ftl files in the specialpurpose/ecommerce component
Thanks Pierre for your contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1740485 13f79535-47bb-0310-9956-ffa450edef68
2016-04-22 11:42:03 +00:00
Jacques Le Roux 95aff0a67d Just stumbled upon it by chance, these changes needed in ecommerce were missing in r1736868 for OFBIZ-6819 (order)
I will double-check all screens changes kept in r1737557 (ie initially committed for subtasks 25 to 32 of OFBIZ-6810) 
From 1st investigation I believe there are no others (at least dependency in specialpurpose from applications, I did not check specialpurpose interdependencies yet...)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1737608 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 21:40:33 +00:00
Jacques Le Roux 62d9027b13 Since we removed the specialpurpose components (but ecommerce), there was an issue with ordermgr js scripts.
The problem was double. It'd have been easy to add the missing "/js:" patch in allowedPaths in the web.xml of birt component from where the js scripts are now expected to be loaded in trunk.
But then you would need to also copy the js scripst there (in birt component). You could not simply move them because for upcoming branches we also need them in ordermgr component (they were there in images/js) else they would miss again.

This commit rather adds them under a simple ordermgr-js new webapp (simple, ie like framework/images, only to load resources) under commonext: applications/commonext/webapp/ordermgr-js to prevent the duplication maintenance hazards.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1612202 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 07:32:10 +00:00
Jacques Le Roux ef7382315d A patch from Tom Burns for "eCommerce Create New Customer Improvement" https://issues.apache.org/jira/browse/OFBIZ-4831
1. Add support for dependent Country / State drop down to newcustomer.ftl
This change makes the behavior of the Country / State drop downs in newcustomer.ftl consistent with the Profile > Contact Information > Postal Address > "Create New" and "Update" behavior.

2. When an eCommerce user, who is not Logged In, clicks "Register" the newcustomer.ftl from opens with a "Go Back" button.
This button navigates to a Login form that prompts the user for a user name and password.
This makes no sense in the context.
A better design is to have a Cancel button. When the user clicks Cancel the application returns to the Main display for the current session.

jleroux: 
1. I wondered about returning to main page when coming from login screen and asking to create a new user. But it makes sense as well and is better when coming directly from main page. Anyway this is purely cosmetic
2. We don't need to get back to this screen (new profile) so no needs to use from-field="selectedStateName" in
<set field="selectedDependentOption" from-field="selectedStateName" default-value="_none_"/>
It makes things clearer

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1331842 13f79535-47bb-0310-9956-ffa450edef68
2012-04-28 21:53:54 +00:00
Jacques Le Roux 43b05e8a00 Seems that I reverted a correctly work done before, still no impacts anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326500 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 06:13:56 +00:00
Jacques Le Roux fd95ecf4f3 Ah, forgot to save for r1326397, no functional impact anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326401 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:02:03 +00:00
Jacques Le Roux 9151c2c274 A modified patch from Tom Burns for "eCommerce Edit Contact Information use Dependent drop-downs" https://issues.apache.org/jira/browse/OFBIZ-4797
Using Dependent drop-downs to filter the State drop down based on the selection in the Country drop-down will improve the usability of the component.
Current Behavior:
1. Open eCommerce application
2. Log in as user with Postal Address say Demo Customer
3. In the menu bar select Profile
4. In "Contact Information" > "Postal Address" select update.
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list displays all geo values.

After improvement:
5. The "Country" drop-down value is "United States" and the "State/Province" drop-down list is limited to States in the United States.
6. Changing the value in the "Country" drop-down will update "State/Province" drop-down list with values for the selected country.

jleroux: Tom's patch had only a small issue: duplicated line (but this had any impact since overriden by the following line)
<set field="selectedDependentOption" value="_none_"/>

The problem was more in EditContactMech.groovy:
context.selectedStateName = geoValue.geoName;
was used, instead of needed by setDependentDropdownValuesJs.ftl
context.selectedStateName = geoValue.geoId;

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1326397 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 18:58:17 +00:00
Jacques Le Roux 443d5a5dd2 A patch from Markus M. May "Add Product Reviews to the profile Screen" https://issues.apache.org/jira/browse/OFBIZ-4736
Currently there is no way for a customer to view her/his reviews created in the ecommerce application. This functionality is added with the attached patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1305038 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 14:02:59 +00:00
Jacques Le Roux 53ca1f3920 Closes OFBIZ-4577 and its subtasks OFBIZ-4575 OFBIZ-4578, reported by Kiran Gawde "viewprofile has lost lot of functionality during refactoring"
jleroux: I simply restored the old screens, and make them default as we decided in the http://markmail.org/message/l2kxjxzdsqtcmedn  thread.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1206690 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 09:25:17 +00:00
Jacques Le Roux c008c6ccb3 Merges the jQuery branch back to the trunk
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1044503 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 20:40:08 +00:00
Ashish Vijaywargiya 69a6dc4b88 Applied patch from jira issue OFBIZ-3159 - Move geoAutoCompleter.js from ecommerce to ordermgr.
geoAutoCompleter.js currently resides in specialpurpose/ecommerce component. But now it is also used in OrderViewScreen.xml#OrderHeaderView screen. First of all we can't have dependency of ordermgr on ecommerce component. Secondly, if I am developing a custom ecommerce application with mount point /ecommerce, thus overriding specialpurpose/ecommerce webapp, and copying the geoAutoCompleter.js to my custom application (to customize) in a directory structure other than that of specialpurpose/ecommerce, then the JS file is not loaded in OrderHeaderView screen due to change of location. The only reason is the dependency stated above. Hence this change is vital.

While doing this change, all the references to geoAutoCompleter.js will need to be updated too.

Thanks Arpit for the contribution.
Special thanks to Mridul for providing notes for the implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@833026 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 10:08:35 +00:00
Bruno Busco d2b7b4dbdd Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@826483 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 18:24:32 +00:00
Ashish Vijaywargiya 07092df1f6 Applied patch from jira issue OFBIZ-3024 - Implement contact us functionality for unregistered user.
Thanks Awdesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@823849 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 13:07:50 +00:00
Vikas Mayur 80777b03ed Reverting changes done in rev. 814553 as discussed on dev mailing list. Now the conventional profile screens are default again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@816469 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 04:49:22 +00:00
Vikas Mayur 82f58f559e Changed the new profiles pages added a year back as the default one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@814553 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 10:08:27 +00:00
Jacques Le Roux 97bb3073c9 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Marco Risaliti 9e8275c978 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@755005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 21:08:21 +00:00
David E. Jones 87b44cef4a Moved ecommerce from applications to specialpurpose, as discussed on the dev mailing list; component and build files updates, tested clean build/install/run
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@754529 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:32:16 +00:00