Commit Graph
59 Commits
Author SHA1 Message Date
Michael Brohl 662a3f9d1c Improved: Remove Compdoc functionality from content manager
(OFBIZ-10476)
2021-02-13 17:33:05 +01:00
Jacques Le Roux ec2b84341e Reverted: "Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)"
This reverts commit 17eb2e4cf7.

It does not work when using <<target="javascript:........>>
I could change those cases but it's easier and safer to simply revert back to
target-type!

Thanks: James for report
2020-12-18 11:08:32 +01:00
Jacques Le Roux 17eb2e4cf7 Improved: Hyperlink target-type attribute is deprecated and should be replaced by url-mode (OFBIZ-12091)
Same for sub-hyperlink
2020-12-11 16:52:04 +01:00
James Yong 2f557b7fba Reverted: Use Compound Widget on rest of the project (OFBIZ-11821)
Verbose and may better suit in custom implementation.
2020-06-20 20:06:42 +08:00
James Yong 28809d71d8 Improved: Use Compound Widget on rest of the project (OFBIZ-11821)
Refactor for Find Request
2020-06-14 11:40:16 +08:00
Suraj Khurana 3615f5b842 Improved: Converted all CustRequestContent related CRUD services from simple to entity-auto (#94)
* Improved: Converted all CustRequestContent related CRUD services from simple to entity-auto
(OFBIZ-11627)

* Improved: Added seca rule for checkStatusCustRequest while invoke and updateCustRequestLastModifiedDate while commit for services related to CustRequestContent.
2020-05-02 17:00:48 +05:30
Deepak Dixit c3d53e6b8c Fixed: Fix typo 2020-01-06 00:53:32 +05:30
Jacques Le Roux c98def05a3 Fixed: EditExample always update status, because current Status not shown
(OFBIZ-11230)

In the EditExample Form, the drop-down is populates with the Valid change status 
only. So current status is not in the list and the status print in the drop-down 
is the next authorized. I want to modify exampleName or exampleType, I go to 
editExample and change what I want and validate. The problem is status is also 
changed!

There are 12 other same or similar cases. For the first of them (in FinAccount) 
there is the same bug: when I change FinAccount Name, status change too. If I 
add current="first-in-list" in the tag drop-down it works 

jleroux: Quote is a peculiar case due to OFBIZ-7337 which was a wrong fix
 
Thanks: Oliver for the analysis and the fix 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1868545 13f79535-47bb-0310-9956-ffa450edef68
2019-10-17 12:19:33 +00:00
Scott Gray 23f36f67a1 Fixed: Ensure the story field in ordermgr's EditCustRequest form is html encoded (OFBIZ-11006)
Fixes CVE-2019-10074

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858523 13f79535-47bb-0310-9956-ffa450edef68
2019-05-02 08:59:11 +00:00
Deepak Dixit d09255c0b7 Reverted: Minilang code readability and consistency improvements done at r#1768222, this commit reversed key and description of drop-down in the code.
(OFBIZ-9114)

Thanks  Wei Zhang for reporting the issue.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1772880 13f79535-47bb-0310-9956-ffa450edef68
2016-12-06 12:37:42 +00:00
Divesh Dutta 70eb7ff508 Improvement: Minilang code readability and consistency improvements.
(OFBIZ-8929) (OFBIZ-8930) (OFBIZ-8953) (OFBIZ-8965) (OFBIZ-8972) (OFBIZ-8986) (OFBIZ-8991) 

Thanks: Ankush Upadhyay, Anuj Jain, Abhijeet for your patches. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768222 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:34:00 +00:00
Divesh Dutta 738a12bec1 Improvement: Miniland code readability and consistency improvements
(OFBIZ-8744) (OFBIZ-8745) (OFBIZ-8746) (OFBIZ-8748) (OFBIZ-8829) (OFBIZ-8830) (OFBIZ-8907) (OFBIZ-8908) (OFBIZ-8924) (OFBIZ-8925) 

Thanks: Ankush Upadhyay , Sega patidar , Abhijeet Ashapure for your patches.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1768219 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 14:14:04 +00:00
Divesh Dutta 556279917d Improved:Display from date with default to now timestamp and also add asterisk sign to all the forms where it is part of primary key in all the components.
(OFBIZ-7650) (OFBIZ-7651) (OFBIZ-7653) (OFBIZ-7660) (OFBIZ-7662) (OFBIZ-7665) (OFBIZ-7666) (OFBIZ-8028)(OFBIZ-8029) (OFBIZ-8255)

Thanks: Anuj Jain and Ratnesh for the pathes and Swapnil Shah for reporting the issues.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761192 13f79535-47bb-0310-9956-ffa450edef68
2016-09-17 11:02:39 +00:00
Michael Brohl f0a109c0dd Improved: Order: Consistent form name.
(OFBIZ-8078)

Change all form names to upper camel case for consistency. I have slightly modified the patch to remove a typo (LookupOrderHeader instead of LSookupOrderHeader) in LookupScreens.xml.

Thanks: Tanmay Muley for reporting and providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1761095 13f79535-47bb-0310-9956-ffa450edef68
2016-09-16 21:31:05 +00:00
Jacques Le Roux c8ba932772 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@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux 89212904bd 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@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux 4931db1ed9 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@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Pranay Pandey c17aa1be2d [OFBIZ-7384] Removed not needed Status ID field from Request Roles section on Request Overview as there is no status associated with it in CustRequestParty which is to be shown. Looks like a copy paste error while creating the view.
Thanks Chandan Khandelwal for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1749020 13f79535-47bb-0310-9956-ffa450edef68
2016-06-18 13:39:46 +00:00
Jacques Le Roux 9ea03cde10 Completes r1709882 for <<Remove tooltip="${uiLabelMap.CommonRequired}" from fields>> https://issues.apache.org/jira/browse/OFBIZ-6691
Replaces all }*" by requiredField but for forms using auto-fields-entity or auto-fields-service for which I created the subtask "Enhance auto-fields-entity and auto-fields-service to generate required fields on PK ones" https://issues.apache.org/jira/browse/OFBIZ-6695

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1710086 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 19:47:33 +00:00
Taher A. Alkhateeb 5b49aaf3e8 convert Parent Customer Request Id field from text to lookup field REF OFBIZ-6177
Issue raised thanks to Pierre Smits, the form has autoattributes which renders
the above mentioned field as text when it should be a lookup. This commit
fixes this issue by explicitly overriding the <auto-fields-service ...>

fixes https://issues.apache.org/jira/browse/OFBIZ-6177


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1710073 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 18:23:56 +00:00
Arun Patidar 4f52380dca [OFBIZ-6171] Replacing 'Open for Business' references with 'Apache OFBiz'from remaining occurences.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1706593 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 14:31:12 +00:00
Nicolas Malin 895c9856b3 Cleaning forms code is needed after setting default-value in list-options and entity-options, patch related to OFBIZ-6524 and follows the resolution of OFBIZ-6490 and OFBIZ-6489. Thanks Gil Portenseigne for this effort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1686674 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 21:58:05 +00:00
Christian Carlow 1dd09ed536 Replacing deleteCustRequestParty with expireCustRequestParty to be exectuted with newly added Expire <hyperlink> and implementing deleteCustRequestParty to perform <remove-value> instead of updating.
https://issues.apache.org/jira/browse/OFBIZ-6463

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683953 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:28:34 +00:00
Christian Carlow 1393413594 Fixing consolidated partyId field of r1683879 so that <display-entity> also-hidden="true", otherwise updateCustRequestParty throws error related to primary key
https://issues.apache.org/jira/browse/OFBIZ-6464

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683949 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:15:50 +00:00
Christian Carlow c943d1526b Replaced submit button uiLabelMap.CommonSubmit text with CommonCreate at order/widget/ordermgr/CustRequestForms.xml#EditRequestRole to improve user understanding that the form only allows creations
https://issues.apache.org/jira/browse/OFBIZ-6465

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683880 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 02:50:32 +00:00
Christian Carlow 0b92520145 Consolidated name and partyId fields of order/widget/ordermgr/CustRequestForms.xml#ListRequestRoles by removing name and turning partyId into <display-entity> and converting name <hyperlink> as its <sub-hyperlink>
https://issues.apache.org/jira/browse/OFBIZ-6464

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683879 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 02:41:07 +00:00
Christian Carlow 738a14f53f Added custRequestDate to ordermgr/control/FindRequest ListRequestList because it appears as a find field in FindRequests form.
https://issues.apache.org/jira/browse/OFBIZ-6447

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683637 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 20:43:48 +00:00
Christian Carlow 2b72533640 ordermgr/control/FindRequest ListRequestList productStoreId rendered as <display-entity> with storeName as the description and <sub-hyperlink> with link text as [${productStoreId}]
https://issues.apache.org/jira/browse/OFBIZ-6446 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683619 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 19:57:58 +00:00
Christian Carlow 4089f658f4 Removing unnecessary <display-entity> key-field-name and description attributes added in r1683580 suggested by Nicolas Malin on ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683593 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 16:57:55 +00:00
Christian Carlow ee65d52710 Added ListRequestList <display-entity> for custRequestTypeId so the description would be displayed instead of the id value to match the find field.
https://issues.apache.org/jira/browse/OFBIZ-6445

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683580 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:54:47 +00:00
Christian Carlow 6c18f2a28a All <dropdown> fields at order/widget/ordermgr/CustRequestForms.xml#FindRequests were updated with allow-multiple="true" to enable multi-value searches
https://issues.apache.org/jira/browse/OFBIZ-6315



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1683578 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:37:34 +00:00
Ashish Vijaywargiya 44ce4114b6 Applied patch from jira issue - OFBIZ-4668 - CommunicationEventAndRole entity: Field with name custRequestDate not found.
==============================================================================
when displaying this portal page:
https://localhost:8443/myportal/control/main?portalPageId=MYPORTAL_EMPLOYEE0&parentPortalPageId=MYPORTAL_EMPLOYEE

this message is thrown to the console:
Message: Roll back error, could not commit transaction, was rolled back instead because of: Error in Service [executeFind]: Error running Find on the CommunicationEventAndRole entity: Field with name custRequestDate not found in the CommunicationEventAndRole Entity
==============================================================================
Thanks Mridul for the contribution and thanks Erwan for creating the issue. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1632801 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 14:38:46 +00:00
Jacopo Cappellato 4e25f81233 Fixed field name in edit customer request screen; thanks to james yong for the report in OFBIZ-3474
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1609167 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 14:19:53 +00:00
Jacques Le Roux 3369dca046 Replaces title="${uiLabelMap.CommonEmptyHeader}" by title=" " where it's known to not be a problem. Here with links styled by widget-style="buttontext"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340373 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 08:45:18 +00:00
Erwan de Ferrieres dadcf9db22 OFBIZ-2403 - Create a Portlet that show a list of returns placed by a customer
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1235528 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:15:10 +00:00
Bruno Busco 51da82a16a Used FindScreenDecorator in FindRequest screen.
Also used proper button style (create), separated RequestId and RequestName columns and enabled column sorting.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1032662 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 18:32:10 +00:00
Bruno Busco 2e4db4a4a7 Portlets attributes are now put directly in the context and not in the attributeMap.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1023426 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 06:53:18 +00:00
Vikas Mayur 70d02b1f26 Explicitly added the hidden-form link-type instead of relying on link-type auto. The auto link-type only works with intra-app and not with inter-app target-type.
The other option would be to change the method WidgetWorker.determineAutoLinkType() to allow inter-app target-type so that the method can

determine whether to change the hyperlink to a form or an anchor to avoid secured URL issue.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@951087 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 17:49:21 +00:00
Erwan de Ferrieres 81e7c3af7e Adding missing internationalization
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950404 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 07:51:26 +00:00
Jacques Le Roux fda988d301 Closes "Allow to open a layer lookup from a layer lookup recursively" (https://issues.apache.org/jira/browse/OFBIZ-3693) - OFBIZ-3693
This commit removes all remaining <presentation="window">

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@946073 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 07:36:02 +00:00
Jacques Le Roux 62976e36fb We still have a problem with the find button in recursive cases (ie LookupWorkEffort and LookupContent).
It's not related to previous patches committed but an issue which is remaining and we have to face now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944647 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:13:03 +00:00
Jacques Le Roux 578662ae4c Now that we have fixed the layered lookup inside layered lookup issue and the recursive call case we can get rid of all the useless remaining presentation="window".
I keep the example and beware LookupTimeDuration is a special case

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944623 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:13:00 +00:00
Jacques Le Roux df40275120 A completed patch from Sascha Rodekamp "Lookup Layer Search of a Varient Product" (https://issues.apache.org/jira/browse/OFBIZ-3746) - OFBIZ-3746
Fix the variant issue in product lookups
Remove the temporary window presentation workaround (done at r939232)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 10:37:33 +00:00
Jacques Le Roux 8f11d470b9 Some other issues with layered lookups, bypassed for now using popups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939999 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 12:43:34 +00:00
Jacques Le Roux 92699050d0 A temporary workaround for the problem reported by Sam Hamilton at https://issues.apache.org/jira/browse/OFBIZ-3746: "Lookup Layer Search of a Variants Product"
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939232 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 08:47:57 +00:00
Erwan de Ferrieres 4013c960a8 Using right field name so the right uiLabel is displayed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929119 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 12:53:07 +00:00
Bilgin Ismet Ibryam 6e17f97591 Order content types in select fields by description.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@928790 13f79535-47bb-0310-9956-ffa450edef68
2010-03-29 14:34:49 +00:00
Hans Bakker 8142ef2fdc show communication even screens within in the communication portlet avoiding having required decorators.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@883323 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 12:45:36 +00:00
Hans Bakker 7c8b20c6ee customer request name should not be displayed encoded, when created by the service it already is set to 'safe'
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830462 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28 08:33:19 +00:00
Hans Bakker 105fd19f84 creating a customer request from a communication event was not working in mycommunications in the party component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@825410 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 06:48:08 +00:00