Changes a findList() to an EntityQuery.queryList()
Fixes several formatting issues

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642746 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-5896 This commits fixes a regression I introduced with rev. 1635232 (this actually reverts that commit) and provides a different and better fix for the error affecting the "Did you know?" screenlet.
ContentServicesComplex.getAssocAndContentAndDataResourceCacheMethod was not using the passed contentId in condition list, and also was not using the ContentAssocDataResourceViewFrom/To view entity to get the result. Thanks to Deepak Dixit for the patch.
Misc minor cleanups (removed commented out code) and some small formatting fixes.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643061 13f79535-47bb-0310-9956-ffa450edef68
Implements "Allow to edit ship groups contents after and order has been created" https://issues.apache.org/jira/browse/OFBIZ-5761

From an UI perspective this adds a "View ship group by order item" button which allows to create new ship groups by order items and to move the quantity of the order item between ship groups.
This is the adaptation of the "oisg-management" addon for R12.04 to the trunk. Thanks to Nicolas and Leila from Nereides for their help

For more information refer to the Jira issue.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643077 13f79535-47bb-0310-9956-ffa450edef68
OFBIZ-5894 When ContentWorker.renderContentAsText is used to render content that have electronicText with empty textData then it renders a string with the "null" value: this commit fix the issue. Thanks to Deepak Dixit for the bug report and fix.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643088 13f79535-47bb-0310-9956-ffa450edef68
No functional changes, only formatting

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643170 13f79535-47bb-0310-9956-ffa450edef68
Fix a bug introduced with OFBIZ-5761. This appeared only in a custom project when using the underlying services. Then after creating a new ship group with createOrderItemShipGroup, when appending and item with appendOrderItem the OISGAs (OrderItemShipGroupAssoc) where duplicated

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643172 13f79535-47bb-0310-9956-ffa450edef68
Adds some sub-dir to runtime/.gitignore

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643176 13f79535-47bb-0310-9956-ffa450edef68
Two Groovy DSL descriptors for Eclipse and IntelliJ in order to get the autocompletion and similar features while editing Groovy files in OFBiz.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643183 13f79535-47bb-0310-9956-ffa450edef68
Added code to ignore the optional charset as the key to retrieve the requestBodyMapHandler. For example the same handler will be found and used when the Content-Type header is set as:
application/json
application/json;charset=utf-8
application/json;charset=UTF-8



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643184 13f79535-47bb-0310-9956-ffa450edef68
Complete the entity-auto engine for manage a service can be wait a pk or not. In this last case the field need to present on OUT part. This appears when you have a fromDate and you offer the possibility to user to indicate it, otherwise it's instantiate with now. It's a small improvement to complete the issue OFBIZ-5800, you have an example with entity PartyQual and the screen humanres/control/EditEmployeeQuals?partyId=DemoEmployee

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643303 13f79535-47bb-0310-9956-ffa450edef68
Converted humanres CRUD service to entity-auto for entity PartyQual, PartyResume, PartySkill, PerfReview, PerfReviewItem, PerformanceNote, Employment, EmploymentApp, PartyBenefit, PayGrade, PayHistory, PayrollPreference, SalaryStep, TerminationReason, UnemploymentClaim, EmplPosition, EmplPositionFulfillment, EmplPositionReportingStruct, EmplPositionResponsibility, ValidResponsibility, SkillType, ResponsibilityType, TerminationType, EmplPositionType, EmplPositionTypeRate, AgreementEmploymentAppl, EmplLeave only on update, EmplLeaveType, JobRequisition, EmploymentApp, JobInterview, JobInterviewType, PersonTraining, TrainingClassType, EmplLeaveReasonType. Issue associate OFBIZ-5760

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643314 13f79535-47bb-0310-9956-ffa450edef68
Added to all the Tomcat connectors the commented out setting for the "address" parameter: this is useful when you run multiple instances of OFBiz in the same server each bound to a different hostname/IP address.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643315 13f79535-47bb-0310-9956-ffa450edef68
Fixes a possible NPE introduced in ShoppingCart.loadCartFromOrder() with OFBIZ-5761. Found while working on OFBIZ-5430


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643340 13f79535-47bb-0310-9956-ffa450edef68
This fixes <<"Please Select Your Shipping Method" error sometimes occurs when updating order items>> bugs https://issues.apache.org/jira/browse/OFBIZ-5430

Fixes a long standing issue in OrderServices.saveUpdatedCartToOrder() where an empty csi may be initially added to ShoppingCart.shipInfo() by ShoppingCart.setItemShipGroupQty() (called indirectly by ShoppingCart.setUserLogin() and then ProductPromoWorker.doPromotions(), etc.). Then shipGroupsSize > realShipGroupsSize are different (+1 for shipGroupsSize), so simply bypass the 1st empty csi. This prevents the "Please Select Your Shipping Method" error, pfew...


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643341 13f79535-47bb-0310-9956-ffa450edef68
Improve screen projectmgr/control/EditProjectContents, to display the creation form instead of the update content (that doesn't works) when a workEffortContent is deleted. Raise by Dhiraj Gupta on issue OFBIZ-5730.Review the form to display only modification's field that can be modified.
Clean attribut's links by auto-attribut-entity

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643384 13f79535-47bb-0310-9956-ffa450edef68
A patch from Deepak for "Party Content Upload Ajax Is Broken" https://issues.apache.org/jira/browse/OFBIZ-5891, thanks to Adrian's report


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643423 13f79535-47bb-0310-9956-ffa450edef68
Added a check to prevent client code holding a reference to a "tenant" delegator to access super/meta tenant tables. Thanks to Arun Patidar for spotting this and for discussing with me the proper solution. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643499 13f79535-47bb-0310-9956-ffa450edef68
Applied patch from jira issue - OFBIZ-5898 - Tenant should run with specified domain name. Front store should support multi tenant feature. Thanks so much Arun for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643510 13f79535-47bb-0310-9956-ffa450edef68
I converted the Crud service from simple to entity-auto for :

    Budget (except create)
    BudgetItem
    BudgetRole (except create)
    BudgetReview

Issue Associate OFBIZ-5900

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643579 13f79535-47bb-0310-9956-ffa450edef68
Screen widgets - clean up some object types around SectionsRenderer class.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1643584 13f79535-47bb-0310-9956-ffa450edef68