This patch extends the order adjustment creation. If an order adjustment is created from a product promo the promo text will store in the order adjustment description. This helps identifying the order adjustment and later on the invoice item type : ITM_PROMOTION_ADJ.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1024177 13f79535-47bb-0310-9956-ffa450edef68
Though it introduces dependencies from Party to Product and Workeffort, this fixes 2 of them. To be revisited if we want to remove the dependencies and fix the other hardcoded sentences. I have opened OFBIZ-3996 for that...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023860 13f79535-47bb-0310-9956-ffa450edef68
Sascha: Hm, i had a little bit trouble when i tried to update my address data (shop). The result message was Contact Mechanism Successfully Updated. The service (updateContactMech) tries to differ between email, phone, web ... address changes. But the conditions are always false , because he can't read the from the parameter fields. This patch makes the service read the parameters in the right way.
JLR: I guess the reason we did not spot this before is because OOTB it's only used inside ContactMechServices.xml, and there context is set. Anyway having all in parameters is obviously better/safer, services are not supposed to be used in one situation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023842 13f79535-47bb-0310-9956-ffa450edef68
Sascha: I noticed an issue in the sendOrderNotificationScreen method. There is no need of loading uiLabels in the method, because the labels will be loaded in the screen (which will be used for the email). The point is, when someone (for whatever reason) don't add English uiLabels and the service try to access the default English labels the an exception will be thrown . This can be simply avoided.
The patch was 1st applied at r1003836, but I finally reverted it at r100390 because I'd like to be sure there were no issues. According to Sascha, there should be any since all needed labels are loaded in screens before triggering the mail service.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023719 13f79535-47bb-0310-9956-ffa450edef68
The PortalPage list is now collapsible. The form to create a new portalPage has been moved to a dedicated screen.
This allows to have a less crowded screen and the portalPage being configured can be seen almost at full screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023447 13f79535-47bb-0310-9956-ffa450edef68
Generally xxxxUiLabelDecorator should not be used. Having a decorator that only adds UiLabel resources creates unnecessary screen dependences.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023429 13f79535-47bb-0310-9956-ffa450edef68
No need to use this too complicated GenericScreenletAjaxWithMenu stuff.
The portlet attributes must not be used to select artifact to be rendered in a portlet. This creates security issues.
In next commits I will remove all the GenericPortlet stuff.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023257 13f79535-47bb-0310-9956-ffa450edef68
This should be the only change that needs to be reverted if any issue with the new include-portal-page is raised.
I do not proceed further with the widget introduction into other screens for a while (even if I have a local copy of the whole OFBiz converted) so that it will be tested more.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023206 13f79535-47bb-0310-9956-ffa450edef68
This allows to move the portlet rendered using the include-portal-page widget using the same service used for the portlet drag and drop.
Redundant moving services will be removed when the include-portal-page widget will have completely established.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023203 13f79535-47bb-0310-9956-ffa450edef68
- Changed edit-mode attribute to conf-mode
- Added a use-private attribute. This is "true" by default but can be set to "fasle" if the include-portal-page must render a specific PortalPage without checking if a derived private PortalPage copy exists (i.e. in PortalPageAdmin screens)
- Fixed Portlet attributes retrieval. After each portlet rendering the attributes are removed from the context so that another instance of the same portlet in the same PortalPage that has no attribute value specified falls back to default values and not to the values of the previous portlet.
- The up/down/left/right portlet icons use the same service used for the Portlet Drag and Drop. (This is not working yet. Needs a next commit)
- Few portlet style and labels updates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023197 13f79535-47bb-0310-9956-ffa450edef68