dom to be finished loading. Wrap such code with a dom:loaded observer.
Also, change all window->load calls to dom:loaded observers. The former
happens after all images have finished loading, while the later happens
just after the dom has finished parsing. This is better, as sometimes
the images may take a long time to finish downloading, and until they do,
none of the manipulation will take place.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@997420 13f79535-47bb-0310-9956-ffa450edef68
Correct flow should be : System should ask user to enter "Current Password".
Thanks Amit for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@996563 13f79535-47bb-0310-9956-ffa450edef68
All Portlet screens should always load all needed UI resources since they can be rendered in different PortalPages that cannot be aware of what resources are needed.
This change will allow to eliminate all UI label resources loading in MyPortal decorators so that MyPortal will not depend on so many other components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995975 13f79535-47bb-0310-9956-ffa450edef68
Bug on creating Communication event for order return emails(return accept, return complete and return cancel). Attached return pdf along with return emails.
Thanks Anurag for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@993387 13f79535-47bb-0310-9956-ffa450edef68
When I go to the latest trunk demo, ecommerce store page, in the "browse forums" section on the left side bottom, there is an error that starts with "Expression forum.contentName is undefined on line 26".
It does not fix the reason though, which is somewhere upstream
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@987813 13f79535-47bb-0310-9956-ffa450edef68
"Cost calculation is still broken and no shipping costs are returned."
Note that nothing still is calculated for Fedex. I'm not quite sure if it's related, but Fedex has changed/is changing how things work. The API is deprecated, replaced by web services and will be totally unusable in May 2012
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985856 13f79535-47bb-0310-9956-ffa450edef68
When editing Portlet Pages, either in MyPortal or PortalAdm, Drag & Drop of Portlets does not work.
Where are several Issues in the MyPortal, some have fixes, none is commited to trunk.
Problems:
* in myportal.js, function getDestinationInformationPortlets(): DOM ID's are not handled correctly
* in framework/webtools/widget/PortalAdmScreens.xml: required javascript + css files are not included
JLR:
While working on this I have found other issues: the login.ftl files used in hhfacility and myportal were not tenant enabled. They are different but by chance in myportal very close to common so I was finally able to do both at along with Karl's changes. Actually I wanted to do 2 commits but forget to uncheck the files while doing a second attempt to commit.
MyPortal
* The login process in MyPortal was not tenant enabled, it's done in this commit.
* I kept its specificity : newRegisterLogin and wonder why it has not been extended to common?
hhfacility
The login process in hhfacility was not tenant enabled, it's done in this commit. Doing so, I saw there i18n is not done, not an issue for me...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@985163 13f79535-47bb-0310-9956-ffa450edef68
Problem:
The method "createUpdateBillingAddressAndPaymentMethod" in CheckoutServices.xml refers to a "billToCardSecurityCode" parameter, which is not existing.
Instead OnePageCheckoutProcess.ftl defines this field with id="CVV2" and name="cardSecurityCode".
Solution:
1. Change the "id" and "name" in OnePageCheckoutProcess.ftl to meet the attribute name of "createUpdateBillingAddressAndPaymentMethod".
2. Extend the attribute mapping line in CheckoutServices.xml so that in case the CVV2 is not entered by the user, the field is defined anyway. (otherwise groovy.lang.MissingPropertyException is still thrown as the field is always accessed)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983930 13f79535-47bb-0310-9956-ffa450edef68
The shippingTotal has to be a BigDecimal for the methods called...
* org.ofbiz.base.util.UtilFormatOut.formatCurrency(...)
* org.ofbiz.order.shoppingcart.ShoppingCart.setItemShipGroupEstimate(...)
...so in case it's null, initialize it with BigDecimal.ZERO instead of 0.00
Fixes also some JavaDoc in UtilFormatOut.java
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@983920 13f79535-47bb-0310-9956-ffa450edef68
Mostly to test the change I just did in mergefromtrunk.bat. Else I'd like to fix also the way the options are shown when using the std checkout (far below, very bad for newcomers). But I have not enough faith, at least today...
I tested enough, and this should not not introduce any side-effects.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@981288 13f79535-47bb-0310-9956-ffa450edef68
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.
JLR: This will maybe help to better understand some errors on demo servers, and can't hurt
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
Please committers use only target with parameter attribute (not in URL) for link and hyperlink fields when there is an action (ie DB modification)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@952119 13f79535-47bb-0310-9956-ffa450edef68
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68