You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2021/08/09 08:50:51 UTC
[ofbiz-framework] branch trunk updated: Implemented: Convert
WorkEffort relation screen to dynamic Compound (OFBIZ-12292) (#318)
This is an automated email from the ASF dual-hosted git repository.
nmalin pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6addbdc Implemented: Convert WorkEffort relation screen to dynamic Compound (OFBIZ-12292) (#318)
6addbdc is described below
commit 6addbdc20830dc8800e8d320990c03642ddfd16c
Author: Nicolas Malin <ni...@nereide.fr>
AuthorDate: Mon Aug 9 10:50:44 2021 +0200
Implemented: Convert WorkEffort relation screen to dynamic Compound (OFBIZ-12292) (#318)
After the work on the task OFBIZ-11808, the work on issue OFBIZ-12272 to improve
FindWorkEffort and suggest converting dynamic screen with compound widget, we tried
to migrate all screen link to entity workEffort with idea to down less the code,
remove all css information to let the theme do it and use widget improvement
developed last years (focus, extend, displaying)
The migration cover FindWorkEffort, ListWorkEffortPartyAssigns,
ListWorkEffortFixedAssetAssigns, ListWorkEffortCommEvents, ListWorkEffortShopLists,
ListWorkEffortRequests, ListWorkEffortRequirements, ListWorkEffortQuotes,
ListWorkEffortOrderHeaders, EditWorkEffortTimeEntries, EditWorkEffortNotes,
EditWorkEffortContents, EditWorkEffortGoodStandards, EditWorkEffortReviews,
EditWorkEffortKeywords, EditWorkEffortContactMechs, EditAgreementWorkEffortApplics,
ListWorkEffortAttributes, ListWorkEffortEventReminders
Thanks to Leila Mekika, Marie-Aline Pantais, Gaƫtan Chaboussie and Gil Portenseigne for their help
---
applications/workeffort/servicedef/services.xml | 18 +-
.../webapp/workeffort/WEB-INF/controller.xml | 399 +---------
.../workeffort/WEB-INF/workeffort-controller.xml | 46 ++
applications/workeffort/widget/CommonScreens.xml | 18 +
applications/workeffort/widget/WorkEffortForms.xml | 866 +--------------------
.../widget/WorkEffortOrderHeaderForms.xml | 55 --
.../widget/WorkEffortPartyAssignForms.xml | 131 ----
.../workeffort/widget/WorkEffortQuoteForms.xml | 94 ---
.../widget/WorkEffortRelatedSummaryScreens.xml | 19 +-
.../workeffort/widget/WorkEffortRequestForms.xml | 88 ---
.../widget/WorkEffortRequirementForms.xml | 67 --
.../workeffort/widget/WorkEffortScreens.xml | 186 +----
.../workeffort/widget/WorkEffortShopListForms.xml | 53 --
.../widget/workeffort/WorkEffortAgreementCpd.xml | 143 ++++
.../widget/workeffort/WorkEffortAttributeCpd.xml | 142 ++++
.../widget/workeffort/WorkEffortCommEventCpd.xml | 238 ++++++
.../widget/workeffort/WorkEffortContactMechCpd.xml | 142 ++++
.../widget/workeffort/WorkEffortContentsCpd.xml | 161 ++++
.../workeffort/widget/workeffort/WorkEffortCpd.xml | 287 +++++++
.../workeffort/WorkEffortEventRemindersCpd.xml | 164 ++++
.../widget/workeffort/WorkEffortFixedAssetCpd.xml | 176 +++++
.../workeffort/WorkEffortGoodStandardsCpd.xml | 196 +++++
.../widget/workeffort/WorkEffortKeywordsCpd.xml | 133 ++++
.../widget/workeffort/WorkEffortNotesCpd.xml | 171 ++++
.../widget/workeffort/WorkEffortOrdersCpd.xml | 143 ++++
.../widget/workeffort/WorkEffortPartyAssignCpd.xml | 205 +++++
.../widget/workeffort/WorkEffortQuotesCpd.xml | 249 ++++++
.../widget/workeffort/WorkEffortRateAssignCpd.xml | 170 ++++
.../workeffort/WorkEffortRequestAndItemCpd.xml | 257 ++++++
.../workeffort/WorkEffortRequirementsCpd.xml | 211 +++++
.../widget/workeffort/WorkEffortReviewsCpd.xml | 167 ++++
.../widget/workeffort/WorkEffortShopListCpd.xml | 142 ++++
.../widget/workeffort/WorkEffortTimeEntriesCpd.xml | 254 ++++++
33 files changed, 3905 insertions(+), 1886 deletions(-)
diff --git a/applications/workeffort/servicedef/services.xml b/applications/workeffort/servicedef/services.xml
index 49c4836..e99e392 100644
--- a/applications/workeffort/servicedef/services.xml
+++ b/applications/workeffort/servicedef/services.xml
@@ -755,6 +755,7 @@ under the License.
<permission-service service-name="workEffortManagerPermission" main-action="UPDATE"/>
<auto-attributes include="pk" mode="IN" optional="false" entity-name="CommunicationEventWorkEff"/>
<auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CommunicationEventWorkEff"/>
+ <auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CommunicationEvent"/>
<override name="communicationEventId" optional="false">
<type-validate>
<fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingCommunicationEventId"/>
@@ -833,12 +834,10 @@ under the License.
</type-validate>
</override>
</service>
- <service name="createWorkEffortRequestItem" engine="entity-auto" invoke="create" auth="true">
+ <service name="createWorkEffortRequestItem" engine="entity-auto" default-entity-name="CustRequestItemWorkEffort" invoke="create" auth="true" >
<description>Creates a CustRequestItemWorkEffort</description>
- <auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItemWorkEffort"/>
- <auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItem"/>
- <auto-attributes include="nonpk" mode="IN" optional="true" entity-name="CustRequestItem"/>
- <attribute name="custRequestItemExists" type="java.lang.String" mode="IN" optional="true"/>
+ <auto-attributes include="pk" mode="IN" entity-name="CustRequestItemWorkEffort"/>
+ <auto-attributes include="pk" mode="IN" entity-name="CustRequestItem"/>
<override name="custRequestId" optional="false">
<type-validate>
<fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingCustRequestId"/>
@@ -855,9 +854,9 @@ under the License.
</type-validate>
</override>
</service>
- <service name="deleteWorkEffortRequestItem" engine="entity-auto" invoke="delete" auth="true">
+ <service name="deleteWorkEffortRequestItem" engine="entity-auto" default-entity-name="CustRequestItemWorkEffort" invoke="delete" auth="true">
<description>Deletes a CustRequestItemWorkEffort</description>
- <auto-attributes include="pk" mode="IN" optional="false" entity-name="CustRequestItemWorkEffort"/>
+ <auto-attributes include="pk" mode="IN" entity-name="CustRequestItemWorkEffort"/>
<override name="custRequestId" optional="false">
<type-validate>
<fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingCustRequestId"/>
@@ -920,11 +919,6 @@ under the License.
<fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingWorkEffortId"/>
</type-validate>
</override>
- <override name="requirementId" optional="false">
- <type-validate>
- <fail-property resource="WorkEffortUiLabels" property="WorkEffortRequiredFieldMissingRequirementId"/>
- </type-validate>
- </override>
</service>
<service name="deleteWorkRequirementFulfillment" engine="entity-auto" default-entity-name="WorkRequirementFulfillment" auth="true" invoke="delete">
<description>Deletes a WorkRequirementFulfillment</description>
diff --git a/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml b/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml
index e1ea05a..7c26fa4 100644
--- a/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml
+++ b/applications/workeffort/webapp/workeffort/WEB-INF/controller.xml
@@ -22,6 +22,7 @@ under the License.
xmlns="http://ofbiz.apache.org/Site-Conf" xsi:schemaLocation="http://ofbiz.apache.org/Site-Conf http://ofbiz.apache.org/dtds/site-conf.xsd">
<include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
<include location="component://commonext/webapp/WEB-INF/controller.xml"/>
+ <include location="component://workeffort/webapp/workeffort/WEB-INF/workeffort-controller.xml"/>
<include location="component://workeffort/webapp/workeffort/WEB-INF/icalendar-controller.xml"/>
<description>Work Manager Module Site Configuration File</description>
@@ -117,273 +118,27 @@ under the License.
<request-map uri="deleteWorkEffort">
<security https="true" auth="true"/>
<event type="service" invoke="deleteWorkEffort"/>
- <response name="success" type="view" value="FindWorkEffort"/>
- <response name="error" type="view" value="FindWorkEffort"/>
- </request-map>
-
- <request-map uri="ListWorkEffortFixedAssetAssigns">
- <security https="true" auth="true"/>
- <response name="success" type="view" value="ListWorkEffortFixedAssetAssigns"/>
- </request-map>
- <request-map uri="createWorkEffortFixedAssetAssign">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkEffortFixedAssetAssign"/>
- <response name="success" type="view" value="ListWorkEffortFixedAssetAssigns"/>
- <response name="error" type="view" value="ListWorkEffortFixedAssetAssigns"/>
- </request-map>
- <request-map uri="updateWorkEffortFixedAssetAssign">
- <security https="true" auth="true"/>
- <event type="service" invoke="updateWorkEffortFixedAssetAssign"/>
- <response name="success" type="view" value="ListWorkEffortFixedAssetAssigns"/>
- <response name="error" type="view" value="ListWorkEffortFixedAssetAssigns"/>
- </request-map>
- <request-map uri="deleteWorkEffortFixedAssetAssign">
- <security https="true" auth="true"/>
- <event type="service" invoke="removeWorkEffortFixedAssetAssign"/>
- <response name="success" type="view" value="ListWorkEffortFixedAssetAssigns"/>
- <response name="error" type="view" value="ListWorkEffortFixedAssetAssigns"/>
- </request-map>
- <request-map uri="ListWorkEffortPartyAssigns">
- <security https="true" auth="true"/>
- <response name="success" type="view" value="ListWorkEffortPartyAssigns"/>
- </request-map>
- <request-map uri="createWorkEffortPartyAssign">
- <security https="true" auth="true"/>
- <event type="service" invoke="assignPartyToWorkEffort"/>
- <response name="success" type="view-home" value="ListWorkEffortPartyAssigns"/>
- <response name="error" type="view-home" value="ListWorkEffortPartyAssigns"/>
- </request-map>
- <request-map uri="updateWorkEffortPartyAssign">
- <security https="true" auth="true"/>
- <event type="service" invoke="updatePartyToWorkEffortAssignment"/>
- <response name="success" type="view" value="ListWorkEffortPartyAssigns"/>
- <response name="error" type="view" value="ListWorkEffortPartyAssigns"/>
- </request-map>
- <request-map uri="deleteWorkEffortPartyAssign">
- <security https="true" auth="true"/>
- <event type="service" invoke="deletePartyToWorkEffortAssignment"/>
- <response name="success" type="view-home" value="ListWorkEffortPartyAssigns"/>
- <response name="error" type="view-home" value="ListWorkEffortPartyAssigns"/>
+ <response name="success" type="request" value="json"/>
+ <response name="error" type="request" value="json"/>
</request-map>
- <request-map uri="EditWorkEffortRates">
- <security https="true" auth="true"/>
- <response name="success" type="view" value="EditWorkEffortRates"/>
- </request-map>
- <request-map uri="updateWorkEffortRate">
- <security https="true" auth="true"/>
- <event type="service" invoke="updateRateAmount"/>
- <response name="success" type="view" value="EditWorkEffortRates"/>
- <response name="error" type="view" value="EditWorkEffortRates"/>
- </request-map>
- <request-map uri="deleteWorkEffortRate">
- <security https="true" auth="true"/>
- <event type="service" invoke="expireRateAmount"/>
- <response name="success" type="view" value="EditWorkEffortRates"/>
- <response name="error" type="view" value="EditWorkEffortRates"/>
- </request-map>
-
- <!-- WorkEffort CommunicationEvents requests -->
+ <!-- WorkEffort request mappings -->
+ <request-map uri="ListWorkEffortFixedAssetAssigns"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortFixedAssetAssigns"/></request-map>
+ <request-map uri="ListWorkEffortPartyAssigns"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortPartyAssigns"/></request-map>
+ <request-map uri="EditWorkEffortRates"><security https="true" auth="true"/><response name="success" type="view" value="EditWorkEffortRates"/></request-map>
<request-map uri="ListWorkEffortCommEvents"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortCommEvents"/></request-map>
- <request-map uri="createCommunicationEvent">
- <security https="true" auth="true"/>
- <event type="service" invoke="createCommunicationEventWorkEff"/>
- <response name="success" type="view" value="ListWorkEffortCommEvents"/>
- <response name="error" type="view" value="ListWorkEffortCommEvents"/>
- </request-map>
- <request-map uri="createWorkEffortCommEvent">
- <security https="true" auth="true"/>
- <event type="service" invoke="createCommunicationEventWorkEff"/>
- <response name="success" type="view" value="ListWorkEffortCommEvents"/>
- <response name="error" type="view" value="ListWorkEffortCommEvents"/>
- </request-map>
- <request-map uri="updateCommunicationEventWorkEff">
- <security https="true" auth="true"/>
- <event type="service" invoke="updateCommunicationEventWorkEff"/>
- <response name="success" type="view" value="ListWorkEffortCommEvents"/>
- <response name="error" type="view" value="ListWorkEffortCommEvents"/>
- </request-map>
- <request-map uri="deleteCommunicationEventWorkEff">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteCommunicationEventWorkEff"/>
- <response name="success" type="view" value="ListWorkEffortCommEvents"/>
- <response name="error" type="view" value="ListWorkEffortCommEvents"/>
- </request-map>
-
- <!-- WorkEffort CustRequest request mappings -->
<request-map uri="ListWorkEffortRequests"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortRequests"/></request-map>
- <request-map uri="createWorkEffortRequest">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkEffortRequest"/>
- <response name="success" type="view" value="ListWorkEffortRequests"/>
- <response name="error" type="view" value="ListWorkEffortRequests"/>
- </request-map>
- <request-map uri="deleteWorkEffortRequest">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteWorkEffortRequest"/>
- <response name="success" type="view" value="ListWorkEffortRequests"/>
- <response name="error" type="view" value="ListWorkEffortRequests"/>
- </request-map>
-
- <!-- WorkEffort CustRequestItem request mappings -->
- <request-map uri="createWorkEffortRequestItem">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkEffortRequestItemAndRequestItem"/>
- <response name="success" type="view" value="ListWorkEffortRequests"/>
- <response name="error" type="view" value="ListWorkEffortRequests"/>
- </request-map>
- <request-map uri="deleteWorkEffortRequestItem">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteWorkEffortRequestItem"/>
- <response name="success" type="view" value="ListWorkEffortRequests"/>
- <response name="error" type="view" value="ListWorkEffortRequests"/>
- </request-map>
-
- <!-- WorkEffort Quote request mappings -->
<request-map uri="ListWorkEffortQuotes"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortQuotes"/></request-map>
- <request-map uri="createWorkEffortQuote">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkEffortQuote"/>
- <response name="success" type="view" value="ListWorkEffortQuotes"/>
- <response name="error" type="view" value="ListWorkEffortQuotes"/>
- </request-map>
- <request-map uri="deleteWorkEffortQuote">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteWorkEffortQuote"/>
- <response name="success" type="view" value="ListWorkEffortQuotes"/>
- <response name="error" type="view" value="ListWorkEffortQuotes"/>
- </request-map>
-
- <!-- WorkEffort QuoteItem request mappings -->
- <request-map uri="createWorkEffortQuoteItem">
- <security https="true" auth="true"/>
- <event type="service" invoke="createQuoteItem"/>
- <response name="success" type="view" value="ListWorkEffortQuotes"/>
- <response name="error" type="view" value="ListWorkEffortQuotes"/>
- </request-map>
- <request-map uri="deleteWorkEffortQuoteItem">
- <security https="true" auth="true"/>
- <event type="service" invoke="removeQuoteItem"/>
- <response name="success" type="view" value="ListWorkEffortQuotes"/>
- <response name="error" type="view" value="ListWorkEffortQuotes"/>
- </request-map>
-
- <!-- WorkEffort Attribute request mappings -->
- <request-map uri="ListWorkEffortAttributes">
- <security https="true" auth="true"/>
- <response name="success" type="view" value="ListWorkEffortAttributes"/>
- </request-map>
- <request-map uri="createWorkEffortAttribute">
- <security https="true" auth="true"/>
- <event type="service" path="" invoke="createWorkEffortAttribute"/>
- <response name="success" type="view" value="ListWorkEffortAttributes"/>
- <response name="error" type="view" value="ListWorkEffortAttributes"/>
- </request-map>
- <request-map uri="updateWorkEffortAttribute">
- <security https="true" auth="true"/>
- <event type="service" path="" invoke="updateWorkEffortAttribute"/>
- <response name="success" type="view" value="ListWorkEffortAttributes"/>
- <response name="error" type="view" value="ListWorkEffortAttributes"/>
- </request-map>
- <request-map uri="deleteWorkEffortAttribute">
- <security https="true" auth="true"/>
- <event type="service" path="" invoke="deleteWorkEffortAttribute"/>
- <response name="success" type="view" value="ListWorkEffortAttributes"/>
- <response name="error" type="view" value="ListWorkEffortAttributes"/>
- </request-map>
-
- <!-- WorkEffort Requirement request mappings -->
+ <request-map uri="ListWorkEffortAttributes"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortAttributes"/></request-map>
<request-map uri="ListWorkEffortRequirements"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortRequirements"/></request-map>
- <request-map uri="createWorkEffortRequirement">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkRequirementFulfillment"/>
- <response name="success" type="view" value="ListWorkEffortRequirements"/>
- <response name="error" type="view" value="ListWorkEffortRequirements"/>
- </request-map>
- <request-map uri="deleteWorkEffortRequirement">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteWorkRequirementFulfillment"/>
- <response name="success" type="view" value="ListWorkEffortRequirements"/>
- <response name="error" type="view" value="ListWorkEffortRequirements"/>
- </request-map>
-
- <!-- WorkEffort ShopList request mappings -->
<request-map uri="ListWorkEffortShopLists"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortShopLists"/></request-map>
- <request-map uri="createShoppingListWorkEffort">
- <security https="true" auth="true"/>
- <event type="service" invoke="createShoppingListWorkEffort"/>
- <response name="success" type="view" value="ListWorkEffortShopLists"/>
- <response name="error" type="view" value="ListWorkEffortShopLists"/>
- </request-map>
- <request-map uri="deleteShoppingListWorkEffort">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteShoppingListWorkEffort"/>
- <response name="success" type="view" value="ListWorkEffortShopLists"/>
- <response name="error" type="view" value="ListWorkEffortShopLists"/>
- </request-map>
-
- <!-- WorkEffort OrderHeader request mappings -->
<request-map uri="ListWorkEffortOrderHeaders"><security https="true" auth="true"/><response name="success" type="view" value="ListWorkEffortOrderHeaders"/></request-map>
- <request-map uri="createWorkEffortOrderHeader">
- <security https="true" auth="true"/>
- <event type="service" invoke="createOrderHeaderWorkEffort"/>
- <response name="success" type="view" value="ListWorkEffortOrderHeaders"/>
- <response name="error" type="view" value="ListWorkEffortOrderHeaders"/>
- </request-map>
- <request-map uri="deleteWorkEffortOrderHeader">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteOrderHeaderWorkEffort"/>
- <response name="success" type="view" value="ListWorkEffortOrderHeaders"/>
- <response name="error" type="view" value="ListWorkEffortOrderHeaders"/>
- </request-map>
-
<request-map uri="EditWorkEffortTimeEntries"><security https="true" auth="true"/><response name="success" type="view" value="EditWorkEffortTimeEntries"/></request-map>
- <request-map uri="createWorkEffortTimeEntry">
- <security https="true" auth="true"/>
- <event type="service" invoke="createTimeEntry"/>
- <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
- <response name="error" type="view" value="EditWorkEffortTimeEntries"/>
- </request-map>
- <request-map uri="updateWorkEffortTimeEntry">
- <security https="true" auth="true"/>
- <event type="service" invoke="updateTimeEntry"/>
- <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
- <response name="error" type="view" value="EditWorkEffortTimeEntries"/>
- </request-map>
- <request-map uri="deleteWorkEffortTimeEntry">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteTimeEntry"/>
- <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
- <response name="error" type="view" value="EditWorkEffortTimeEntries"/>
- </request-map>
- <request-map uri="addWorkEffortTimeToInvoice">
- <security https="true" auth="true"/>
- <event type="service" invoke="addWorkEffortTimeToInvoice"/>
- <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
- <response name="error" type="view" value="EditWorkEffortTimeEntries"/>
- </request-map>
- <request-map uri="addWorkEffortTimeToNewInvoice">
- <security https="true" auth="true"/>
- <event type="service" invoke="addWorkEffortTimeToNewInvoice"/>
- <response name="success" type="view" value="EditWorkEffortTimeEntries"/>
- <response name="error" type="view" value="EditWorkEffortTimeEntries"/>
- </request-map>
-
+ <request-map uri="EditAgreementWorkEffortApplics"><security https="true" auth="true"/><response name="success" type="view" value="EditAgreementWorkEffortApplics"/></request-map>
+ <request-map uri="listWorkEffortEventReminders"><security auth="true" https="true"/><response name="success" type="view" value="ListWorkEffortEventReminders"/></request-map>
<!-- Timesheet Requests -->
<request-map uri="MyTimesheets"><security https="true" auth="true"/><response name="success" type="view" value="MyTimesheets"/></request-map>
- <request-map uri="createTimesheetForThisWeek">
- <security https="true" auth="true"/>
- <event type="service" invoke="createTimesheetForThisWeek"/>
- <response name="success" type="view" value="MyTimesheets"/>
- <response name="error" type="view" value="MyTimesheets"/>
- </request-map>
- <request-map uri="createQuickTimeEntry">
- <security https="true" auth="true"/>
- <event type="service" invoke="createTimeEntry"/>
- <response name="success" type="view" value="MyTimesheets"/>
- <response name="error" type="view" value="MyTimesheets"/>
- </request-map>
<request-map uri="FindTimesheet"><security https="true" auth="true"/><response name="success" type="view" value="FindTimesheet"/></request-map>
<request-map uri="EditTimesheet"><security https="true" auth="true"/><response name="success" type="view" value="EditTimesheet"/></request-map>
@@ -460,116 +215,26 @@ under the License.
<security https="true" auth="true"/>
<response name="success" type="view" value="EditWorkEffortNotes"/>
</request-map>
-
- <request-map uri="createWorkEffortNote">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkEffortNote"/>
- <response name="success" type="view" value="EditWorkEffortNotes"/>
- <response name="error" type="view" value="EditWorkEffortNotes"/>
- </request-map>
- <request-map uri="updateWorkEffortNote">
- <security https="true" auth="true"/>
- <event type="service" invoke="updateWorkEffortNote"/>
- <response name="success" type="view" value="EditWorkEffortNotes"/>
- <response name="error" type="view" value="EditWorkEffortNotes"/>
- </request-map>
-
- <!-- WorkEffort Content Requests -->
<request-map uri="EditWorkEffortContents">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditWorkEffortContents"/>
</request-map>
- <request-map uri="createWorkEffortContent">
- <security auth="true" https="true"/>
- <event type="service" invoke="createWorkEffortContent" path=""/>
- <response name="success" type="view" value="EditWorkEffortContents"/>
- <response name="error" type="view" value="EditWorkEffortContents"/>
- </request-map>
-
- <request-map uri="updateWorkEffortContent">
- <security auth="true" https="true"/>
- <event type="service" invoke="updateWorkEffortContent" path=""/>
- <response name="success" type="view" value="EditWorkEffortContents"/>
- <response name="error" type="view" value="EditWorkEffortContents"/>
- </request-map>
-
- <request-map uri="deleteWorkEffortContent">
- <security auth="true" https="true"/>
- <event type="service" invoke="deleteWorkEffortContent" path=""/>
- <response name="success" type="view" value="EditWorkEffortContents"/>
- <response name="error" type="view" value="EditWorkEffortContents"/>
- </request-map>
-
- <!-- WorkEffort Good Standard Requests -->
<request-map uri="EditWorkEffortGoodStandards">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditWorkEffortGoodStandards"/>
</request-map>
- <request-map uri="createWorkEffortGoodStandard">
- <security auth="true" https="true"/>
- <event type="service" invoke="createWorkEffortGoodStandard" path=""/>
- <response name="success" type="view" value="EditWorkEffortGoodStandards"/>
- <response name="error" type="view" value="EditWorkEffortGoodStandards"/>
- </request-map>
-
- <request-map uri="updateWorkEffortGoodStandard">
- <security auth="true" https="true"/>
- <event type="service" invoke="updateWorkEffortGoodStandard" path=""/>
- <response name="success" type="view" value="EditWorkEffortGoodStandards"/>
- <response name="error" type="view" value="EditWorkEffortGoodStandards"/>
- </request-map>
-
- <request-map uri="removeWorkEffortGoodStandard">
- <security auth="true" https="true"/>
- <event type="service" invoke="removeWorkEffortGoodStandard" path=""/>
- <response name="success" type="view" value="EditWorkEffortGoodStandards"/>
- <response name="error" type="view" value="EditWorkEffortGoodStandards"/>
- </request-map>
-
- <!-- WorkEffort Review -->
-
<request-map uri="EditWorkEffortReviews">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditWorkEffortReviews"/>
</request-map>
- <request-map uri="createWorkEffortReview">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkEffortReview"/>
- <response name="success" type="view" value="EditWorkEffortReviews"/>
- <response name="error" type="view" value="EditWorkEffortReviews"/>
- </request-map>
- <request-map uri="updateWorkEffortReview">
- <security https="true" auth="true"/>
- <event type="service" invoke="updateWorkEffortReview"/>
- <response name="success" type="view" value="EditWorkEffortReviews"/>
- <response name="error" type="view" value="EditWorkEffortReviews"/>
- </request-map>
- <request-map uri="deleteWorkEffortReview">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteWorkEffortReview"/>
- <response name="success" type="view" value="EditWorkEffortReviews"/>
- <response name="error" type="view" value="EditWorkEffortReviews"/>
- </request-map>
<!-- WorkEffort Keyword -->
<request-map uri="EditWorkEffortKeywords">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditWorkEffortKeywords"/>
</request-map>
- <request-map uri="createWorkEffortKeyword">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkEffortKeyword"/>
- <response name="success" type="view" value="EditWorkEffortKeywords"/>
- <response name="error" type="view" value="EditWorkEffortKeywords"/>
- </request-map>
- <request-map uri="deleteWorkEffortKeyword">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteWorkEffortKeyword"/>
- <response name="success" type="view" value="EditWorkEffortKeywords"/>
- <response name="error" type="view" value="EditWorkEffortKeywords"/>
- </request-map>
<request-map uri="createWorkEffortKeywords">
<security https="true" auth="true"/>
<event type="service" invoke="createWorkEffortKeywords"/>
@@ -650,48 +315,6 @@ under the License.
<request-map uri="LookupAgreement"><security https="true" auth="true"/><response name="success" type="view" value="LookupAgreement"/></request-map>
<request-map uri="LookupAgreementItem"><security auth="true" https="true"/><response name="success" type="view" value="LookupAgreementItem"/></request-map>
- <!--WorkEffort Agreements-->
- <request-map uri="EditAgreementWorkEffortApplics">
- <security https="true" auth="true"/>
- <response name="success" type="view" value="EditAgreementWorkEffortApplics"/>
- </request-map>
- <request-map uri="createAgreementWorkEffortApplic">
- <security https="true" auth="true"/>
- <event type="service" invoke="createAgreementWorkEffortApplic"/>
- <response name="success" type="view" value="EditAgreementWorkEffortApplics"/>
- <response name="error" type="view" value="EditAgreementWorkEffortApplics"/>
- </request-map>
- <request-map uri="deleteAgreementWorkEffortApplic">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteAgreementWorkEffortApplic"/>
- <response name="success" type="view" value="EditAgreementWorkEffortApplics"/>
- <response name="error" type="view" value="EditAgreementWorkEffortApplics"/>
- </request-map>
-
- <!--WorkEffort Event Reminders -->
- <request-map uri="createWorkEffortEventReminder">
- <security https="true" auth="true"/>
- <event type="service" invoke="createWorkEffortEventReminder"/>
- <response name="success" type="view" value="ListWorkEffortEventReminders"/>
- <response name="error" type="view" value="ListWorkEffortEventReminders"/>
- </request-map>
- <request-map uri="updateWorkEffortEventReminder">
- <security https="true" auth="true"/>
- <event type="service" invoke="updateWorkEffortEventReminder"/>
- <response name="success" type="view" value="ListWorkEffortEventReminders"/>
- <response name="error" type="view" value="ListWorkEffortEventReminders"/>
- </request-map>
- <request-map uri="deleteWorkEffortEventReminder">
- <security https="true" auth="true"/>
- <event type="service" invoke="deleteWorkEffortEventReminder"/>
- <response name="success" type="view" value="ListWorkEffortEventReminders"/>
- <response name="error" type="view" value="ListWorkEffortEventReminders"/>
- </request-map>
- <request-map uri="listWorkEffortEventReminders">
- <security auth="true" https="true"/>
- <response name="success" type="view" value="ListWorkEffortEventReminders"/>
- </request-map>
-
<!-- end of request mappings -->
<!-- View Mappings -->
@@ -708,6 +331,8 @@ under the License.
<view-map name="WorkEffortSummary" type="screen" page="component://workeffort/widget/WorkEffortRelatedSummaryScreens.xml#WorkEffortSummary"/>
<view-map name="FindWorkEffort" type="screen" page="component://workeffort/widget/WorkEffortScreens.xml#FindWorkEffort"/>
+ <view-map name="SearchWorkEffort" type="screen" page="component://workeffort/widget/WorkEffortScreens.xml#SearchWorkEffort"/>
+ <view-map name="FoundWorkEfforts" type="screen" page="component://workeffort/widget/WorkEffortScreens.xml#FoundWorkEfforts"/>
<view-map name="EditWorkEffort" type="screen" page="component://workeffort/widget/WorkEffortScreens.xml#EditWorkEffort"/>
<view-map name="ListWorkEfforts" type="screen" page="component://workeffort/widget/WorkEffortScreens.xml#ListWorkEfforts"/>
<view-map name="ChildWorkEfforts" type="screen" page="component://workeffort/widget/WorkEffortScreens.xml#ChildWorkEfforts"/>
diff --git a/applications/workeffort/webapp/workeffort/WEB-INF/workeffort-controller.xml b/applications/workeffort/webapp/workeffort/WEB-INF/workeffort-controller.xml
new file mode 100644
index 0000000..1a4a4ee
--- /dev/null
+++ b/applications/workeffort/webapp/workeffort/WEB-INF/workeffort-controller.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns="http://ofbiz.apache.org/Site-Conf" xsi:schemaLocation="http://ofbiz.apache.org/Site-Conf http://ofbiz.apache.org/dtds/site-conf.xsd">
+
+ <include location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortCommEventCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortContentsCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortNotesCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortOrdersCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortReviewsCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortShopListCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortContactMechCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortAgreementCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml"/>
+ <include location="component://workeffort/widget/workeffort/WorkEffortAttributeCpd.xml"/>
+
+ <description>List workEffort coumpound Files</description>
+</site-conf>
diff --git a/applications/workeffort/widget/CommonScreens.xml b/applications/workeffort/widget/CommonScreens.xml
index 2b28817..a56be31 100644
--- a/applications/workeffort/widget/CommonScreens.xml
+++ b/applications/workeffort/widget/CommonScreens.xml
@@ -185,6 +185,24 @@ under the License.
</section>
</screen>
+ <screen name="CommonEmbeddedDecorator">
+ <section>
+ <actions>
+ <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
+ <property-map resource="TemporalExpressionUiLabels" map-name="uiLabelMap" global="true"/>
+ </actions>
+ <widgets>
+ <include-screen name="EmbeddedDecorator" location="component://common/widget/CommonScreens.xml"/>
+ </widgets>
+ </section>
+ </screen>
+
<screen name="main">
<section>
<actions>
diff --git a/applications/workeffort/widget/WorkEffortForms.xml b/applications/workeffort/widget/WorkEffortForms.xml
index feae020..4bddb6e 100644
--- a/applications/workeffort/widget/WorkEffortForms.xml
+++ b/applications/workeffort/widget/WorkEffortForms.xml
@@ -186,7 +186,8 @@ under the License.
</sort-order>
</form>
- <form name="FindWorkEffort" default-map-name="parameters" target="FindWorkEffort" type="single">
+ <form name="FindWorkEffort" default-map-name="parameters" target="SearchWorkEffort"
+ extends="CommonDynamicSingle" extends-resource="component://common/widget/CommonForms.xml">
<field name="workEffortId" title="${uiLabelMap.WorkEffortWorkEffortId}"><text-find/></field>
<field name="workEffortParentId" position="2"><text-find/></field>
<field name="workEffortTypeId" title="${uiLabelMap.CommonType}">
@@ -264,7 +265,7 @@ under the License.
<field name="noteId"><ignored/></field>
<field name="noConditionFind"><hidden value="Y"/><!-- if this isn't there then with all fields empty no query will be done --></field>
- <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field>
+ <field name="searchButton" ><submit /></field>
</form>
<form name="ListLookupWorkEffort" target="" title="" list-name="listIt" type="list"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
@@ -400,34 +401,33 @@ under the License.
</sort-order>
</form>
- <form name="ListWorkEfforts" type="list" list-name="listIt" paginate-target="ListWorkEfforts"
- odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
+ <grid name="ListWorkEfforts" list-name="listIt" paginate-target="ListWorkEfforts"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
<actions>
<set field="fieldList" value="${groovy:['workEffortId','workEffortName','workEffortTypeId','currentStatusId','workEffortPurposeTypeId','description','priority','lastModifiedDate','estimatedStartDate','estimatedCompletionDate','actualStartDate','actualCompletionDate']}" type="List"/>
+ <set field="sortField" from-field="parameters.sortField" default-value="-lastModifiedDate"/>
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="parameters"/>
<field-map field-name="entityName" value="WorkEffortFindView"/>
<field-map field-name="fieldList" from-field="fieldList"/>
- <field-map field-name="orderBy" value="lastModifiedDate DESC"/>
- <field-map field-name="viewIndex" from-field="viewIndex"/>
- <field-map field-name="viewSize" from-field="viewSize"/>
+ <field-map field-name="orderBy" value="${sortField}"/>
<field-map field-name="distinct" value="Y"/>
</service>
</actions>
- <field name="workEffortId" title="${uiLabelMap.WorkEffortWorkEffortId}" widget-style="buttontext">
- <hyperlink description="${workEffortName} [${workEffortId}]" target="EditWorkEffort" also-hidden="false">
+ <field name="workEffortId" title="${uiLabelMap.WorkEffortWorkEffortId}" sort-field="true">
+ <hyperlink description="[${workEffortId}] ${workEffortName}" target="EditWorkEffort" also-hidden="false">
<parameter param-name="workEffortId"/>
</hyperlink>
</field>
- <field name="workEffortTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="WorkEffortType"/></field>
- <field name="currentStatusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
- <field name="workEffortPurposeTypeId" title="${uiLabelMap.CommonPurpose}"><display-entity entity-name="WorkEffortPurposeType"/></field>
+ <field name="workEffortTypeId" title="${uiLabelMap.CommonType}" sort-field="true"><display-entity entity-name="WorkEffortType"/></field>
+ <field name="currentStatusId" title="${uiLabelMap.CommonStatus}" sort-field="true"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
+ <field name="workEffortPurposeTypeId" title="${uiLabelMap.CommonPurpose}" sort-field="true"><display-entity entity-name="WorkEffortPurposeType"/></field>
<field name="description"><display/></field>
- <field name="priority"><display/></field>
- <field name="estimatedStartDate"><display type="date"/></field>
- <field name="estimatedCompletionDate"><display type="date"/></field>
- <field name="actualStartDate"><display type="date"/></field>
- <field name="actualCompletionDate"><display type="date"/></field>
+ <field name="priority" sort-field="true"><display/></field>
+ <field name="estimatedStartDate" sort-field="true"><display type="date"/></field>
+ <field name="estimatedCompletionDate" sort-field="true"><display type="date"/></field>
+ <field name="actualStartDate" sort-field="true"><display type="date"/></field>
+ <field name="actualCompletionDate" sort-field="true"><display type="date"/></field>
<!-- These links have been commented because they are (partially or totally) broken
<field name="editLink" title=" " widget-style="linktext">
<hyperlink description="${uiLabelMap.CommonEdit}" target="EditWorkEffort" also-hidden="false">
@@ -448,14 +448,16 @@ under the License.
</hyperlink>
</field>
-->
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffort" also-hidden="false">
- <parameter param-name="workEffortId"/>
- </hyperlink>
+ <field name="deleteLink" title=" ">
+ <include-menu name="ListWorkEffortMenuBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
</field>
- </form>
+ </grid>
- <form name="FoundWorkEfforts" extends="ListWorkEfforts" paginate-target="FindWorkEffort" header-row-style="header-row-2"/>
+ <grid name="FoundWorkEfforts" extends="ListWorkEfforts" paginate-target="FoundWorkEfforts">
+ <field name="deleteLink" title=" ">
+ <include-menu name="FoundWorkEffortInLineBar" location="component://workeffort/widget/WorkEffortMenus.xml"/>
+ </field>
+ </grid>
<form name="WorkEffortTreeLine" hide-header="true" target="ListWorkEfforts" title="" type="list" list-name="listIt"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
@@ -478,63 +480,6 @@ under the License.
</field>
</form>
- <form name="EditWorkEffortParty" default-map-name="workEffortParty" target="updateWorkEffortParty" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <alt-target target="createWorkEffortParty" use-when="workEffortParty==null"/>
- <field name="workEffortId"><hidden/></field>
- <field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
- <field name="fromDate"><date-time/></field>
- <field name="thruDate"><date-time/></field>
- <field name="statusId">
- <drop-down no-current-selected-key="CLPT_PENDING">
- <entity-options entity-name="StatusItem">
- <entity-constraint name="statusTypeId" operator="equals" value="CONTACTLST_PARTY"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="preferredContactMechId"><lookup target-form-name="LookupPreferredContactMech" target-parameter="partyId"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="buttontext"><submit button-type="text-link"/></field>
- </form>
- <form name="FindWorkEffortParties" target="ListWorkEffortParties" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><text-find/></field>
- <field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
- <field name="fromDate"><date-find/></field>
- <field name="thruDate"><date-find/></field>
- <field name="statusId"><drop-down><entity-options description="description" entity-name="StatusItem">
- <entity-constraint name="statusTypeId" operator="equals" value="CONTACTLST_PARTY"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="preferredContactMechId"><lookup target-form-name="LookupPreferredContactMech" target-parameter="partyId"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field>
- </form>
- <form name="ListWorkEffortParties" list-name="listIt" title="" type="list"
- odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
- <actions>
- <service result-map-list="listIt" result-map="result" service-name="performFind">
- <field-map field-name="inputFields" from-field="parameters"/>
- <field-map field-name="entityName" from-field="entityName"/>
- <field-map field-name="viewIndex" from-field="viewIndex"/>
- <field-map field-name="viewSize" from-field="viewSize"/>
- </service>
- </actions>
- <field name="workEffortId"><display/></field>
- <field name="partyId"><display-entity description="${firstName} ${lastName} ${groupName} [${partyId}]" entity-name="PartyNameView"/></field>
- <field name="fromDate"><display/></field>
- <field name="thruDate"><display/></field>
- <field name="statusId"><display-entity entity-name="StatusItem"/></field>
- <field name="preferredContactMechId"><display/></field>
- <field name="editLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonEdit}" target="EditWorkEffortParty" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="partyId"/>
- <parameter param-name="fromDate"/>
- </hyperlink>
- </field>
- </form>
<form name="DisplayWorkEffortPartyAssigns" type="list" list-name="partyAssignments"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
<field name="partyId" title="${uiLabelMap.PartyParty}">
@@ -550,144 +495,6 @@ under the License.
<field name="assignmentStatusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
<field name="expectationEnumId" title="${uiLabelMap.WorkEffortExpectation}"><display-entity entity-name="Enumeration" key-field-name="enumId"/></field>
</form>
- <form name="EditWorkEffortCommEvent" default-map-name="workEffortCommEvent" target="updateWorkEffortCommEvent" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <alt-target target="createWorkEffortCommEvent" use-when="communicationEvent==null"/>
- <field name="communicationEventId" use-when="communicationEvent!=null"><display/></field>
- <field name="communicationEventTypeId">
- <drop-down>
- <entity-options entity-name="CommunicationEventType">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
-
- <field name="partyIdFrom" title="${uiLabelMap.PartyPartyId} ${uiLabelMap.CommonFrom}"><lookup target-form-name="LookupPartyName"/></field>
- <field name="partyIdTo" title="${uiLabelMap.PartyPartyId} ${uiLabelMap.CommonTo}"><lookup target-form-name="LookupPartyName"/></field>
- <field name="statusId" use-when="communicationEvent==null" title="${uiLabelMap.CommonStatus}">
- <drop-down>
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" operator="equals" value="COM_EVENT_STATUS"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="statusId" use-when="communicationEvent!=null" title="${uiLabelMap.CommonStatus}">
- <drop-down allow-empty="false" current="first-in-list" current-description="${currentStatus.description}">
- <entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})">
- <entity-constraint name="statusId" value="${communicationEvent.statusId}"/>
- <entity-order-by field-name="sequenceId"/>
- </entity-options>
- </drop-down>
- </field>
-
- <field name="contactMechTypeId" use-when="commEventContactMechType!=null&&parentCommEventContactMechType==null">
- <drop-down>
- <entity-options entity-name="ContactMechType" key-field-name="contactMechTypeId">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="contactMechTypeId" use-when="commEventContactMechType==null&&parentCommEventContactMechType!=null">
- <drop-down>
- <entity-options entity-name="ContactMechType" key-field-name="contactMechTypeId">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="contactMechTypeId" use-when="commEventContactMechType==null&&parentCommEventContactMechType==null">
- <drop-down>
- <entity-options entity-name="ContactMechType" key-field-name="contactMechTypeId">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
-
- <field name="roleTypeIdFrom" use-when="commEventRoleTypeIdFrom!=null">
- <drop-down>
- <entity-options entity-name="RoleType" key-field-name="roleTypeId">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="roleTypeIdTo" use-when="commEventRoleTypeIdTo!=null">
- <drop-down>
- <entity-options entity-name="RoleType" key-field-name="roleTypeId">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
-
-<!--
- <field name="custRequestId">
- <lookup size="20" target-form-name="LookupCustRequest">
- <sub-hyperlink target="/ordermgr/control/EditRequest" target-type="inter-app" link-style="buttontext">
- <parameter param-name="custRequestId" from-field="communicationEvent.custRequestId"/>
- </sub-hyperlink>
- </lookup>
- </field>
--->
- <field name="workEffortId">
- <lookup size="20" target-form-name="LookupWorkEffort">
- <sub-hyperlink target="/marketing/control/EditWorkEffort" target-type="inter-app" link-style="buttontext">
- <parameter param-name="workEffortId" from-field="communicationEvent.workEffortId"/>
- </sub-hyperlink>
- </lookup>
- </field>
- <field name="datetimeStarted" title="${uiLabelMap.CommonStartDate}"><date-time/></field>
- <field name="datetimeEnded" title="${uiLabelMap.CommonFinishDate}"><date-time/></field>
- <field name="subject"><text size="30"/></field>
- <field name="note" title="${uiLabelMap.CommonNote}"><textarea cols="60" rows="3"/></field>
- <field name="content" title="${uiLabelMap.CommonContent}"><textarea cols="60" rows="10"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field>
- <field name="cancelLink" title=" " widget-style="buttontext"><hyperlink description="${uiLabelMap.CommonCancelDone}" target="${donePage}" also-hidden="false"/></field>
- </form>
- <form name="FindWorkEffortCommEvents" default-map-name="workEffortCommEvent" target="ListWorkEffortCommEvents" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="commEventId" title="${uiLabelMap.FormFieldTitle_communicationEventId}"><lookup target-form-name="LookupCommEvent"/></field>
- <field name="fromDate"><date-find/></field>
- <field name="thruDate"><date-find/></field>
- <field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="buttontext"><submit button-type="text-link"/></field>
- </form>
- <form name="ListWorkEffortCommEvents" default-map-name="workEffortCommEvent" title="" list-name="listIt" type="list"
- odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
- <actions>
- <service result-map-list="listIt" result-map="result" service-name="performFind">
- <field-map field-name="inputFields" from-field="requestParameters"/>
- <field-map field-name="entityName" from-field="entityName"/>
- <field-map field-name="viewIndex" from-field="viewIndex"/>
- <field-map field-name="viewSize" from-field="viewSize"/>
- </service>
- </actions>
- <field name="communicationEventId">
- <hyperlink description="${communicationEventId}" target="EditWorkEffortCommEvent" target-type="intra-app">
- <parameter param-name="communicationEventId"/>
- <parameter param-name="DONE_PAGE" from-field="donePage"/>
- </hyperlink>
- </field>
- <field name="partyIdFrom" title="${uiLabelMap.PartyPartyId} ${uiLabelMap.CommonFrom}">
- <display-entity description="${firstName} ${lastName} ${groupName} [${partyId}]" entity-name="PartyNameView" key-field-name="partyId"/>
- </field>
- <field name="partyIdTo" title="${uiLabelMap.PartyPartyId} ${uiLabelMap.CommonTo}">
- <display-entity description="${firstName} ${lastName} ${groupName} [${partyId}]" entity-name="PartyNameView" key-field-name="partyId"/>
- </field>
- <field name="statusId">
- <display-entity entity-name="StatusItem" key-field-name="statusId"/>
- </field>
- <field name="contactMechTypeId">
- <display-entity entity-name="ContactMechType" key-field-name="contactMechTypeId"/>
- </field>
- <field name="roleTypeIdFrom">
- <display-entity entity-name="RoleType" key-field-name="roleTypeId"/>
- </field>
- <field name="roleTypeIdTo">
- <display-entity entity-name="RoleType" key-field-name="roleTypeId"/>
- </field>
- <field name="custReqestId" position="1"><text size="20"/></field>
- <field name="datetimeStarted" title="${uiLabelMap.CommonStartDate}"><display/></field>
- <field name="datetimeEnded" title="${uiLabelMap.CommonFinishDate}"><display/></field>
- <field map-name="subjectMap" name="subject"><text size="30"/></field>
- </form>
<form name="ListPreferredContactMech" target="" title="" type="list"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
@@ -770,629 +577,6 @@ under the License.
<field name="datetimeEnded" title="${uiLabelMap.CommonFinishDate}"><display/></field>
</form>
- <!-- WorkEffortRate -->
- <form name="ListWorkEffortRates" type="list" list-name="workEffortRates" target="deleteWorkEffortRate"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-condition entity-name="RateAmount" filter-by-date="true">
- <condition-expr field-name="workEffortId" from-field="workEffortId"/>
- <order-by field-name="rateTypeId"/>
- <order-by field-name="periodTypeId"/>
- <order-by field-name="rateCurrencyUomId"/>
- </entity-condition>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="fromDate"><hidden/></field>
- <field name="rateCurrencyUomId"><hidden/></field>
- <field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}"><display-entity entity-name="RateType"/></field>
- <field name="rateAmount"><display type="currency" currency="${rateCurrencyUomId}"/></field>
- <field name="periodTypeId"><display-entity entity-name="PeriodType"/></field>
- <field name="deleteButton" widget-style="smallSubmit"><submit /></field>
- </form>
- <form name="AddWorkEffortRate" type="single" target="updateWorkEffortRate" title=""
- header-row-style="header-row" default-table-style="basic-table">
- <actions>
- <property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
- <set field="periodTypeId" value="RATE_HOUR"/>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}">
- <drop-down no-current-selected-key="STANDARD">
- <entity-options entity-name="RateType">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="periodTypeId" position="2">
- <drop-down>
- <entity-options entity-name="PeriodType">
- <entity-constraint name="periodTypeId" operator="like" value="RATE_%"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="rateAmount" tooltip="${uiLabelMap.WorkEffortOverrideDefaultRateAmount}"><text/></field>
- <field name="rateCurrencyUomId" position="2">
- <drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}">
- <entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom">
- <entity-constraint name="uomTypeId" operator="equals" value="CURRENCY_MEASURE"/>
- <entity-order-by field-name="abbreviation"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-
- <!-- TimeEntry -->
- <form name="ListWorkEffortTimeEntries" type="list" list-name="timesheetEntries" target="updateWorkEffortTimeEntry"
- header-row-style="header-row-2" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
- <actions>
- <entity-condition entity-name="TimeEntry">
- <condition-expr field-name="workEffortId" from-field="workEffortId"/>
- <order-by field-name="timesheetId"/>
- <order-by field-name="partyId"/>
- <order-by field-name="rateTypeId"/>
- <order-by field-name="-fromDate"/>
- </entity-condition>
- </actions>
- <field name="timeEntryId"><hidden/></field>
- <field name="timesheetId">
- <lookup size="10" target-form-name="LookupTimesheet">
- <sub-hyperlink target="EditTimesheet" link-style="buttontext" description="${uiLabelMap.WorkEffortTimesheet}:${timesheetId}">
- <parameter param-name="timesheetId"/>
- </sub-hyperlink>
- </lookup>
- </field>
-
- <field name="partyId" title="${uiLabelMap.PartyParty}"><lookup size="12" target-form-name="LookupPartyName" default-value="${timesheet.partyId}"/></field>
- <field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}">
- <drop-down no-current-selected-key="STANDARD">
- <entity-options entity-name="RateType">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
-
- <field name="workEffortId"><hidden/></field>
-
- <field name="invoiceId"><ignored/><!-- don't pass, will be populated when this is added to an invoice later --></field>
- <field name="invoiceItemSeqId"><ignored/><!-- don't pass, will be populated when this is added to an invoice later --></field>
- <field name="invoiceInfo"><display description="${invoiceId}:${invoiceItemSeqId}" also-hidden="false"/></field>
-
- <field name="comments"><text size="60"/></field>
-
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
-
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortTimeEntry" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="timeEntryId"/>
- </hyperlink>
- </field>
- </form>
- <form name="AddWorkEffortTimeEntry" type="single" target="createWorkEffortTimeEntry" title=""
- header-row-style="header-row" default-table-style="basic-table">
- <auto-fields-service service-name="createTimeEntry"/>
-
- <field name="timeEntryId"><ignored/><!-- don't pass, will be sequenced --></field>
- <field name="timesheetId"><lookup size="10" target-form-name="LookupTimesheet"/></field>
-
- <field name="partyId" title="${uiLabelMap.PartyParty}"><lookup target-form-name="LookupPartyName" default-value="${timesheet.partyId}"/></field>
- <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field>
- <field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}">
- <drop-down no-current-selected-key="STANDARD">
- <entity-options entity-name="RateType">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
-
- <field name="workEffortId"><hidden/></field>
-
- <field name="invoiceId"><ignored/><!-- don't pass, will be populated when this is added to an invoice later --></field>
- <field name="invoiceItemSeqId"><ignored/><!-- don't pass, will be populated when this is added to an invoice later --></field>
-
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="AddWorkEffortTimeToInvoice" target="addWorkEffortTimeToInvoice" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="invoiceId"><lookup target-form-name="LookupInvoice"/></field>
- <field name="submitButton" title="${uiLabelMap.PageTitleAddWorkEffortTimeToInvoice}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="AddWorkEffortTimeToNewInvoice" target="addWorkEffortTimeToNewInvoice" title="" type="single">
- <field name="combineInvoiceItem"><hidden value="Y"/></field>
- <field name="workEffortId"><hidden/></field>
- <field name="partyIdFrom" title="${uiLabelMap.WorkEffortTimeBillFromParty}"><lookup target-form-name="LookupPartyName"/></field>
- <field name="partyId" title="${uiLabelMap.WorkEffortTimeBillToParty}"><lookup target-form-name="LookupPartyName" default-value="${timesheet.clientPartyId}"/></field>
- <field name="submitButton" title="${uiLabelMap.PageTitleAddWorkEffortTimeToNewInvoice}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-
- <!-- WorkEffort Attribute -->
- <form name="ListWorkEffortAttributes" target="updateWorkEffortAttribute"
- type="list" header-row-style="header-row-2" odd-row-style="alternate-row"
- default-table-style="basic-table hover-bar">
- <actions>
- <entity-condition entity-name="WorkEffortAttribute">
- <condition-expr field-name="workEffortId" from-field="workEffortId"/>
- </entity-condition>
- </actions>
- <auto-fields-service service-name="updateWorkEffortAttribute" map-name="updateWorkEffortAttribute"/>
- <field name="workEffortId"><hidden/></field>
- <field name="attrName"><display/></field>
- <field name="attrValue"><text/></field>
- <field name="updateButton"><submit/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortAttribute" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="attrName"/>
- </hyperlink>
- </field>
- </form>
- <form name="EditWorkEffortAttribute" type="single"
- default-map-name="workEffortAttribute" target="createWorkEffortAttribute"
- title="" header-row-style="header-row" default-table-style="basic-table">
- <auto-fields-service service-name="createWorkEffortAttribute"/>
- <field name="workEffortId"><hidden/></field>
- <field name="createButton"><submit/></field>
- </form>
-
- <!-- WorkEffort Note -->
- <form name="ListWorkEffortNotes" type="list" list-name="workEffortNotes"
- header-row-style="header-row-2" odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
- <actions>
- <entity-condition entity-name="WorkEffortNoteAndData">
- <condition-expr field-name="workEffortId" from-field="workEffortId"/>
- <order-by field-name="noteId"/>
- </entity-condition>
- </actions>
- <field name="noteId">
- <hyperlink description="${noteId}" target="EditWorkEffortNotes" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="noteId"/>
- </hyperlink>
- </field>
- <field name="workEffortId" entity-name="WorkEffort" widget-style="buttontext">
- <hyperlink description="${workEffortId}" target="EditWorkEffort" also-hidden="false">
- <parameter param-name="workEffortId"/>
- </hyperlink>
- </field>
- <field name="noteInfo" title="${uiLabelMap.CommonNote}"><display/></field>
- <field name="noteParty" title="${uiLabelMap.CommonBy}"><display description="${groovy:org.apache.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${noteDateTime}"/></field>
- <field name="internalNote" title="${uiLabelMap.WorkEffortPrivatePublic}" widget-style="buttontext" use-when=""N".equals(internalNote)">
- <hyperlink description="${uiLabelMap.OrderNotesPrivate}" target="updateWorkEffortNote">
- <parameter param-name="workEffortId"/>
- <parameter param-name="noteId"/>
- <parameter param-name="internalNote" value="Y"/>
- </hyperlink>
- </field>
- <field name="internalNote" title="${uiLabelMap.WorkEffortPrivatePublic}" widget-style="buttontext" use-when=""Y".equals(internalNote)">
- <hyperlink description="${uiLabelMap.OrderNotesPublic}" target="updateWorkEffortNote">
- <parameter param-name="workEffortId"/>
- <parameter param-name="noteId"/>
- <parameter param-name="internalNote" value="N"/>
- </hyperlink>
- </field>
- </form>
-
- <form name="AddWorkEffortNote" type="single" target="updateWorkEffortNote" title="" default-map-name="workEffortNoteAndData"
- header-row-style="header-row" default-table-style="basic-table">
- <alt-target use-when="noteId == null" target="createWorkEffortNote"/>
- <auto-fields-service service-name="createWorkEffortNote"/>
- <field name="noteId" use-when="noteId != null"><hidden/></field>
- <field name="workEffortId"><hidden/></field>
- <field name="noteInfo" title="${uiLabelMap.CommonNote}"><textarea cols="70" rows="5"/></field>
- <field name="internalNote" title="${uiLabelMap.WorkEffortInternalNote}">
- <drop-down no-current-selected-key="">
- <option key="Y" description="${uiLabelMap.CommonYes}"/>
- <option key="N" description="${uiLabelMap.CommonNo}"/>
- </drop-down>
- </field>
- <field name="noteParty"><hidden/></field>
- <field name="noteName"><hidden/></field>
- <field name="submitButton" use-when="noteId == null" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- <field name="submitButton" use-when="noteId != null" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-
- <!-- WorkEffortContent forms -->
- <form name="AddWorkEffortContent" target="createWorkEffortContent" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <auto-fields-service service-name="createWorkEffortContent"/>
- <field name="workEffortId"><hidden value="${parameters.workEffortId}"/></field>
- <field name="contentId">
- <lookup target-form-name="LookupContent"/>
- </field>
- <field name="workEffortContentTypeId">
- <drop-down no-current-selected-key="">
- <entity-options entity-name="WorkEffortContentType" key-field-name="workEffortContentTypeId">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="ListWorkEffortContents" type="list" target="updateWorkEffortContent" list-name="workEffortContents"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortContent" use-cache="true" list="workEffortContents">
- <field-map field-name="workEffortId" from-field="workEffortId"/>
- </entity-and>
- </actions>
- <auto-fields-service service-name="updateWorkEffortContent" default-field-type="edit"/>
- <field name="workEffortId"><hidden/></field>
- <field name="contentId">
- <display-entity entity-name="Content" key-field-name="contentId" description="${contentName}" also-hidden="true">
- <sub-hyperlink target="/content/control/editContent" description="${contentId}" link-style="buttontext" target-type="inter-app">
- <parameter param-name="contentId"/>
- </sub-hyperlink>
- </display-entity>
- </field>
- <field name="workEffortContentTypeId"><display-entity entity-name="WorkEffortContentType"/></field>
- <field name="fromDate"><display/></field>
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortContent" also-hidden="false">
- <parameter param-name="workEffortContentTypeId"/>
- <parameter param-name="fromDate"/>
- <parameter param-name="workEffortId"/>
- <parameter param-name="contentId"/>
- </hyperlink>
- </field>
- </form>
-
- <!-- WorkEffort Good Standard forms -->
- <form name="AddWorkEffortGoodStandard" target="createWorkEffortGoodStandard" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <auto-fields-service service-name="createWorkEffortGoodStandard"/>
- <field name="workEffortId"><hidden value="${parameters.workEffortId}"/></field>
- <field name="productId">
- <lookup target-form-name="LookupProduct"/>
- </field>
- <field name="workEffortGoodStdTypeId">
- <drop-down no-current-selected-key="">
- <entity-options entity-name="WorkEffortGoodStandardType" key-field-name="workEffortGoodStdTypeId">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field>
- <field name="statusId" title="${uiLabelMap.CommonStatus}">
- <drop-down allow-empty="true">
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" value="WEFG_STATUS"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="ListWorkEffortGoodStandards" type="list" target="updateWorkEffortGoodStandard" list-name="workEffortGoodStandards"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortGoodStandard" use-cache="true" list="workEffortGoodStandards">
- <field-map field-name="workEffortId" from-field="workEffortId"/>
- </entity-and>
- </actions>
- <auto-fields-service service-name="updateWorkEffortGoodStandard" default-field-type="edit"/>
- <field name="workEffortId"><hidden/></field>
- <field name="workEffortGoodStdTypeId"><display-entity entity-name="WorkEffortGoodStandardType"/></field>
- <field name="productId">
- <display-entity entity-name="Product" key-field-name="productId" description="${productName}" also-hidden="true">
- <sub-hyperlink target="/catalog/control/EditProduct" description="${productId}" link-style="buttontext" target-type="inter-app">
- <parameter param-name="productId"/>
- </sub-hyperlink>
- </display-entity>
- </field>
- <field name="fromDate"><display/></field>
- <field name="statusId" title="${uiLabelMap.CommonStatus}">
- <drop-down allow-empty="true">
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" value="WEFG_STATUS"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="removeWorkEffortGoodStandard" also-hidden="false">
- <parameter param-name="workEffortGoodStdTypeId"/>
- <parameter param-name="productId"/>
- <parameter param-name="fromDate"/>
- <parameter param-name="workEffortId"/>
- </hyperlink>
- </field>
- </form>
-
- <!-- WorkEffort Reviews -->
- <form name="AddWorkEffortReview" target="createWorkEffortReview" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <auto-fields-service service-name="createWorkEffortReview"/>
- <field name="workEffortId"><hidden value="${parameters.workEffortId}"/></field>
- <field name="userLoginId">
- <lookup target-form-name="LookupPartyAndUserLoginAndPerson" default-value="${defaultUserLoginId}"/>
- </field>
- <field name="reviewDate"><date-time/></field>
- <field name="statusId" title="${uiLabelMap.CommonStatus}*" position="1">
- <drop-down>
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" value="WEFF_REVIEW_STTS"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="reviewText"><textarea rows="5" cols="60"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="ListWorkEffortReviews" type="list" target="updateWorkEffortReview" list-name="workEffortReviews" separate-columns="true"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortReview" use-cache="true" list="workEffortReviews">
- <field-map field-name="workEffortId" from-field="workEffortId"/>
- </entity-and>
- </actions>
- <auto-fields-service service-name="updateWorkEffortReview" default-field-type="edit"/>
- <field name="workEffortId" widget-style="buttontext"><hidden/></field>
- <field name="userLoginId" widget-style="buttontext">
- <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}" also-hidden="true">
- <sub-hyperlink target="/partymgr/control/viewprofile" description="${userLoginId}" link-style="buttontext" target-type="inter-app">
- <parameter param-name="partyId"/>
- </sub-hyperlink>
- </display-entity>
- </field>
- <field name="reviewDate"><display/></field>
- <field name="statusId" title="${uiLabelMap.CommonStatus}*">
- <drop-down>
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" value="WEFF_REVIEW_STTS"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortReview" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="userLoginId"/>
- <parameter param-name="reviewDate"/>
- </hyperlink>
- </field>
- </form>
- <!-- WorkEffortKeyword forms -->
- <form name="AddWorkEffortKeyword" target="createWorkEffortKeyword" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <auto-fields-service service-name="createWorkEffortKeyword"/>
- <field name="workEffortId"><hidden value="${parameters.workEffortId}"/></field>
- <field name="keyword" title="${uiLabelMap.WorkEffortKeyword}*"><text size="10"/></field>
- <field name="relevancyWeight" title="${uiLabelMap.ProductWeight}"><text size="5"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="ListWorkEffortKeywords" type="list" target="" list-name="workEffortkeywords"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortKeyword" use-cache="true" list="workEffortkeywords">
- <field-map field-name="workEffortId" from-field="workEffortId"/>
- </entity-and>
- </actions>
- <field name="workEffortId" widget-style="buttontext"><hidden/></field>
- <field name="keyword" title="${uiLabelMap.WorkEffortKeywords}" ><display/></field>
- <field name="relevancyWeight"><display/></field>
- <field name="deleteLink" title="${uiLabelMap.ProductDeleteAllKeywords}" widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortKeyword" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="keyword"/>
- </hyperlink>
- </field>
- </form>
-
- <!-- WorkEffortKeyword forms -->
- <form name="AddWorkEffortContactMech" target="createWorkEffortContactMech" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden value="${parameters.workEffortId}"/></field>
- <field name="contactMechId"><lookup target-form-name="LookupContactMech"/></field>
- <field name="contactMechTypeId" event="onchange" action="javascript:ajaxUpdateAreas('contactMechContainer,ContactMechTypeOnly,contactMechTypeId=' + this.value);">
- <drop-down>
- <option key="" description="${uiLabelMap.CommonNone}"/>
- <entity-options entity-name="ContactMechType" key-field-name="contactMechTypeId"/>
- </drop-down>
- </field>
- <field name="comments"><text size="50"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field>
- </form>
- <form name="ListWorkEffortContactMechs" type="list" target="" list-name="workEffortContactMechs"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortContactMech" list="workEffortContactMechs">
- <field-map field-name="workEffortId" from-field="workEffortId"/>
- </entity-and>
- </actions>
- <row-actions>
- <entity-one entity-name="ContactMech" value-field="contactMech"/>
- <set field="contactMechTypeId" from-field="contactMech.contactMechTypeId"/>
- <entity-one entity-name="PostalAddress" value-field="postalAddress"/>
- <entity-one entity-name="TelecomNumber" value-field="telecomNumber"/>
- </row-actions>
- <field name="workEffortId"><hidden/></field>
- <field name="contactMechTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="ContactMechType"/></field>
- <field name="contactMechId" use-when="telecomNumber != null" title="${uiLabelMap.CommonDescription}"><display description="${telecomNumber.contryCode} ${telecomNumber.areaCode} ${telecomNumber.contactNumber} ${telecomNumber.askForName}"/></field>
- <field name="contactMechId" use-when="postalAddress != null" title="${uiLabelMap.CommonDescription}"><display description="${postalAddress.address1} ${postalAddress.address2} ${postalAddress.city} ${postalAddress.stateProvinceGeoId} ${postalAddress.postalCode} ${postalAddress.countryGeoId} "/></field>
- <field name="contactMechId" use-when="telecomNumber == null && postalAddress == null" title="${uiLabelMap.CommonDescription}"><display description="${contactMech.infoString}"/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortContactMech" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="contactMechId"/>
- <parameter param-name="fromDate"/>
- </hyperlink>
- </field>
- </form>
- <!-- Agreement WorkEffort Appl-->
- <form name="AddAgreementWorkEffortApplic" target="createAgreementWorkEffortApplic" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden value="${parameters.workEffortId}"/></field>
- <field name="agreementId">
- <lookup target-form-name="LookupAgreement"/>
- </field>
- <field name="agreementItemSeqId">
- <lookup target-form-name="LookupAgreementItem"/>
- </field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="ListAgreementWorkEffortApplics" type="list" target="updateAgreementWorkEffortApplic" list-name="agreementWorkEffortApplics"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="AgreementWorkEffortApplic" use-cache="true" list="agreementWorkEffortApplics">
- <field-map field-name="workEffortId" from-field="workEffortId"/>
- </entity-and>
- </actions>
- <field name="agreementId">
- <display-entity entity-name="Agreement" key-field-name="agreementId" also-hidden="true">
- <sub-hyperlink target="/accounting/control/EditAgreement" description="${agreementId}" link-style="buttontext" target-type="inter-app">
- <parameter param-name="agreementId"/>
- </sub-hyperlink>
- </display-entity>
- </field>
- <field name="agreementItemSeqId"><display/></field>
- <field name="workEffortId"><display/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteAgreementWorkEffortApplic" also-hidden="false">
- <parameter param-name="agreementId"/>
- <parameter param-name="agreementItemSeqId"/>
- <parameter param-name="workEffortId"/>
- </hyperlink>
- </field>
- </form>
-
- <form name="ListWorkEffortFixedAssetAssigns" type="list" target="updateWorkEffortFixedAssetAssign"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-condition entity-name="WorkEffortFixedAssetAssign" filter-by-date="true">
- <condition-expr field-name="workEffortId" operator="equals" from-field="workEffortId"/>
- <order-by field-name="-fromDate"/>
- </entity-condition>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="fixedAssetId" title="${uiLabelMap.AccountingFixedAsset}">
- <display-entity entity-name="FixedAsset" description="${fixedAssetName}">
- <sub-hyperlink target="/accounting/control/EditFixedAsset" target-type="inter-app" description="${fixedAssetId}" link-style="buttontext">
- <parameter param-name="fixedAssetId"/>
- </sub-hyperlink>
- </display-entity>
- </field>
- <field name="fromDate"><display/></field>
- <field name="thruDate"><date-time/></field>
- <field name="statusId">
- <drop-down allow-empty="true">
- <entity-options entity-name="StatusItem">
- <entity-constraint name="statusTypeId" operator="equals" value="FA_ASGN_STATUS"/>
- <entity-order-by field-name="sequenceId"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="availabilityStatusId">
- <drop-down no-current-selected-key="WEFA_IN_USE">
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" operator="equals" value="WEFA_AVAILABILITY"/>
- <entity-order-by field-name="sequenceId"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="allocatedCost"><text/></field>
- <field name="comments"><text size="60" maxlength="255"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="button"/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortFixedAssetAssign" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="fixedAssetId"/>
- <parameter param-name="fromDate"/>
- </hyperlink>
- </field>
- </form>
-
- <form name="DisplayWorkEffortFixedAssetAssigns" type="list" list-name="fixedAssetAssignments"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <field name="fixedAssetId" title="${uiLabelMap.AccountingFixedAsset}">
- <display-entity entity-name="FixedAsset" description="${fixedAssetName}">
- <sub-hyperlink target="/accounting/control/EditFixedAsset" target-type="inter-app" description="${fixedAssetId}" link-style="buttontext">
- <parameter param-name="fixedAssetId"/>
- </sub-hyperlink>
- </display-entity>
- </field>
- <field name="fromDate"><display/></field>
- <field name="thruDate"><display/></field>
- <field name="statusId"><display-entity entity-name="StatusItem"/></field>
- <field name="availabilityStatusId"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
- <field name="allocatedCost"><display/></field>
- <field name="comments"><display/></field>
- </form>
-
- <form name="EditWorkEffortFixedAssetAssign" target="createWorkEffortFixedAssetAssign" type="single"
- header-row-style="header-row" default-table-style="basic-table">
-<!-- <alt-target target="updateWorkEffortFixedAssetAssign" use-when="workEffortFixedAssetAssign!=null"/> -->
- <field name="workEffortId"><hidden/></field>
- <field name="fixedAssetId"><lookup target-form-name="LookupFixedAsset"/></field>
- <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field>
- <field name="thruDate"><date-time/></field>
- <field name="statusId">
- <drop-down allow-empty="true">
- <entity-options entity-name="StatusItem">
- <entity-constraint name="statusTypeId" operator="equals" value="FA_ASGN_STATUS"/>
- <entity-order-by field-name="sequenceId"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="availabilityStatusId">
- <drop-down no-current-selected-key="WEFA_IN_USE">
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" operator="equals" value="WEFA_AVAILABILITY"/>
- <entity-order-by field-name="sequenceId"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="allocatedCost"><text/></field>
- <field name="comments"><text size="60" maxlength="255"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-
- <form name="ListWorkEffortEventReminders" type="list" target="updateWorkEffortEventReminder"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-condition entity-name="WorkEffortEventReminder">
- <condition-expr field-name="workEffortId" operator="equals" from-field="workEffortId"/>
- <order-by field-name="-reminderDateTime"/>
- </entity-condition>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="sequenceId"><hidden/></field>
- <field name="contactMechId"><display/></field>
- <field name="partyId"><display/></field>
- <field name="reminderDateTime"><date-time/></field>
- <field name="repeatCount"><text/></field>
- <field name="repeatInterval"><text/></field>
- <field name="reminderOffset"><lookup target-form-name="LookupTimeDuration" presentation="window"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="button"/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortEventReminder" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="contactMechId"/>
- <parameter param-name="sequenceId"/>
- </hyperlink>
- </field>
- </form>
-
- <form name="EditWorkEffortEventReminder" target="createWorkEffortEventReminder" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="localeId"><hidden value="${locale}"/></field>
- <field name="timeZoneId"><hidden value="${timeZone}"/></field>
- <field name="contactMechId"><lookup target-form-name="LookupContactMech"/></field>
- <field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
- <field name="reminderDateTime"><date-time/></field>
- <field name="repeatCount"><text/></field>
- <field name="repeatInterval"><text/></field>
- <field name="reminderOffset"><lookup target-form-name="LookupTimeDuration" presentation="window"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-
<form name="EditICalendar" default-map-name="workEffort" target="updateICalendar" type="single">
<actions>
<set field="serverRootUrl" value="${groovy: org.apache.ofbiz.base.util.UtilHttp.getServerRootUrl(request)}"/>
diff --git a/applications/workeffort/widget/WorkEffortOrderHeaderForms.xml b/applications/workeffort/widget/WorkEffortOrderHeaderForms.xml
deleted file mode 100644
index 1c6835a..0000000
--- a/applications/workeffort/widget/WorkEffortOrderHeaderForms.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
-
- <form name="ListWorkEffortOrderHeaders" separate-columns="true" target="" title="" type="list"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortOrderHeaderView">
- <field-map field-name="workEffortId"/>
- <order-by field-name="orderId"/>
- </entity-and>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="orderId" widget-style="buttontext">
- <hyperlink description="${orderId}" target="/ordermgr/control/orderview" target-type="inter-app">
- <parameter param-name="orderId"/>
- <parameter param-name="workEffortId"/>
- </hyperlink>
- </field>
- <field name="statusItemDescription"><display/></field>
- <field name="orderTypeDescription"><display/></field>
- <field name="orderDate"><display/></field>
- <field name="grandTotal"><display/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortOrderHeader" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="orderId"/>
- </hyperlink>
- </field>
- </form>
- <form name="AddWorkEffortOrderHeader" target="createWorkEffortOrderHeader" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="orderId"><lookup target-form-name="LookupOrderHeader"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="buttontext"><submit button-type="text-link"/></field>
- </form>
-</forms>
diff --git a/applications/workeffort/widget/WorkEffortPartyAssignForms.xml b/applications/workeffort/widget/WorkEffortPartyAssignForms.xml
deleted file mode 100644
index 86901ca..0000000
--- a/applications/workeffort/widget/WorkEffortPartyAssignForms.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
-
- <form name="ListWorkEffortPartyAssigns" separate-columns="false" target="updateWorkEffortPartyAssign" title="" type="list"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-condition entity-name="WorkEffortPartyAssignment">
- <condition-expr field-name="workEffortId" operator="equals" from-field="workEffortId"/>
- <order-by field-name="roleTypeId"/>
- </entity-condition>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="partyId" widget-style="buttontext">
- <display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}">
- <sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyId}" link-style="buttontext">
- <parameter param-name="partyId"/>
- </sub-hyperlink>
- </display-entity>
- </field>
- <field name="roleTypeId" title="${uiLabelMap.PartyRoleType}"><display-entity entity-name="RoleType"/></field>
- <field name="statusDateTime"><display/></field>
- <field name="fromDate"><display/></field>
- <field name="thruDate"><date-time/></field>
- <field name="statusId">
- <drop-down no-current-selected-key="PARTYASSIGN_UNASSIGNED">
- <entity-options entity-name="StatusItem">
- <entity-constraint name="statusTypeId" operator="equals" value="PRTYASGN_STATUS"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="availabilityStatusId">
- <drop-down allow-empty="true">
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" operator="equals" value="WEPA_AVAILABILITY"/>
- <entity-order-by field-name="sequenceId"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="expectationEnumId" title="${uiLabelMap.CommonExpectation}">
- <drop-down allow-empty="true">
- <entity-options entity-name="Enumeration" key-field-name="enumId">
- <entity-constraint name="enumTypeId" operator="equals" value="WORK_EFF_EXPECT"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="delegateReasonEnumId" title="${uiLabelMap.WorkEffortDelegateReason}">
- <drop-down allow-empty="true">
- <entity-options entity-name="Enumeration" key-field-name="enumId">
- <entity-constraint name="enumTypeId" operator="equals" value="WORK_EFF_DEL_REAS"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="facilityId"><lookup target-form-name="LookupFacility"/></field>
- <field name="mustRsvp"><check/></field>
- <field name="comments"><text size="60" maxlength="255"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
- <form name="EditWorkEffortPartyAssign" default-map-name="workEffortPartyAssignment" target="updateWorkEffortPartyAssign" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <alt-target target="createWorkEffortPartyAssign" use-when="workEffortPartyAssignment==null"/>
- <field name="workEffortId"><hidden/></field>
- <field name="partyId"><lookup target-form-name="LookupPartyName"/></field>
- <field name="roleTypeId" title="${uiLabelMap.PartyRoleType}">
- <drop-down>
- <entity-options entity-name="RoleType">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="fromDate"><date-time default-value="${nowTimestamp}"/></field>
- <field name="thruDate"><date-time/></field>
- <field name="statusId">
- <drop-down no-current-selected-key="PRTYASGN_ASSIGNED">
- <entity-options entity-name="StatusItem">
- <entity-constraint name="statusTypeId" operator="equals" value="PRTYASGN_STATUS"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="availabilityStatusId">
- <drop-down allow-empty="true">
- <entity-options entity-name="StatusItem" key-field-name="statusId">
- <entity-constraint name="statusTypeId" operator="equals" value="WEPA_AVAILABILITY"/>
- <entity-order-by field-name="sequenceId"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="expectationEnumId" title="${uiLabelMap.CommonExpectation}">
- <drop-down allow-empty="true">
- <entity-options entity-name="Enumeration" key-field-name="enumId">
- <entity-constraint name="enumTypeId" operator="equals" value="WORK_EFF_EXPECT"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="delegateReasonEnumId" title="${uiLabelMap.WorkEffortDelegateReason}">
- <drop-down allow-empty="true">
- <entity-options entity-name="Enumeration" key-field-name="enumId">
- <entity-constraint name="enumTypeId" operator="equals" value="WORK_EFF_DEL_REAS"/>
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="facilityId"><lookup target-form-name="LookupFacility"/></field>
- <field name="mustRsvp"><check/></field>
- <field name="comments"><text size="60" maxlength="255"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-</forms>
diff --git a/applications/workeffort/widget/WorkEffortQuoteForms.xml b/applications/workeffort/widget/WorkEffortQuoteForms.xml
deleted file mode 100644
index 0caa646..0000000
--- a/applications/workeffort/widget/WorkEffortQuoteForms.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
-
- <form name="ListWorkEffortQuotes" separate-columns="true" target="ListWorkEffortQuotes" title="" type="list"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortQuoteView">
- <field-map field-name="workEffortId"/>
- </entity-and>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="quoteId" widget-style="buttontext">
- <hyperlink description="${quoteId}" target="/ordermgr/control/EditQuote" target-type="inter-app">
- <parameter param-name="quoteId"/>
- </hyperlink>
- </field>
- <field name="quoteName"><display/></field>
- <field name="description"><display/></field>
- <field name="statusItemDescription"><display/></field>
- <field name="issueDate"><display/></field>
- <field name="deleteLink" title=" " widget-style="linktext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortQuote" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="quoteId"/>
- </hyperlink>
- </field>
- </form>
- <form name="AddWorkEffortQuote" target="createWorkEffortQuote" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="quoteId"><lookup target-form-name="LookupQuote"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-
- <form name="ListWorkEffortQuoteItems" separate-columns="true" target="ListWorkEffortQuoteItems" title="" type="list"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="QuoteItem">
- <field-map field-name="workEffortId"/>
- </entity-and>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="quoteId" widget-style="buttontext">
- <hyperlink description="${quoteId}" target="/ordermgr/control/EditQuote" target-type="inter-app">
- <parameter param-name="quoteId"/>
- </hyperlink>
- </field>
- <field name="quoteItemSeqId" widget-style="buttontext">
- <hyperlink description="${quoteItemSeqId}" target="/ordermgr/control/EditQuoteItem" target-type="inter-app">
- <parameter param-name="workEffortId"/>
- <parameter param-name="quoteId"/>
- <parameter param-name="quoteItemSeqId"/>
- </hyperlink>
- </field>
- <field name="productId"><display/></field>
- <field name="custRequestId"><display/></field>
- <field name="custRequestItemSeqId"><display/></field>
- <field name="estimatedDeliveryDate"><display/></field>
- <field name="comments"><display/></field>
- <field name="deleteLink" title=" " widget-style="linktext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortQuoteItem" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="quoteId"/>
- <parameter param-name="quoteItemSeqId"/>
- </hyperlink>
- </field>
- </form>
- <form name="AddWorkEffortQuoteItem" target="createWorkEffortQuoteItem" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="quoteId"><lookup target-form-name="LookupQuote"/></field>
- <field name="quoteItemSeqId"><lookup target-form-name="LookupQuoteItem" target-parameter="quoteId"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-</forms>
diff --git a/applications/workeffort/widget/WorkEffortRelatedSummaryScreens.xml b/applications/workeffort/widget/WorkEffortRelatedSummaryScreens.xml
index dd36ae4..c3eac43 100644
--- a/applications/workeffort/widget/WorkEffortRelatedSummaryScreens.xml
+++ b/applications/workeffort/widget/WorkEffortRelatedSummaryScreens.xml
@@ -20,13 +20,26 @@ under the License.
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen http://ofbiz.apache.org/dtds/widget-screen.xsd">
+
<screen name="WorkEffortSummary">
<section>
<actions>
<set field="titleProperty" value="PageTitleWorkEffortRelatedSummary"/>
<set field="tabButtonItem" value="WorkEffortRelatedSummary"/>
<set field="labelTitleProperty" value="PageTitleWorkEffortRelatedSummary"/>
-
+ </actions>
+ <widgets>
+ <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
+ <decorator-section name="body">
+ <include-screen name="WorkEffortSummaryEmbedded"/>
+ </decorator-section>
+ </decorator-screen>
+ </widgets>
+ </section>
+ </screen>
+ <screen name="WorkEffortSummaryEmbedded">
+ <section>
+ <actions>
<set field="workEffortId" from-field="parameters.workEffortId"/>
<entity-one entity-name="WorkEffort" value-field="workEffort"/>
<get-related-one value-field="workEffort" relation-name="WorkEffortType" to-value-field="workEffortType"/>
@@ -54,8 +67,8 @@ under the License.
</entity-and>
</actions>
<widgets>
- <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
+ <decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <decorator-section name="list">
<container style="screenlet-body">
<label text="${uiLabelMap.CommonName} " style="label"/><label text="${workEffort.workEffortName}"/>
<label text="${uiLabelMap.CommonType} " style="label"/><label text="${workEffortType.description}"/>
diff --git a/applications/workeffort/widget/WorkEffortRequestForms.xml b/applications/workeffort/widget/WorkEffortRequestForms.xml
deleted file mode 100644
index 9f50b0e..0000000
--- a/applications/workeffort/widget/WorkEffortRequestForms.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
-
- <form name="ListWorkEffortRequests" separate-columns="true" target="ListWorkEffortRequests" title="" type="list"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortCustRequestView">
- <field-map field-name="workEffortId"/>
- </entity-and>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="custRequestId" widget-style="buttontext">
- <hyperlink description="${custRequestId}" target="/ordermgr/control/EditRequest" target-type="inter-app">
- <parameter param-name="custRequestId"/>
- </hyperlink>
- </field>
- <field name="description"><display/></field>
- <field name="custRequestTypeDescription"><display/></field>
- <field name="statusItemDescription"><display/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortRequest" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="custRequestId"/>
- </hyperlink>
- </field>
- </form>
- <form name="AddWorkEffortRequest" target="createWorkEffortRequest" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="custRequestId"><lookup target-form-name="LookupCustRequest"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="buttontext">
- <submit button-type="text-link"/>
- </field>
- </form>
-
- <form name="ListWorkEffortRequestItems" separate-columns="true" target="ListWorkEffortRequestItems" title="" type="list"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortCustRequestItemView">
- <field-map field-name="workEffortId"/>
- </entity-and>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="custRequestId" widget-style="buttontext">
- <hyperlink description="${custRequestId}" target="/ordermgr/control/EditRequest" target-type="inter-app">
- <parameter param-name="custRequestId"/>
- </hyperlink>
- </field>
- <field name="custRequestItemSeqId" widget-style="buttontext"><display/></field>
- <field name="statusItemDescription"><display/></field>
- <field name="priority"><display/></field>
- <field name="productId"><display/></field>
- <field name="description"><display/></field>
- <field name="deleteLink" title=" " widget-style="linktext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortRequestItem" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="custRequestId"/>
- <parameter param-name="custRequestItemSeqId"/>
- </hyperlink>
- </field>
- </form>
- <form name="AddWorkEffortRequestItem" target="createWorkEffortRequestItem" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="custRequestId"><lookup target-form-name="LookupCustRequest"/></field>
- <field name="custRequestItemSeqId"><lookup target-form-name="LookupCustRequestItem" target-parameter="custRequestId"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
- </form>
-</forms>
diff --git a/applications/workeffort/widget/WorkEffortRequirementForms.xml b/applications/workeffort/widget/WorkEffortRequirementForms.xml
deleted file mode 100644
index 828fa2c..0000000
--- a/applications/workeffort/widget/WorkEffortRequirementForms.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
-
- <form name="ListWorkEffortRequirements" separate-columns="true" target="" title="" type="list"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortRequirementView">
- <field-map field-name="workEffortId"/>
- <order-by field-name="requirementId"/>
- </entity-and>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="requirementId" widget-style="linktext">
- <hyperlink description="${requirementId}" target="/ordermgr/control/EditRequirement" target-type="inter-app">
- <parameter param-name="requirementId"/>
- </hyperlink>
- </field>
- <field name="workReqFulfTypeDescription"><display/></field>
- <field name="statusItemDescription"><display/></field>
- <field name="requirementDescription"><display/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteWorkEffortRequirement" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="requirementId"/>
- </hyperlink>
- </field>
- </form>
- <form name="AddWorkEffortRequirement" default-map-name="workRequirementFulfillment" target="createWorkEffortRequirement" title="" type="single" extends="EditRequirement"
- extends-resource="component://order/widget/ordermgr/RequirementForms.xml" header-row-style="header-row" default-table-style="basic-table">
- <alt-target use-when="workEffortId!=null" target="createWorkEffortRequirement"/>
- <field name="workEffortId"><hidden/></field>
- <field name="requirementId"><lookup target-form-name="LookupRequirement"/></field>
- <field name="workReqFulfTypeId">
- <drop-down allow-empty="false">
- <entity-options entity-name="WorkReqFulfType">
- <entity-order-by field-name="description"/>
- </entity-options>
- </drop-down>
- </field>
- <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="buttontext"><submit button-type="text-link"/></field>
- <sort-order>
- <banner left-text="${uiLabelMap.WorkEffortBanner5}"/>
- <sort-field name="requirementId"/>
- <banner left-text="${uiLabelMap.WorkEffortBanner6}"/>
- <sort-field name="workReqFulfTypeId"/>
- </sort-order>
- </form>
-</forms>
diff --git a/applications/workeffort/widget/WorkEffortScreens.xml b/applications/workeffort/widget/WorkEffortScreens.xml
index 488d79d..86f3e45 100644
--- a/applications/workeffort/widget/WorkEffortScreens.xml
+++ b/applications/workeffort/widget/WorkEffortScreens.xml
@@ -90,9 +90,6 @@ under the License.
<section>
<actions>
<set field="titleProperty" value="PageTitleEditWorkEffort"/>
- <set field="tabButtonItem" value="WorkEffort"/>
- <set field="labelTitleProperty" value="PageTitleEditWorkEffort"/>
- <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/workeffort/control/ListWorkEfforts"/>
<set field="workEffortId" from-field="parameters.workEffortId"/>
<set field="thisWorkEffortId" from-field="parameters.workEffortId"/>
<entity-one entity-name="WorkEffort" value-field="workEffort"/>
@@ -127,57 +124,15 @@ under the License.
<screen name="FindWorkEffort">
<section>
<actions>
+ <set field="tabButtonItem" value="WorkEffort"/>
+ <set field="labelTitleProperty" value="PageTitleListWorkEfforts"/>
<set field="headerItem" value="workeffort"/>
<set field="titleProperty" value="PageTitleFindWorkEffort"/>
- <set field="donePage" from-field="parameters.DONE_PAGE"/>
- <set field="asm_multipleSelectForm" value="FindWorkEffort"/>
- <set field="currentStatusId.asm_multipleSelect" value="FindWorkEffort_currentStatusId"/>
- <set field="currentStatusId.asm_sortable" value="true"/>
- <set field="currentStatusId.asm_title" value=" "/>
- <set field="asm_listField[]" from-field="currentStatusId"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
- <decorator-section name="menu-bar">
- <container style="button-bar">
- <link text="${uiLabelMap.WorkEffortCreate}" target="EditWorkEffort" style="buttontext">
- <parameter param-name="DONE_PAGE" from-field="donePage"/>
- </link>
- <link text="${uiLabelMap.CommonAdvancedSearch}" target="WorkEffortSearchOptions" style="buttontext"/>
- </container>
- </decorator-section>
- <decorator-section name="search-options">
- <platform-specific>
- <html><html-template multi-block="true" location="component://common-theme/template/includes/SetMultipleSelectJsList.ftl"/></html>
- </platform-specific>
- <include-form name="FindWorkEffort" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </decorator-section>
- <decorator-section name="search-results">
- <include-form name="FoundWorkEfforts" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </decorator-section>
- </decorator-screen>
- </decorator-section>
- </decorator-screen>
- </widgets>
- </section>
- </screen>
-
- <screen name="ListWorkEfforts">
- <section>
- <actions>
- <set field="titleProperty" value="PageTitleListWorkEfforts"/>
- <set field="tabButtonItem" value="WorkEffort"/>
- <set field="labelTitleProperty" value="PageTitleListWorkEfforts"/>
- <set field="workEffortId" from-field="parameters.workEffortId"/>
- </actions>
- <widgets>
- <decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
- <decorator-section name="body">
- <screenlet title="${uiLabelMap.PageTitleListWorkEfforts}" navigation-form-name="ListWorkEfforts">
- <include-form name="ListWorkEfforts" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
+ <include-screen name="FindWorkEfforts" location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -319,17 +274,11 @@ under the License.
<set field="titleProperty" value="PageTitleListWorkEffortPartyAssigns"/>
<set field="tabButtonItem" value="WorkEffortPartyAssigns"/>
<set field="labelTitleProperty" value="PageTitleListWorkEffortPartyAssigns"/>
-
- <set field="workEffortId" from-field="parameters.workEffortId"/>
- <entity-one entity-name="WorkEffortPartyAssignment" value-field="workEffortPartyAssignment"/>
</actions>
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortPartyAssignsPanel" title="${uiLabelMap.PageTitleAddWorkEffortPartyAssign}" collapsible="true">
- <include-form name="EditWorkEffortPartyAssign" location="component://workeffort/widget/WorkEffortPartyAssignForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortPartyAssigns" location="component://workeffort/widget/WorkEffortPartyAssignForms.xml"/>
+ <include-screen name="ListWorkEffortPartyAssigns" location="component://workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -347,10 +296,7 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortFixedAssetAssign" title="${uiLabelMap.PageTitleAddWorkEffortFixedAssetAssign}" collapsible="true">
- <include-form name="EditWorkEffortFixedAssetAssign" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortFixedAssetAssigns" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortFixedAssets" location="component://workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -369,36 +315,30 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortRatesPanel" title="${uiLabelMap.PageTitleAddWorkEffortAssignmentRate}" collapsible="true">
- <include-form name="AddWorkEffortRate" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortRates" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortRates" location="component://workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
+
<screen name="ListWorkEffortCommEvents">
<section>
<actions>
<set field="titleProperty" value="PageTitleListWorkEffortCommEvents"/>
<set field="tabButtonItem" value="WorkEffortCommEvents"/>
<set field="labelTitleProperty" value="PageTitleListWorkEffortCommEvents"/>
-
- <set field="workEffortId" from-field="parameters.workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortCommEventsPanel" title="${uiLabelMap.PageTitleAddWorkEffortCommEvent}" collapsible="true">
- <include-form name="AddWorkEffortCommEvent" location="component://workeffort/widget/WorkEffortCommEventForms.xml"/>
- </screenlet>
- <include-grid name="ListWorkEffortCommEvents" location="component://workeffort/widget/WorkEffortCommEventForms.xml"/>
+ <include-screen name="ListWorkEffortCommEvents" location="component://workeffort/widget/workeffort/WorkEffortCommEventCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
+
<screen name="ListWorkEffortShopLists">
<section>
<actions>
@@ -411,10 +351,7 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortShopListsPanel" title="${uiLabelMap.PageTitleAddWorkEffortShopList}" collapsible="true">
- <include-form name="AddWorkEffortShopList" location="component://workeffort/widget/WorkEffortShopListForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortShopLists" location="component://workeffort/widget/WorkEffortShopListForms.xml"/>
+ <include-screen name="ListWorkEffortShopLists" location="component://workeffort/widget/workeffort/WorkEffortShopListCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -433,36 +370,25 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortRequestsPanel" title="${uiLabelMap.PageTitleAddWorkEffortRequest}" collapsible="true">
- <include-form name="AddWorkEffortRequest" location="component://workeffort/widget/WorkEffortRequestForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortRequests" location="component://workeffort/widget/WorkEffortRequestForms.xml"/>
- <screenlet id="AddWorkEffortRequestItemPanel" title="${uiLabelMap.PageTitleAddWorkEffortRequestItem}" collapsible="true">
- <include-form name="AddWorkEffortRequestItem" location="component://workeffort/widget/WorkEffortRequestForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortRequestItems" location="component://workeffort/widget/WorkEffortRequestForms.xml"/>
+ <include-screen name="ListWorkEffortRequests" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ <include-screen name="ListWorkEffortRequestItems" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
+
<screen name="ListWorkEffortRequirements">
<section>
<actions>
<set field="titleProperty" value="PageTitleListWorkEffortRequirements"/>
<set field="tabButtonItem" value="WorkEffortRequirements"/>
<set field="labelTitleProperty" value="PageTitleListWorkEffortRequirements"/>
-
- <set field="donePage" from-field="parameters.DONE_PAGE" default-value="/workeffort/control/ListWorkEfforts"/>
- <set field="workEffortId" from-field="parameters.workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortRequirementsPanel" title="${uiLabelMap.PageTitleAddWorkEffortRequirement}" collapsible="true">
- <include-form name="AddWorkEffortRequirement" location="component://workeffort/widget/WorkEffortRequirementForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortRequirements" location="component://workeffort/widget/WorkEffortRequirementForms.xml"/>
+ <include-screen name="ListWorkEffortRequirements" location="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -481,19 +407,14 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortQuotesPanel" title="${uiLabelMap.PageTitleAddWorkEffortQuote}" collapsible="true">
- <include-form name="AddWorkEffortQuote" location="component://workeffort/widget/WorkEffortQuoteForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortQuotes" location="component://workeffort/widget/WorkEffortQuoteForms.xml"/>
- <screenlet id="AddWorkEffortQuoteItemPanel" title="${uiLabelMap.PageTitleAddWorkEffortQuoteItem}" collapsible="true">
- <include-form name="AddWorkEffortQuoteItem" location="component://workeffort/widget/WorkEffortQuoteForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortQuoteItems" location="component://workeffort/widget/WorkEffortQuoteForms.xml"/>
+ <include-screen name="ListWorkEffortQuotes" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ <include-screen name="ListWorkEffortQuoteItems" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
+
<screen name="ListWorkEffortOrderHeaders">
<section>
<actions>
@@ -506,15 +427,13 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortOrderHeadersPanel" title="${uiLabelMap.PageTitleAddWorkEffortOrderHeader}" collapsible="true">
- <include-form name="AddWorkEffortOrderHeader" location="component://workeffort/widget/WorkEffortOrderHeaderForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortOrderHeaders" location="component://workeffort/widget/WorkEffortOrderHeaderForms.xml"/>
+ <include-screen name="ListWorkEffortOrderHeaders" location="component://workeffort/widget/workeffort/WorkEffortOrdersCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
+
<screen name="EditWorkEffortTimeEntries">
<section>
<actions>
@@ -527,18 +446,7 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet>
- <include-form name="ListWorkEffortTimeEntries" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <screenlet title="${uiLabelMap.PageTitleAddWorkEffortTimeEntry}">
- <include-form name="AddWorkEffortTimeEntry" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <screenlet title="${uiLabelMap.PageTitleAddWorkEffortTimeToInvoice}">
- <include-form name="AddWorkEffortTimeToInvoice" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <screenlet title="${uiLabelMap.PageTitleAddWorkEffortTimeToNewInvoice}">
- <include-form name="AddWorkEffortTimeToNewInvoice" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
+ <include-screen name="ListWorkEffortTimeEntries" location="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -558,10 +466,7 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="add-workeffort-note" title="${uiLabelMap.PageTitleAddWorkEffortNotes}" collapsible="true">
- <include-form name="AddWorkEffortNote" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortNotes" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortNotes" location="component://workeffort/widget/workeffort/WorkEffortNotesCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -573,15 +478,11 @@ under the License.
<actions>
<set field="titleProperty" value="PageTitleEditWorkEffortContent"/>
<set field="tabButtonItem" value="WorkEffortContents"/>
- <set field="workEffortId" from-field="parameters.workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortContentsPanel" title="${uiLabelMap.PageTitleAddContent}" collapsible="true">
- <include-form name="AddWorkEffortContent" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortContents" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortContents" location="component://workeffort/widget/workeffort/WorkEffortContentsCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -598,10 +499,7 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortGoodStandardsPanel" title="${uiLabelMap.WorkEffortAddGoodStandard}" collapsible="true">
- <include-form name="AddWorkEffortGoodStandard" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortGoodStandards" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortGoodStandards" location="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -613,18 +511,14 @@ under the License.
<actions>
<set field="titleProperty" value="PageTitleListWorkEffortReviews"/>
<set field="tabButtonItem" value="WorkEffortReviews"/>
- <set field="labelTitleProperty" value="PageTitleListWorkEffortReviews"/>
- <set field="workEffortId" from-field="parameters.workEffortId"/>
+ <!--<set field="labelTitleProperty" value="PageTitleListWorkEffortReviews"/>
<set field="defaultUserLoginId" from-field="parameters.userLogin.userLoginId"/>
- <set field="partyId" from-field="parameters.userLogin.partyId"/>
+ <set field="partyId" from-field="parameters.userLogin.partyId"/> -->
</actions>
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortReviewsPanel" title="${uiLabelMap.PageTitleAddWorkEffortReviews}" collapsible="true">
- <include-form name="AddWorkEffortReview" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortReviews" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortReviews" location="component://workeffort/widget/workeffort/WorkEffortReviewsCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -641,10 +535,7 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortKeywordsPanel" title="${uiLabelMap.PageTitleAddWorkEffortKeyword}" collapsible="true">
- <include-form name="AddWorkEffortKeyword" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortKeywords" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortKeywords" location="component://workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -656,15 +547,11 @@ under the License.
<set field="titleProperty" value="PageTitleEditWorkEffortContactMechs"/>
<set field="tabButtonItem" value="WorkEffortContactMechs"/>
<set field="labelTitleProperty" value="PageTitleEditWorkEffortContactMechs"/>
- <set field="workEffortId" from-field="parameters.workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortContactMechsPanel" title="${uiLabelMap.CommonCreate}" collapsible="true">
- <include-form name="AddWorkEffortContactMech" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortContactMechs" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortContactMechs" location="component://workeffort/widget/workeffort/WorkEffortContactMechCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -711,15 +598,11 @@ under the License.
<actions>
<set field="titleProperty" value="PageTitleEditAgreementWorkEffortApplics"/>
<set field="tabButtonItem" value="WorkEffortAgreementAppls"/>
- <set field="workEffortId" from-field="parameters.workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddAccountingAgreementWorkEffortApplicsPanel" title="${uiLabelMap.AccountingAddAgreementWorkEffortApplic}" collapsible="true">
- <include-form name="AddAgreementWorkEffortApplic" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListAgreementWorkEffortApplics" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortAgreements" location="component://workeffort/widget/workeffort/WorkEffortAgreementCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -732,15 +615,11 @@ under the License.
<set field="titleProperty" value="PageTitleListWorkEffortAttributes"/>
<set field="labelTitleProperty" from-field="titleProperty"/>
<set field="tabButtonItem" value="WorkEffortAttributes"/>
- <set field="workEffortId" from-field="parameters.workEffortId"/>
</actions>
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortEventAttribute" title="${uiLabelMap.PageTitleAddWorkEffortAttribute}" collapsible="true">
- <include-form name="EditWorkEffortAttribute" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortAttributes" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortAttributes" location="component://workeffort/widget/workeffort/WorkEffortAttributeCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
@@ -758,10 +637,7 @@ under the License.
<widgets>
<decorator-screen name="CommonWorkEffortDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
- <screenlet id="AddWorkEffortEventReminder" title="${uiLabelMap.PageTitleAddWorkEffortEventReminder}" collapsible="true">
- <include-form name="EditWorkEffortEventReminder" location="component://workeffort/widget/WorkEffortForms.xml"/>
- </screenlet>
- <include-form name="ListWorkEffortEventReminders" location="component://workeffort/widget/WorkEffortForms.xml"/>
+ <include-screen name="ListWorkEffortEventReminders" location="component://workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
diff --git a/applications/workeffort/widget/WorkEffortShopListForms.xml b/applications/workeffort/widget/WorkEffortShopListForms.xml
deleted file mode 100644
index 69c845c..0000000
--- a/applications/workeffort/widget/WorkEffortShopListForms.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd">
- <form name="ListWorkEffortShopLists" target="" title="" type="list" separate-columns="false"
- odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
- <actions>
- <entity-and entity-name="WorkEffortShoppingListView">
- <field-map field-name="workEffortId"/>
- <order-by field-name="shoppingListId"/>
- </entity-and>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="shoppingListId" title="${uiLabelMap.WorkEffortShopListId}" widget-style="buttontext">
- <hyperlink description="${shoppingListId}" target="/partymgr/control/editShoppingList" target-type="inter-app">
- <parameter param-name="shoppingListId"/>
- </hyperlink>
- </field>
- <field name="shoppingListTypeDescription" title="${uiLabelMap.CommonType}"><display/></field>
- <field name="listName"><display/></field>
- <field name="description"><display/></field>
- <field name="partyId" title="${uiLabelMap.PartyParty}"><display-entity entity-name="PartyNameView" description="${firstName} ${lastName} ${groupName} [${partyId}]"/></field>
- <field name="deleteLink" title=" " widget-style="buttontext">
- <hyperlink description="${uiLabelMap.CommonDelete}" target="deleteShoppingListWorkEffort" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="shoppingListId"/>
- </hyperlink>
- </field>
- </form>
- <form name="AddWorkEffortShopList" target="createShoppingListWorkEffort" title="" type="single"
- header-row-style="header-row" default-table-style="basic-table">
- <field name="workEffortId"><hidden/></field>
- <field name="shoppingListId" ><lookup target-form-name="LookupShoppingList"/></field>
- <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="buttontext"><submit button-type="text-link"/></field>
- </form>
-</forms>
diff --git a/applications/workeffort/widget/workeffort/WorkEffortAgreementCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortAgreementCpd.xml
new file mode 100644
index 0000000..e303977
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortAgreementCpd.xml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortAgreement/Add"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortAgreement/Add"/></sc:request-map>
+ <sc:request-map uri="WorkEffortAgreements/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortAgreements/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortAgreement/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createAgreementWorkEffortApplic"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortAgreement/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteAgreementWorkEffortApplic"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortAgreement/Add" type="screen" page="component://workeffort/widget/workeffort/WorkEffortAgreementCpd.xml#AddWorkEffortKeyword"/>
+ <sc:view-map name="WorkEffortAgreements/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortAgreementCpd.xml#ListWorkEffortAgreements"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortAgreements">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortAgreements"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortAgreementsTabBar" location="component://workeffort/widget/workeffort/WorkEffortAgreementCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortAgreements" location="component://workeffort/widget/workeffort/WorkEffortAgreementCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortKeyword">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortAgreements"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortKeyword" location="component://workeffort/widget/workeffort/WorkEffortAgreementCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortAgreementsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortKeyword" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortAgreement/Add" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortAgreements/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortAgreementsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteWorkEffortKeyword" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortAgreement/delete" confirmation-message="${uiLabelMap.CommonConfirmDelete}">
+ <wm:auto-parameters-service service-name="deleteAgreementWorkEffortApplic"/>
+ <wm:set-callback area-target="WorkEffortAgreements/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortAgreements" paginate-target="WorkEffortAgreements/List"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="AgreementWorkEffortApplic" use-cache="true">
+ <wf:field-map field-name="workEffortId" from-field="workEffortId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="agreementId">
+ <wf:display-entity entity-name="Agreement">
+ <wf:sub-hyperlink target="/accounting/control/EditAgreement" description="${agreementId}" target-type="inter-app">
+ <wf:parameter param-name="agreementId"/>
+ </wf:sub-hyperlink>
+ </wf:display-entity>
+ </wf:field>
+ <wf:field name="agreementItemSeqId"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortAgreementsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortAgreementCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+
+ <wf:form name="AddWorkEffortKeyword" target="WorkEffortAgreement/create"
+ focus-field-name="agreementId"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="agreementId">
+ <wf:lookup target-form-name="LookupAgreement"/>
+ </wf:field>
+ <wf:field name="agreementItemSeqId">
+ <wf:lookup target-form-name="LookupAgreementItem"/>
+ </wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortAttributeCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortAttributeCpd.xml
new file mode 100644
index 0000000..6abc096
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortAttributeCpd.xml
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortAttribute/Add"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortAttribute/Add"/></sc:request-map>
+ <sc:request-map uri="WorkEffortAttribute/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortAttribute/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortAttribute/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortAttribute"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortAttribute/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateWorkEffortAttribute"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortAttribute/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortAttribute"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortAttribute/Add" type="screen" page="component://workeffort/widget/workeffort/WorkEffortAttributeCpd.xml#AddWorkEffortAttribute"/>
+ <sc:view-map name="WorkEffortAttribute/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortAttributeCpd.xml#ListWorkEffortAttributes"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortAttributes">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortAttributes"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortAttributeTabBar" location="component://workeffort/widget/workeffort/WorkEffortAttributeCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-form name="ListWorkEffortAttributes" location="component://workeffort/widget/workeffort/WorkEffortAttributeCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortAttribute">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortAttribute"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortAttribute" location="component://workeffort/widget/workeffort/WorkEffortAttributeCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortAttributeTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortAttribute" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortAttribute/Add" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortAttribute/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortAttributesInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteAttribute" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortAttribute/delete" confirmation-message="${uiLabelMap.CommonConfirmDelete}">
+ <wm:auto-parameters-service service-name="deleteWorkEffortAttribute"/>
+ <wm:set-callback area-target="WorkEffortAttribute/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:form name="ListWorkEffortAttributes" target="WorkEffortAttribute/update" paginate-target="WorkEffortAttribute/List"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="WorkEffortAttribute" use-cache="true">
+ <wf:field-map field-name="workEffortId" from-field="workEffortId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:auto-fields-service service-name="updateWorkEffortAttribute"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="updateButton"><wf:submit/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortAttributesInLineBar" location="component://workeffort/widget/workeffort/WorkEffortAttributeCpd.xml"/>
+ </wf:field>
+ <wf:on-event-update-area event-type="submit">
+ <wf:parameter param-name="workEffortId"/>
+ </wf:on-event-update-area>
+ </wf:form>
+
+ <wf:form name="AddWorkEffortAttribute" target="WorkEffortAttribute/create"
+ focus-field-name="attrName" default-map-name="workEffort"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:auto-fields-service service-name="createWorkEffortAttribute"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortCommEventCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortCommEventCpd.xml
new file mode 100644
index 0000000..d0a2fd8
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortCommEventCpd.xml
@@ -0,0 +1,238 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <sc:request-map uri="WorkEffortCommEvent/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortCommEvent/List"/></sc:request-map>
+ <sc:request-map uri="WorkEffortCommEvent/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortCommEvent/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortCommEvent/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createCommunicationEventWorkEff"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortCommEvent/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateCommunicationEventWorkEff"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortCommEvent/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteCommunicationEventWorkEff"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:view-map name="WorkEffortCommEvent/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortCommEventCpd.xml#ListWorkEffortCommEvents"/>
+ <sc:view-map name="WorkEffortCommEvent/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortCommEventCpd.xml#EditWorkEffortCommEvent"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortCommEvents">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortAssignmentRate"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortCommEventTabBar" location="component://workeffort/widget/workeffort/WorkEffortCommEventCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortCommEvents" location="component://workeffort/widget/workeffort/WorkEffortCommEventCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortCommEvent">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortCommEvent"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:entity-one entity-name="CommunicationEvent" value-field="communicationEvent"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffortCommEvent" location="component://workeffort/widget/workeffort/WorkEffortCommEventCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortCommEventTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortCommEvent" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortCommEvent/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortCommEvent/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortCommEventsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortCommEvent" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortCommEvent/Edit" link-type="layered-modal">
+ <wm:auto-parameters-service service-name="updateCommunicationEventWorkEff"/>
+ <wm:set-callback area-target="WorkEffortCommEvent/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="DeleteWorkEffortCommEvent" title="${uiLabelMap.CommonExpire}">
+ <wm:condition>
+ <wm:if-empty field="thruDate"/>
+ </wm:condition>
+ <wm:link target="WorkEffortCommEvent/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="deleteCommunicationEventWorkEff"/>
+ <wm:set-callback area-target="WorkEffortCommEvent/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortCommEvents" paginate-target="WorkEffortCommEvent/List"
+ default-map-name="workEffortCommEvent" list-name="listIt"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:service result-map-list="listIt" result-map="result" service-name="performFind">
+ <wf:field-map field-name="inputFields" from-field="requestParameters"/>
+ <wf:field-map field-name="entityName" value="WorkEffortCommunicationEventView"/>
+ <wf:field-map field-name="orderBy" from-field="parameters.sortField"/>
+ </wf:service>
+ </wf:actions>
+ <wf:field name="communicationEventId" sort-field="true">
+ <wf:hyperlink description="${communicationEventId}" target="EditWorkEffortCommEvent">
+ <wf:parameter param-name="communicationEventId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="partyIdFrom" title="${uiLabelMap.PartyPartyId} ${uiLabelMap.CommonFrom}" sort-field="true">
+ <wf:display-entity description="${firstName} ${lastName} ${groupName} [${partyId}]" entity-name="PartyNameView" key-field-name="partyId"/>
+ </wf:field>
+ <wf:field name="partyIdTo" title="${uiLabelMap.PartyPartyId} ${uiLabelMap.CommonTo}" sort-field="true">
+ <wf:display-entity description="${firstName} ${lastName} ${groupName} [${partyId}]" entity-name="PartyNameView" key-field-name="partyId"/>
+ </wf:field>
+ <wf:field name="statusId" sort-field="true">
+ <wf:display-entity entity-name="StatusItem" key-field-name="statusId"/>
+ </wf:field>
+ <wf:field name="contactMechTypeId" sort-field="true">
+ <wf:display-entity entity-name="ContactMechType" key-field-name="contactMechTypeId"/>
+ </wf:field>
+ <wf:field name="roleTypeIdFrom" sort-field="true">
+ <wf:display-entity entity-name="RoleType" key-field-name="roleTypeId"/>
+ </wf:field>
+ <wf:field name="roleTypeIdTo" sort-field="true">
+ <wf:display-entity entity-name="RoleType" key-field-name="roleTypeId"/>
+ </wf:field>
+ <wf:field name="custRequestId" sort-field="true"><wf:display-entity entity-name="CustRequest" description="${custRequestName} [${custRequestId}]"/></wf:field>
+ <wf:field name="datetimeStarted" title="${uiLabelMap.CommonStartDate}" sort-field="true"><wf:display/></wf:field>
+ <wf:field name="datetimeEnded" title="${uiLabelMap.CommonFinishDate}" sort-field="true"><wf:display/></wf:field>
+ <wf:field map-name="subjectMap" name="subject" sort-field="true"><wf:display size="30"/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortCommEventsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortCommEventCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+ <wf:form name="EditWorkEffortCommEvent" target="WorkEffortCommEvent/update"
+ focus-field-name="communicationEventTypeId" default-map-name="communicationEvent"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:alt-target target="WorkEffortCommEvent/create" use-when="communicationEvent == null"/>
+ <wf:field name="communicationEventId" use-when="communicationEvent != null"><wf:display/></wf:field>
+ <wf:field name="communicationEventTypeId">
+ <wf:drop-down>
+ <wf:entity-options entity-name="CommunicationEventType">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+
+ <wf:field name="partyIdFrom" title="${uiLabelMap.PartyPartyId} ${uiLabelMap.CommonFrom}"><wf:lookup target-form-name="LookupPartyName"/></wf:field>
+ <wf:field name="partyIdTo" title="${uiLabelMap.PartyPartyId} ${uiLabelMap.CommonTo}"><wf:lookup target-form-name="LookupPartyName"/></wf:field>
+ <wf:field name="statusId" use-when="communicationEvent==null" title="${uiLabelMap.CommonStatus}">
+ <wf:drop-down>
+ <wf:entity-options entity-name="StatusItem" key-field-name="statusId">
+ <wf:entity-constraint name="statusTypeId" operator="equals" value="COM_EVENT_STATUS"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="statusId" use-when="communicationEvent!=null" title="${uiLabelMap.CommonStatus}">
+ <wf:drop-down current="first-in-list" current-description="${currentStatus.description}">
+ <wf:entity-options entity-name="StatusValidChangeToDetail" key-field-name="statusIdTo" description="${transitionName} (${description})">
+ <wf:entity-constraint name="statusId" value="${communicationEvent.statusId}"/>
+ <wf:entity-order-by field-name="sequenceId"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+
+ <wf:field name="contactMechTypeId">
+ <wf:drop-down>
+ <wf:entity-options entity-name="ContactMechType" key-field-name="contactMechTypeId">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+
+ <wf:field name="roleTypeIdFrom">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="RoleType" key-field-name="roleTypeId">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="roleTypeIdTo">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="RoleType" key-field-name="roleTypeId">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+
+ <wf:field name="custRequestId">
+ <wf:lookup size="20" target-form-name="LookupCustRequest">
+ <wf:sub-hyperlink target="/ordermgr/control/EditRequest" target-type="inter-app">
+ <wf:parameter param-name="custRequestId" from-field="communicationEvent.custRequestId"/>
+ </wf:sub-hyperlink>
+ </wf:lookup>
+ </wf:field>
+
+ <wf:field name="workEffortId" use-when="workEffort == null">
+ <wf:lookup size="20" target-form-name="LookupWorkEffort"/>
+ </wf:field>
+ <wf:field name="workEffortId" use-when="workEffort != null" map-name="workEffort"><wf:hidden /></wf:field>
+ <wf:field name="datetimeStarted" title="${uiLabelMap.CommonStartDate}"><wf:date-time/></wf:field>
+ <wf:field name="datetimeEnded" title="${uiLabelMap.CommonFinishDate}"><wf:date-time/></wf:field>
+ <wf:field name="subject"><wf:text size="30"/></wf:field>
+ <wf:field name="note" title="${uiLabelMap.CommonNote}"><wf:textarea/></wf:field>
+ <wf:field name="content" title="${uiLabelMap.CommonContent}"><wf:textarea rows="10"/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortContactMechCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortContactMechCpd.xml
new file mode 100644
index 0000000..3587db0
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortContactMechCpd.xml
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortContactMech/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortContactMech/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortContactMech/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortContactMech/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortContactMech/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortContactMech"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortContactMech/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortContactMech"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortContactMech/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortContactMechCpd.xml#AddWorkEffortContactMech"/>
+ <sc:view-map name="WorkEffortContactMech/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortContactMechCpd.xml#ListWorkEffortContactMechs"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortContactMechs">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortContactMech"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortContactMechTabBar" location="component://workeffort/widget/workeffort/WorkEffortContactMechCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortContactMechs" location="component://workeffort/widget/workeffort/WorkEffortContactMechCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortContactMech">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortContactMech"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortContactMech" location="component://workeffort/widget/workeffort/WorkEffortContactMechCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortContactMechTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortContactMech" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortContactMech/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortContactMech/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortContactMechsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteWorkEffortContactMech" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortContactMech/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="deleteWorkEffortContactMech"/>
+ <wm:set-callback area-target="WorkEffortContactMech/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortContactMechs" paginate-target="WorkEffortContactMech/List"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="WorkEffortContactMech">
+ <wf:field-map field-name="workEffortId" from-field="workEffortId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:row-actions>
+ <wf:entity-one entity-name="ContactMech" value-field="contactMech"/>
+ <wf:set field="contactMechTypeId" from-field="contactMech.contactMechTypeId"/>
+ <wf:entity-one entity-name="PostalAddress" value-field="postalAddress"/>
+ <wf:entity-one entity-name="TelecomNumber" value-field="telecomNumber"/>
+ </wf:row-actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="contactMechTypeId" title="${uiLabelMap.CommonType}"><wf:display-entity entity-name="ContactMechType"/></wf:field>
+ <wf:field name="contactMechId" use-when="telecomNumber != null" title="${uiLabelMap.CommonDescription}"><wf:display description="${telecomNumber.contryCode} ${telecomNumber.areaCode} ${telecomNumber.contactNumber} ${telecomNumber.askForName}"/></wf:field>
+ <wf:field name="contactMechId" use-when="postalAddress != null" title="${uiLabelMap.CommonDescription}"><wf:display description="${postalAddress.address1} ${postalAddress.address2} ${postalAddress.city} ${postalAddress.stateProvinceGeoId} ${postalAddress.postalCode} ${postalAddress.countryGeoId} "/></wf:field>
+ <wf:field name="contactMechId" use-when="telecomNumber == null @and postalAddress == null" title="${uiLabelMap.CommonDescription}"><wf:display description="${contactMech.infoString}"/></wf:field>
+ <wf:field name="comments"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortContactMechsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortContactMechCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+
+ <wf:form name="AddWorkEffortContactMech" target="WorkEffortContactMech/create"
+ focus-field-name="contactMechId"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="contactMechId"><wf:lookup target-form-name="LookupContactMech"/></wf:field>
+ <wf:field name="comments"><wf:text size="50"/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortContentsCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortContentsCpd.xml
new file mode 100644
index 0000000..5d002ca
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortContentsCpd.xml
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortContent/Add"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortContent/Add"/></sc:request-map>
+ <sc:request-map uri="WorkEffortContent/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortContent/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortContent/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortContent"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortContent/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateWorkEffortContent"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortContent/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortContent"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortContent/Add" type="screen" page="component://workeffort/widget/workeffort/WorkEffortContentsCpd.xml#AddWorkEffortContent"/>
+ <sc:view-map name="WorkEffortContent/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortContentsCpd.xml#ListWorkEffortContents"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortContents">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortContents"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortContentsTabBar" location="component://workeffort/widget/workeffort/WorkEffortContentsCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-form name="ListWorkEffortContents" location="component://workeffort/widget/workeffort/WorkEffortContentsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortContent">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleEditWorkEffortContent"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortContent" location="component://workeffort/widget/workeffort/WorkEffortContentsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortContentsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortContent" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortContent/Add" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortContent/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortContentsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteContents" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortContent/delete" confirmation-message="${uiLabelMap.CommonConfirmDelete}">
+ <wm:auto-parameters-service service-name="deleteWorkEffortContent"/>
+ <wm:set-callback area-target="WorkEffortContent/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:form name="ListWorkEffortContents" list-name="workEffortContents" target="WorkEffortContent/update" paginate-target="WorkEffortContent/List"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="WorkEffortContent" use-cache="true" list="workEffortContents">
+ <wf:field-map field-name="workEffortId" from-field="workEffortId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:auto-fields-service service-name="updateWorkEffortContent"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="contentId">
+ <wf:display-entity entity-name="Content" key-field-name="contentId" description="${contentName}">
+ <wf:sub-hyperlink target="/content/control/editContent" description="${contentId}" target-type="inter-app">
+ <wf:parameter param-name="contentId"/>
+ </wf:sub-hyperlink>
+ </wf:display-entity>
+ </wf:field>
+ <wf:field name="workEffortContentTypeId"><wf:display-entity entity-name="WorkEffortContentType"/></wf:field>
+ <wf:field name="fromDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="updateButton"><wf:submit/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortContentsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortContentsCpd.xml"/>
+ </wf:field>
+ <wf:on-event-update-area event-type="submit">
+ <wf:parameter param-name="workEffortId"/>
+ </wf:on-event-update-area>
+ </wf:form>
+
+ <wf:form name="AddWorkEffortContent" target="WorkEffortContent/create"
+ focus-field-name="contentId" default-map-name="workEffort"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:auto-fields-service service-name="createWorkEffortContent"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="contentId">
+ <wf:lookup target-form-name="LookupContent"/>
+ </wf:field>
+ <wf:field name="workEffortContentTypeId">
+ <wf:drop-down no-current-selected-key="">
+ <wf:entity-options entity-name="WorkEffortContentType">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortCpd.xml
new file mode 100644
index 0000000..725e028
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortCpd.xml
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <sc:request-map uri="WorkEffort/Find"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffort/Find"/></sc:request-map>
+ <sc:request-map uri="WorkEffort/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffort/List"/></sc:request-map>
+ <sc:request-map uri="WorkEffort/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffort/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffort/Duplicate"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffort/Duplicate"/></sc:request-map>
+ <sc:request-map uri="WorkEffort/Summary"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffort/Summary"/></sc:request-map>
+ <sc:request-map uri="WorkEffort/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffort/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffort/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffort/duplicate">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="duplicateWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:view-map name="WorkEffort/Find" type="screen" page="component://workeffort/widget/workeffort/WorkEffortCpd.xml#FindWorkEfforts"/>
+ <sc:view-map name="WorkEffort/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortCpd.xml#ListWorkEfforts"/>
+ <sc:view-map name="WorkEffort/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortCpd.xml#EditWorkEffort"/>
+ <sc:view-map name="WorkEffort/Duplicate" type="screen" page="component://workeffort/widget/workeffort/WorkEffortCpd.xml#DuplicateWorkEffort"/>
+ <sc:view-map name="WorkEffort/Summary" type="screen" page="component://workeffort/widget/WorkEffortRelatedSummaryScreens.xml#WorkEffortSummaryEmbedded"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="FindWorkEfforts">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleFindWorkEffort"/>
+ <ws:set field="asm_multipleSelectForm" value="FindWorkEffort"/>
+ <ws:set field="currentStatusId.asm_multipleSelect" value="FindWorkEffort_currentStatusId"/>
+ <ws:set field="currentStatusId.asm_sortable" value="true"/>
+ <ws:set field="currentStatusId.asm_title" value=" "/>
+ <ws:set field="asm_listField[]" from-field="currentStatusId"/>
+ <ws:set field="noConditionFind" value="Y"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml">
+ <ws:decorator-section name="menu-bar">
+ <ws:include-menu name="FindWorkEffortMenuBar" location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="search-options">
+ <ws:platform-specific>
+ <ws:html><ws:html-template multi-block="true" location="component://common-theme/template/includes/SetMultipleSelectJsList.ftl"/></ws:html>
+ </ws:platform-specific>
+ <ws:include-form name="FindWorkEffort" location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="search-results">
+ <ws:include-screen name="ListWorkEfforts" location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="ListWorkEfforts">
+ <ws:section>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEfforts" location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffort">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleEditWorkEffort"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffort" location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="DuplicateWorkEffort">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleEditWorkEffort"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="DuplicateWorkEffort" location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="FindWorkEffortMenuBar" extends="CommonButtonBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="WorkEffortCreate" title="${uiLabelMap.WorkEffortCreate}">
+ <wm:condition>
+ <wm:if-service-permission service-name="workEffortManagerPermission" main-action="VIEW"/>
+ </wm:condition>
+ <wm:link target="WorkEffort/Edit" link-type="layered-modal" width="800" height="1024">
+ <wm:set-callback area-target="WorkEffort/Find"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="WorkEffortSearchOptions" title="${uiLabelMap.CommonAdvancedSearch}">
+ <wm:link target="WorkEffortSearchOptions"/>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="WorkEffortSummary" title="${uiLabelMap.CommonSummary}">
+ <wm:link target="WorkEffort/Summary" link-type="layered-modal" width="800" height="1024">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="WorkEffortUpdate" title="${uiLabelMap.CommonUpdate}">
+ <wm:condition>
+ <wm:if-service-permission service-name="workEffortManagerPermission" main-action="VIEW"/>
+ </wm:condition>
+ <wm:link target="WorkEffort/Edit" link-type="layered-modal" width="800" height="1024">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffort/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="WorkEffortDuplicate" title="${uiLabelMap.CommonDuplicate}">
+ <wm:condition>
+ <wm:if-service-permission service-name="workEffortManagerPermission" main-action="VIEW"/>
+ </wm:condition>
+ <wm:link target="WorkEffort/Duplicate" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffort/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="WorkEffortDelete" title="${uiLabelMap.CommonDelete}">
+ <wm:condition>
+ <wm:if-service-permission service-name="workEffortManagerPermission" main-action="VIEW"/>
+ </wm:condition>
+ <wm:link target="WorkEffort/delete" confirmation-message="${uiLabelMap.CommonConfirmDelete}">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffort/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:form name="EditWorkEffort" extends="EditWorkEffort" extends-resource="component://workeffort/widget/WorkEffortForms.xml"
+ target="WorkEffort/update" focus-field-name="workEffortName">
+ <wf:alt-target target="WorkEffort/create" use-when="workEffort==null"/>
+ </wf:form>
+ <wf:form name="DuplicateWorkEffort" extends="EditWorkEffortDuplicate" extends-resource="component://workeffort/widget/WorkEffortForms.xml"
+ target="WorkEffort/duplicate"/>
+ <wf:grid name="ListWorkEfforts" extends="ListWorkEfforts" extends-resource="component://workeffort/widget/WorkEffortForms.xml"
+ paginate-target="WorkEffort/List">
+ <wf:field name="deleteLink" title=" ">
+ <wf:include-menu name="ListWorkEffortsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+ <wf:form name="FindWorkEffort" default-map-name="parameters" target="WorkEffort/Find"
+ extends="CommonDynamicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="noConditionFind"><wf:hidden value="Y"/></wf:field>
+ <wf:field name="workEffortId" title="${uiLabelMap.WorkEffortWorkEffortId}"><wf:text-find/></wf:field>
+ <wf:field name="workEffortParentId" position="2"><wf:text-find/></wf:field>
+ <wf:field name="workEffortTypeId" title="${uiLabelMap.CommonType}">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="WorkEffortType" key-field-name="workEffortTypeId">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="workEffortPurposeTypeId" position="2" title="${uiLabelMap.CommonPurpose}">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="WorkEffortPurposeType" key-field-name="workEffortPurposeTypeId">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="currentStatusId" title="${uiLabelMap.CommonStatus}">
+ <wf:drop-down allow-multiple="true">
+ <wf:entity-options entity-name="StatusItem" key-field-name="statusId" description="[${uiLabelMap.WorkEffortGeneral}] ${description}">
+ <wf:entity-constraint name="statusTypeId" value="CALENDAR_STATUS"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ <wf:entity-options entity-name="StatusItem" key-field-name="statusId" description="[${uiLabelMap.WorkEffortTask}] ${description}">
+ <wf:entity-constraint name="statusTypeId" value="TASK_STATUS"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ <wf:entity-options entity-name="StatusItem" key-field-name="statusId" description="[${uiLabelMap.WorkEffortEvent}] ${description}">
+ <wf:entity-constraint name="statusTypeId" value="EVENT_STATUS"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="priority" position="2">
+ <wf:drop-down allow-empty="true">
+ <wf:option key="9"/>
+ <wf:option key="8"/>
+ <wf:option key="7"/>
+ <wf:option key="6"/>
+ <wf:option key="5"/>
+ <wf:option key="4"/>
+ <wf:option key="3"/>
+ <wf:option key="2"/>
+ <wf:option key="1"/>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="workEffortName"><wf:text-find/></wf:field>
+ <wf:field name="description" position="2"><wf:text-find/></wf:field>
+ <wf:field name="facilityId"><wf:lookup target-form-name="LookupFacility"/></wf:field>
+ <wf:field name="fixedAssetId" position="2"><wf:lookup target-form-name="LookupFixedAsset"/></wf:field>
+ <wf:field name="scopeEnumId">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="Enumeration" key-field-name="enumId">
+ <wf:entity-constraint name="enumTypeId" value="WORK_EFF_SCOPE"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="moneyUomId" title="${uiLabelMap.CommonCurrency}" position="2">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom">
+ <wf:entity-constraint name="uomTypeId" value="CURRENCY_MEASURE"/>
+ <wf:entity-order-by field-name="abbreviation"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="partyId"><wf:lookup target-form-name="LookupPartyName"/></wf:field>
+
+ <wf:field name="workflowPackageId"><wf:ignored/></wf:field>
+ <wf:field name="workflowPackageVersion"><wf:ignored/></wf:field>
+ <wf:field name="workflowProcessId"><wf:ignored/></wf:field>
+ <wf:field name="workflowProcessVersion"><wf:ignored/></wf:field>
+ <wf:field name="workflowActivityId"><wf:ignored/></wf:field>
+ <wf:field name="recurrenceInfoId"><wf:ignored/></wf:field>
+ <wf:field name="runtimeDataId"><wf:ignored/></wf:field>
+ <wf:field name="noteId"><wf:ignored/></wf:field>
+
+ <wf:field name="searchButton" ><wf:submit /></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml
new file mode 100644
index 0000000..efdae3b
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortEventReminders/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortEventReminders/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortEventReminders/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortEventReminders/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortEventReminders/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortEventReminder"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortEventReminders/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateWorkEffortEventReminder"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortEventReminders/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortEventReminder"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortEventReminders/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml#AddWorkEffortEventReminder"/>
+ <sc:view-map name="WorkEffortEventReminders/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml#ListWorkEffortEventReminders"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortEventReminders">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortEventReminders"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortEventRemindersTabBar" location="component://workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-form name="ListWorkEffortEventReminders" location="component://workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortEventReminder">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortEventReminders"/>
+ <ws:entity-one entity-name="WorkEffortEventReminder" value-field="workEffortEventReminder"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortEventReminder" location="component://workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortEventRemindersTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortNote" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortEventReminders/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortEventReminders/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortEventRemindersInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortEventReminder" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortEventReminders/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="contactMechId"/>
+ <wm:parameter param-name="sequenceId"/>
+ <wm:set-callback area-target="WorkEffortEventReminders/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="deleteLink" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortEventReminders/delete" request-confirmation="true">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="contactMechId"/>
+ <wm:parameter param-name="sequenceId"/>
+ <wm:set-callback area-target="WorkEffortEventReminders/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:form name="ListWorkEffortEventReminders" type="list" list-name="workEffortEventReminders"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortEventReminder">
+ <wf:condition-expr field-name="workEffortId" operator="equals" from-field="workEffortId"/>
+ <wf:order-by field-name="-reminderDateTime"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="sequenceId"><wf:hidden/></wf:field>
+ <wf:field name="contactMechId"><wf:display/></wf:field>
+ <wf:field name="partyId"><wf:display/></wf:field>
+ <wf:field name="reminderDateTime"><wf:display/></wf:field>
+ <wf:field name="repeatCount"><wf:display/></wf:field>
+ <wf:field name="repeatInterval"><wf:display/></wf:field>
+ <wf:field name="reminderOffset"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortEventRemindersInLineBar" location="component://workeffort/widget/workeffort/WorkEffortEventRemindersCpd.xml"/>
+ </wf:field>
+ </wf:form>
+
+ <wf:form name="AddWorkEffortEventReminder" type="single" target="WorkEffortEventReminders/update" title="" default-map-name="workEffortEventReminder"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:alt-target use-when="workEffortEventReminder == null" target="WorkEffortEventReminders/create"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="contactMechId"><wf:hidden/></wf:field>
+ <wf:field name="sequenceId"><wf:hidden/></wf:field>
+ <wf:field name="localeId"><wf:hidden value="${locale}"/></wf:field>
+ <wf:field name="timeZoneId"><wf:hidden value="${timeZone}"/></wf:field>
+ <wf:field name="contactMechId"><wf:lookup target-form-name="LookupContactMech"/></wf:field>
+ <wf:field name="partyId"><wf:lookup target-form-name="LookupPartyName"/></wf:field>
+ <wf:field name="reminderDateTime"><wf:date-time/></wf:field>
+ <wf:field name="repeatCount"><wf:text/></wf:field>
+ <wf:field name="repeatInterval"><wf:text/></wf:field>
+ <wf:field name="reminderOffset"><wf:lookup target-form-name="LookupTimeDuration" presentation="window"/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml
new file mode 100644
index 0000000..9dccaf8
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <sc:request-map uri="WorkEffortFixedAsset/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortFixedAsset/List"/></sc:request-map>
+ <sc:request-map uri="WorkEffortFixedAsset/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortFixedAsset/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortFixedAsset/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortFixedAssetAssign"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortFixedAsset/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateWorkEffortFixedAssetAssign"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortFixedAsset/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="removeWorkEffortFixedAssetAssign"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:view-map name="WorkEffortFixedAsset/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml#ListWorkEffortFixedAssets"/>
+ <sc:view-map name="WorkEffortFixedAsset/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml#EditWorkEffortFixedAsset"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortFixedAssets">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortFixedAssetAssign"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortFixedAssetTabBar" location="component://workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortFixedAssets" location="component://workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortFixedAsset">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortFixedAsset"/>
+ <ws:entity-one entity-name="WorkEffortFixedAssetAssign" value-field="workEffortFixedAssetAssign"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffortFixedAsset" location="component://workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortFixedAssetTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortFixedAsset" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortFixedAsset/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortFixedAsset/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortFixedAssetsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortFixedAsset" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortFixedAsset/Edit" link-type="layered-modal">
+ <wm:auto-parameters-entity entity-name="WorkEffortFixedAssetAssign"/>
+ <wm:set-callback area-target="WorkEffortFixedAsset/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="DeleteWorkEffortFixedAsset" title="${uiLabelMap.CommonExpire}">
+ <wm:condition>
+ <wm:if-empty field="thruDate"/>
+ </wm:condition>
+ <wm:link target="WorkEffortFixedAsset/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="removeWorkEffortFixedAssetAssign"/>
+ <wm:set-callback area-target="WorkEffortFixedAsset/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortFixedAssets" paginate-target="WorkEffortFixedAsset/List"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortFixedAssetAssign" filter-by-date="true">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ <wf:order-by field-name="-fromDate"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="fixedAssetId" title="${uiLabelMap.AccountingFixedAsset}">
+ <wf:display-entity entity-name="FixedAsset" description="${fixedAssetName}">
+ <wf:sub-hyperlink target="/accounting/control/EditFixedAsset" target-type="inter-app" description="${fixedAssetId}">
+ <wf:parameter param-name="fixedAssetId"/>
+ </wf:sub-hyperlink>
+ </wf:display-entity>
+ </wf:field>
+ <wf:field name="fromDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="thruDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="statusId"><wf:display-entity entity-name="StatusItem"/></wf:field>
+ <wf:field name="availabilityStatusId"><wf:display-entity entity-name="StatusItem" key-field-name="statusId"/></wf:field>
+ <wf:field name="allocatedCost"><wf:display type="number" format="price"/></wf:field>
+ <wf:field name="comments"><wf:display size="60"/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortFixedAssetsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortFixedAssetCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+ <wf:form name="EditWorkEffortFixedAsset" target="WorkEffortFixedAsset/update"
+ focus-field-name="fixedAssetId" default-map-name="workEffortFixedAssetAssign"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:alt-target target="WorkEffortFixedAsset/create" use-when="workEffortFixedAssetAssign==null"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="fixedAssetId"><wf:lookup target-form-name="LookupFixedAsset"/></wf:field>
+ <wf:field name="fromDate"><wf:date-time default-value="${nowTimestamp}"/></wf:field>
+ <wf:field name="thruDate"><wf:date-time/></wf:field>
+ <wf:field name="statusId">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="StatusItem">
+ <wf:entity-constraint name="statusTypeId" value="FA_ASGN_STATUS"/>
+ <wf:entity-order-by field-name="sequenceId"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="availabilityStatusId">
+ <wf:drop-down no-current-selected-key="WEFA_IN_USE">
+ <wf:entity-options entity-name="StatusItem" key-field-name="statusId">
+ <wf:entity-constraint name="statusTypeId" value="WEFA_AVAILABILITY"/>
+ <wf:entity-order-by field-name="sequenceId"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="allocatedCost"><wf:text/></wf:field>
+ <wf:field name="comments"><wf:text size="60" maxlength="255"/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml
new file mode 100644
index 0000000..debdb6f
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortGoodStandard/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortGoodStandard/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortGoodStandard/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortGoodStandard/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortGoodStandard/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortGoodStandard"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortGoodStandard/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateWorkEffortGoodStandard"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortGoodStandard/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="removeWorkEffortGoodStandard"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortGoodStandard/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml#EditWorkEffortGoodStandard"/>
+ <sc:view-map name="WorkEffortGoodStandard/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml#ListWorkEffortGoodStandards"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortGoodStandards">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortGoodStandards"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortGoodStandardsTabBar" location="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-form name="ListWorkEffortGoodStandards" location="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortGoodStandard">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="WorkEffortAddGoodStandard"/>
+ <ws:entity-one entity-name="WorkEffortGoodStandard" value-field="workEffortGoodStandard"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:section>
+ <ws:condition>
+ <ws:if-empty field="workEffortGoodStandard"/>
+ </ws:condition>
+ <ws:widgets>
+ <ws:include-form name="AddWorkEffortGoodStandard" location="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml"/>
+ </ws:widgets>
+ <ws:fail-widgets>
+ <ws:include-form name="EditWorkEffortGoodStandard" location="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml"/>
+ </ws:fail-widgets>
+ </ws:section>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortGoodStandardsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortGoodStandard" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortGoodStandard/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortGoodStandard/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortGoodStandardsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortGoodStandard" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortGoodStandard/Edit" link-type="layered-modal">
+ <wm:auto-parameters-service service-name="updateWorkEffortGoodStandard"/>
+ <wm:set-callback area-target="WorkEffortGoodStandard/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="DeleteWorkEffortGoodStandard" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortGoodStandard/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="removeWorkEffortGoodStandard"/>
+ <wm:set-callback area-target="WorkEffortGoodStandard/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:form name="ListWorkEffortGoodStandards" paginate-target="WorkEffortGoodStandard/List"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortGoodStandard">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ <wf:order-by field-name="productId"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="productId"><wf:display-entity entity-name="Product"/></wf:field>
+ <wf:field name="workEffortGoodStdTypeId"><wf:display-entity entity-name="WorkEffortGoodStandardType"/></wf:field>
+ <wf:field name="fromDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="thruDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="statusId" title="${uiLabelMap.CommonStatus}"><wf:display-entity entity-name="StatusItem"/></wf:field>
+ <wf:field name="estimatedQuantity"><wf:display type="number" format="quantity"/></wf:field>
+ <wf:field name="estimatedCost"><wf:display type="number" format="price"/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortGoodStandardsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortGoodStandardsCpd.xml"/>
+ </wf:field>
+ </wf:form>
+
+ <wf:form name="AddWorkEffortGoodStandard" target="WorkEffortGoodStandard/create"
+ focus-field-name="productId"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:auto-fields-service service-name="createWorkEffortGoodStandard"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="productId" required-field="true"><wf:lookup target-form-name="LookupProduct"/></wf:field>
+ <wf:field name="workEffortGoodStdTypeId">
+ <wf:drop-down no-current-selected-key="">
+ <wf:entity-options entity-name="WorkEffortGoodStandardType">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="fromDate"><wf:date-time default-value="${nowTimestamp}"/></wf:field>
+ <wf:field name="statusId" title="${uiLabelMap.CommonStatus}">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="StatusItem">
+ <wf:entity-constraint name="statusTypeId" value="WEFG_STATUS"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ <wf:form name="EditWorkEffortGoodStandard" target="WorkEffortGoodStandard/update"
+ focus-field-name="statusId" default-map-name="WorkEffortGoodStandard"
+ extends="AddWorkEffortGoodStandard">
+ <wf:auto-fields-service service-name="updateWorkEffortGoodStandard"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="productId"><wf:display-entity entity-name="Product"/></wf:field>
+ <wf:field name="workEffortGoodStdTypeId"><wf:display-entity entity-name="WorkEffortGoodStandardType"/></wf:field>
+ <wf:field name="fromDate" ><wf:display type="date-time"/></wf:field>
+ <wf:field name="statusId" title="${uiLabelMap.CommonStatus}">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="StatusItem">
+ <wf:entity-constraint name="statusTypeId" value="WEFG_STATUS"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml
new file mode 100644
index 0000000..feda50c
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortKeywords/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortKeywords/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortKeywords/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortKeywords/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortKeywords/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortKeyword"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortKeywords/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortKeyword"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortKeywords/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml#AddWorkEffortKeyword"/>
+ <sc:view-map name="WorkEffortKeywords/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml#ListWorkEffortKeywords"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortKeywords">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortKeywords"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortKeywordsTabBar" location="component://workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-form name="ListWorkEffortKeywords" location="component://workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortKeyword">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortKeywords"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortKeyword" location="component://workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortKeywordsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortKeyword" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortKeywords/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortKeywords/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortKeywordsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteWorkEffortKeyword" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortKeywords/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="deleteWorkEffortKeyword"/>
+ <wm:set-callback area-target="WorkEffortKeywords/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:form name="ListWorkEffortKeywords" paginate-target="WorkEffortKeywords/List"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortKeyword" >
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="keyword" title="${uiLabelMap.WorkEffortKeywords}"><wf:display/></wf:field>
+ <wf:field name="relevancyWeight"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortKeywordsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortKeywordsCpd.xml"/>
+ </wf:field>
+ </wf:form>
+
+ <wf:form name="AddWorkEffortKeyword" target="WorkEffortKeywords/create"
+ focus-field-name="keyword" default-map-name="workEffortKeywordAndData"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="keyword" title="${uiLabelMap.WorkEffortKeyword}*"><wf:text size="10"/></wf:field>
+ <wf:field name="relevancyWeight" title="${uiLabelMap.ProductWeight}"><wf:text size="5"/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortNotesCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortNotesCpd.xml
new file mode 100644
index 0000000..1559f72
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortNotesCpd.xml
@@ -0,0 +1,171 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortNotes/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortNotes/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortNotes/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortNotes/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortNotes/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortNote"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortNotes/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateWorkEffortNote"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortNotes/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortNotesCpd.xml#AddWorkEffortNote"/>
+ <sc:view-map name="WorkEffortNotes/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortNotesCpd.xml#ListWorkEffortNotes"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortNotes">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortNotes"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortNotesTabBar" location="component://workeffort/widget/workeffort/WorkEffortNotesCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortNotes" location="component://workeffort/widget/workeffort/WorkEffortNotesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortNote">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortNotes"/>
+ <ws:entity-one entity-name="WorkEffortNoteAndData" value-field="workEffortNoteAndData"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortNote" location="component://workeffort/widget/workeffort/WorkEffortNotesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortNotesTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortNote" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortNotes/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortNotes/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortNotesInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortNote" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortNotes/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="noteId"/>
+ <wm:set-callback area-target="WorkEffortNotes/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="PrivateNotes" title="${uiLabelMap.OrderNotesPrivate}">
+ <wm:condition>
+ <wm:if-compare field="internalNote" operator="equals" value="N"/>
+ </wm:condition>
+ <wm:link target="WorkEffortNotes/update" >
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="noteId"/>
+ <wm:parameter param-name="internalNote" value="Y"/>
+ <wm:set-callback area-target="WorkEffortNotes/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="PublicNotes" title="${uiLabelMap.OrderNotesPublic}">
+ <wm:condition>
+ <wm:if-compare field="internalNote" operator="equals" value="Y"/>
+ </wm:condition>
+ <wm:link target="WorkEffortNotes/update" >
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="noteId"/>
+ <wm:parameter param-name="internalNote" value="N"/>
+ <wm:set-callback area-target="WorkEffortNotes/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortNotes" list-name="workEffortNotes" paginate-target="WorkEffortNotes/List"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortNoteAndData">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ <wf:order-by field-name="noteId"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="noteId"><wf:display/></wf:field>
+ <wf:field name="workEffortId" entity-name="WorkEffort"><wf:hidden/></wf:field>
+ <wf:field name="noteInfo" title="${uiLabelMap.CommonNote}"><wf:display/></wf:field>
+ <wf:field name="noteParty" title="${uiLabelMap.CommonBy}">
+ <wf:display description="${groovy:org.apache.ofbiz.party.party.PartyHelper.getPartyName(delegator, noteParty, true)} at ${noteDateTime}"/>
+ </wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortNotesInLineBar" location="component://workeffort/widget/workeffort/WorkEffortNotesCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+
+ <wf:form name="AddWorkEffortNote" target="WorkEffortNotes/update" title=""
+ focus-field-name="noteId" default-map-name="workEffortNoteAndData"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:alt-target use-when="workEffortNoteAndData == null" target="WorkEffortNotes/create"/>
+ <wf:auto-fields-service service-name="createWorkEffortNote"/>
+ <wf:field name="noteId" use-when="workEffortNoteAndData != null"><wf:hidden/></wf:field>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="noteInfo" title="${uiLabelMap.CommonNote}"><wf:textarea cols="70" rows="5"/></wf:field>
+ <wf:field name="internalNote" title="${uiLabelMap.WorkEffortInternalNote}">
+ <wf:drop-down no-current-selected-key="">
+ <wf:option key="Y" description="${uiLabelMap.CommonYes}"/>
+ <wf:option key="N" description="${uiLabelMap.CommonNo}"/>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="noteParty"><wf:hidden/></wf:field>
+ <wf:field name="noteName"><wf:hidden/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortOrdersCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortOrdersCpd.xml
new file mode 100644
index 0000000..469be05
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortOrdersCpd.xml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortOrderHeader/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortOrderHeader/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortOrderHeader/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortOrderHeader/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortOrderHeader/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createOrderHeaderWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortOrderHeader/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteOrderHeaderWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortOrderHeader/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortOrdersCpd.xml#AddWorkEffortOrderHeader"/>
+ <sc:view-map name="WorkEffortOrderHeader/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortOrdersCpd.xml#ListWorkEffortOrderHeaders"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortOrderHeaders">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortOrderHeaders"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortOrderHeadersTabBar" location="component://workeffort/widget/workeffort/WorkEffortOrdersCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortOrderHeaders" location="component://workeffort/widget/workeffort/WorkEffortOrdersCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortOrderHeader">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortOrderHeaders"/>
+ <ws:entity-one entity-name="WorkEffortOrderHeaderView" value-field="workEffortOrderHeader"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortOrderHeader" location="component://workeffort/widget/workeffort/WorkEffortOrdersCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortOrderHeadersTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortOrderHeader" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortOrderHeader/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortOrderHeader/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortOrderHeadersInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteOrderHeaders" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortOrderHeader/delete" request-confirmation="true">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="orderId"/>
+ <wm:set-callback area-target="WorkEffortOrderHeader/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortOrderHeaders" list-name="workEffortOrderHeaders" paginate-target="WorkEffortOrderHeader/List"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortOrderHeaderView">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ <wf:order-by field-name="orderId"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="orderId">
+ <wf:hyperlink description="${orderId}" target="/ordermgr/control/orderview" target-type="inter-app">
+ <wf:parameter param-name="orderId"/>
+ <wf:parameter param-name="workEffortId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="statusItemDescription"><wf:display/></wf:field>
+ <wf:field name="orderTypeDescription"><wf:display/></wf:field>
+ <wf:field name="orderDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="grandTotal"><wf:display currency="${currencyUom}" type="currency"/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortOrderHeadersInLineBar" location="component://workeffort/widget/workeffort/WorkEffortOrdersCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+
+ <wf:form name="AddWorkEffortOrderHeader" target="WorkEffortOrderHeader/create"
+ focus-field-name="orderId" default-map-name="workEffortOrderHeaderAndData"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="orderId"><wf:lookup target-form-name="LookupOrderHeader"/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml
new file mode 100644
index 0000000..a1bf96c
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml
@@ -0,0 +1,205 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <sc:request-map uri="WorkEffortPartyAssigns/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortPartyAssigns/List"/></sc:request-map>
+ <sc:request-map uri="WorkEffortPartyAssigns/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortPartyAssigns/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortPartyAssigns/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="assignPartyToWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortPartyAssigns/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updatePartyToWorkEffortAssignment"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortPartyAssigns/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deletePartyToWorkEffortAssignment"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:view-map name="WorkEffortPartyAssigns/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml#ListWorkEffortPartyAssigns"/>
+ <sc:view-map name="WorkEffortPartyAssigns/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml#EditWorkEffortPartyAssign"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortPartyAssigns">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortPartyAssigns"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortPartyAssignTabBar" location="component://workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortPartyAssigns" location="component://workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortPartyAssign">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortPartyAssign"/>
+ <ws:entity-one entity-name="WorkEffortPartyAssignment" value-field="workEffortPartyAssignment"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffortPartyAssign" location="component://workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortPartyAssignTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortPartyAssign" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortPartyAssigns/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortPartyAssigns/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortPartyAssignsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortPartyAssign" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortPartyAssigns/Edit" link-type="layered-modal">
+ <wm:auto-parameters-service service-name="updatePartyToWorkEffortAssignment"/>
+ <wm:set-callback area-target="WorkEffortPartyAssigns/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="DeleteWorkEffortPartyAssign" title="${uiLabelMap.CommonExpire}">
+ <wm:condition>
+ <wm:if-empty field="thruDate"/>
+ </wm:condition>
+ <wm:link target="WorkEffortPartyAssigns/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="deletePartyToWorkEffortAssignment"/>
+ <wm:set-callback area-target="WorkEffortPartyAssigns/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortPartyAssigns" target="WorkEffortPartyAssigns/update" paginate-target="WorkEffortPartyAssigns/List"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortPartyAssignment">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ <wf:order-by field-name="roleTypeId"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="partyId">
+ <wf:display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}">
+ <wf:sub-hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyId}">
+ <wf:parameter param-name="partyId"/>
+ </wf:sub-hyperlink>
+ </wf:display-entity>
+ </wf:field>
+ <wf:field name="roleTypeId" title="${uiLabelMap.PartyRoleType}"><wf:display-entity entity-name="RoleType"/></wf:field>
+ <wf:field name="statusDateTime"><wf:display/></wf:field>
+ <wf:field name="fromDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="thruDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="statusId"><wf:display-entity entity-name="StatusItem"/></wf:field>
+ <wf:field name="availabilityStatusId"><wf:display-entity entity-name="StatusItem" key-field-name="statusId"/></wf:field>
+ <wf:field name="expectationEnumId" title="${uiLabelMap.CommonExpectation}"><wf:display-entity entity-name="Enumeration" key-field-name="enumId"/></wf:field>
+ <wf:field name="delegateReasonEnumId" title="${uiLabelMap.WorkEffortDelegateReason}"><wf:display-entity entity-name="Enumeration" key-field-name="enumId"/></wf:field>
+ <wf:field name="facilityId"><wf:display-entity entity-name="Facility" description="${facilityName}"/></wf:field>
+ <wf:field name="mustRsvp"><wf:display/></wf:field>
+ <wf:field name="comments"><wf:display size="10"/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortPartyAssignsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortPartyAssignCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+ <wf:form name="EditWorkEffortPartyAssign" target="WorkEffortPartyAssigns/update"
+ focus-field-name="partyId" default-map-name="workEffortPartyAssignment"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:alt-target target="WorkEffortPartyAssigns/create" use-when="workEffortPartyAssignment==null"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="partyId"><wf:lookup target-form-name="LookupPartyName"/></wf:field>
+ <wf:field name="roleTypeId" title="${uiLabelMap.PartyRoleType}">
+ <wf:drop-down>
+ <wf:entity-options entity-name="RoleType">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="fromDate"><wf:date-time default-value="${nowTimestamp}"/></wf:field>
+ <wf:field name="thruDate"><wf:date-time/></wf:field>
+ <wf:field name="statusId">
+ <wf:drop-down no-current-selected-key="PRTYASGN_ASSIGNED">
+ <wf:entity-options entity-name="StatusItem">
+ <wf:entity-constraint name="statusTypeId" value="PRTYASGN_STATUS"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="availabilityStatusId">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="StatusItem" key-field-name="statusId">
+ <wf:entity-constraint name="statusTypeId" value="WEPA_AVAILABILITY"/>
+ <wf:entity-order-by field-name="sequenceId"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="expectationEnumId" title="${uiLabelMap.CommonExpectation}">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="Enumeration" key-field-name="enumId">
+ <wf:entity-constraint name="enumTypeId" value="WORK_EFF_EXPECT"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="delegateReasonEnumId" title="${uiLabelMap.WorkEffortDelegateReason}">
+ <wf:drop-down allow-empty="true">
+ <wf:entity-options entity-name="Enumeration" key-field-name="enumId">
+ <wf:entity-constraint name="enumTypeId" value="WORK_EFF_DEL_REAS"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="facilityId"><wf:lookup target-form-name="LookupFacility"/></wf:field>
+ <wf:field name="mustRsvp"><wf:check/></wf:field>
+ <wf:field name="comments"><wf:text size="60" maxlength="255"/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortQuotesCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortQuotesCpd.xml
new file mode 100644
index 0000000..a0daed8
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortQuotesCpd.xml
@@ -0,0 +1,249 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortQuotes/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortQuotes/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortQuotes/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortQuotes/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortQuotes/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortQuote"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortQuotes/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortQuote"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <sc:request-map uri="WorkEffortQuoteItems/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortQuoteItems/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortQuoteItems/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortQuoteItems/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortQuoteItems/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createQuoteItem"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortQuoteItems/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="removeQuoteItem"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortQuotes/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml#AddWorkEffortQuote"/>
+ <sc:view-map name="WorkEffortQuotes/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml#ListWorkEffortQuotes"/>
+ <sc:view-map name="WorkEffortQuoteItems/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml#AddWorkEffortQuoteItem"/>
+ <sc:view-map name="WorkEffortQuoteItems/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml#ListWorkEffortQuoteItems"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortQuotes">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortQuotes"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortQuotesTabBar" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-form name="ListWorkEffortQuotes" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortQuote">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortQuote"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortQuote" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+
+ <ws:screen name="ListWorkEffortQuoteItems">
+ <ws:section>
+ <ws:actions>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortQuoteItemsTabBar" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-form name="ListWorkEffortQuoteItems" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortQuoteItem">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortQuoteItem"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortQuoteItem" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortQuotesTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortQuote" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortQuotes/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortQuotes/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortQuotesInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortQuote" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortQuotes/delete" request-confirmation="true">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="quoteId"/>
+ <wm:set-callback area-target="WorkEffortQuotes/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="WorkEffortQuoteItemsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortQuoteItem" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortQuoteItems/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortQuoteItems/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortQuoteItemsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortQuoteItem" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortQuoteItems/delete" request-confirmation="true">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="quoteId"/>
+ <wm:parameter param-name="quoteItemSeqId"/>
+ <wm:set-callback area-target="WorkEffortQuoteItems/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:form name="ListWorkEffortQuotes" paginate-target="WorkEffortQuotes/List"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="WorkEffortQuoteView">
+ <wf:field-map field-name="workEffortId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="quoteId">
+ <wf:hyperlink description="${quoteId}" target="/ordermgr/control/EditQuote" target-type="inter-app">
+ <wf:parameter param-name="quoteId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="quoteName"><wf:display/></wf:field>
+ <wf:field name="description"><wf:display/></wf:field>
+ <wf:field name="statusItemDescription"><wf:display/></wf:field>
+ <wf:field name="issueDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortQuotesInLineBar" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ </wf:field>
+ </wf:form>
+ <wf:form name="AddWorkEffortQuote" target="WorkEffortQuotes/create"
+ focus-field-name="quoteId"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="quoteId"><wf:lookup target-form-name="LookupQuote"/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+
+ <wf:form name="ListWorkEffortQuoteItems" paginate-target="WorkEffortQuoteItems/List"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="QuoteItem">
+ <wf:field-map field-name="workEffortId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="quoteId">
+ <wf:hyperlink description="${quoteId}" target="/ordermgr/control/EditQuote" target-type="inter-app">
+ <wf:parameter param-name="quoteId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="quoteItemSeqId">
+ <wf:hyperlink description="${quoteItemSeqId}" target="/ordermgr/control/EditQuoteItem" target-type="inter-app">
+ <wf:parameter param-name="workEffortId"/>
+ <wf:parameter param-name="quoteId"/>
+ <wf:parameter param-name="quoteItemSeqId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="productId"><wf:display/></wf:field>
+ <wf:field name="custRequestId"><wf:display/></wf:field>
+ <wf:field name="custRequestItemSeqId"><wf:display/></wf:field>
+ <wf:field name="estimatedDeliveryDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="comments"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortQuoteItemsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortQuotesCpd.xml"/>
+ </wf:field>
+ </wf:form>
+
+ <wf:form name="AddWorkEffortQuoteItem" target="WorkEffortQuoteItems/create"
+ focus-field-name="quoteId"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="quoteId"><wf:lookup target-form-name="LookupQuote"/></wf:field>
+ <wf:field name="quoteItemSeqId"><wf:lookup target-form-name="LookupQuoteItem" target-parameter="quoteId"/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml
new file mode 100644
index 0000000..556e3af
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <sc:request-map uri="WorkEffortRate/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRate/List"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRate/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRate/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRate/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateRateAmount"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortRate/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="expireRateAmount"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:view-map name="WorkEffortRate/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml#ListWorkEffortRates"/>
+ <sc:view-map name="WorkEffortRate/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml#EditWorkEffortRate"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortRates">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortAssignmentRate"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortRateTabBar" location="component://workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortRates" location="component://workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortRate">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortAssignmentRate"/>
+ <ws:entity-one entity-name="RateAmount" value-field="workEffortRateAmount"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffortRate" location="component://workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortRateTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortRate" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortRate/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortRate/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortRatesInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortRate" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortRate/Edit" link-type="layered-modal">
+ <wm:auto-parameters-service service-name="updateRateAmount"/>
+ <wm:set-callback area-target="WorkEffortRate/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="DeleteWorkEffortRate" title="${uiLabelMap.CommonExpire}">
+ <wm:condition>
+ <wm:if-empty field="thruDate"/>
+ </wm:condition>
+ <wm:link target="WorkEffortRate/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="expireRateAmount"/>
+ <wm:set-callback area-target="WorkEffortRate/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortRates" paginate-target="WorkEffortRate/List"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="RateAmount" filter-by-date="true">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ <wf:order-by field-name="rateTypeId"/>
+ <wf:order-by field-name="periodTypeId"/>
+ <wf:order-by field-name="rateCurrencyUomId"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="fromDate"><wf:hidden/></wf:field>
+ <wf:field name="rateCurrencyUomId"><wf:hidden/></wf:field>
+ <wf:field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}"><wf:display-entity entity-name="RateType"/></wf:field>
+ <wf:field name="rateAmount"><wf:display type="currency" currency="${rateCurrencyUomId}"/></wf:field>
+ <wf:field name="periodTypeId"><wf:display-entity entity-name="PeriodType"/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortRatesInLineBar" location="component://workeffort/widget/workeffort/WorkEffortRateAssignCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+ <wf:form name="EditWorkEffortRate" target="WorkEffortRate/update"
+ focus-field-name="rateTypeId" default-map-name="workEffortRateAmount"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
+ <wf:set field="periodTypeId" value="RATE_HOUR"/>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}">
+ <wf:drop-down no-current-selected-key="STANDARD">
+ <wf:entity-options entity-name="RateType">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="periodTypeId" position="2">
+ <wf:drop-down>
+ <wf:entity-options entity-name="PeriodType">
+ <wf:entity-constraint name="periodTypeId" operator="like" value="RATE_%"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="rateAmount" tooltip="${uiLabelMap.WorkEffortOverrideDefaultRateAmount}"><wf:text/></wf:field>
+ <wf:field name="rateCurrencyUomId" position="2">
+ <wf:drop-down allow-empty="true" no-current-selected-key="${defaultOrganizationPartyCurrencyUomId}">
+ <wf:entity-options key-field-name="uomId" description="${abbreviation} - ${description}" entity-name="Uom">
+ <wf:entity-constraint name="uomTypeId" value="CURRENCY_MEASURE"/>
+ <wf:entity-order-by field-name="abbreviation"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml
new file mode 100644
index 0000000..641c781
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml
@@ -0,0 +1,257 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+
+ <!--Header-->
+ <sc:request-map uri="WorkEffortRequests/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRequests/List"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRequests/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRequests/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRequests/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortRequest"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortRequests/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortRequest"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!--Item-->
+ <sc:request-map uri="WorkEffortRequestItem/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRequestItem/List"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRequestItem/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRequestItem/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRequestItem/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortRequestItemAndRequestItem"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortRequestItem/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortRequestItem"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!--Header-->
+ <sc:view-map name="WorkEffortRequests/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml#ListWorkEffortRequests"/>
+ <sc:view-map name="WorkEffortRequests/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml#EditWorkEffortRequest"/>
+
+ <!--Item-->
+ <sc:view-map name="WorkEffortRequestItem/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml#ListWorkEffortRequestItems"/>
+ <sc:view-map name="WorkEffortRequestItem/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml#EditWorkEffortRequestItem"/>
+ </sc:site-conf>
+
+ <ws:screens>
+
+ <!--Header-->
+ <ws:screen name="ListWorkEffortRequests">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortRequests"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortRequestTabBar" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortRequests" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortRequest">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortRequest"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffortRequest" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+
+ <!--Item-->
+ <ws:screen name="ListWorkEffortRequestItems">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortRequestItems"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortRequestItemTabBar" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortRequestItems" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortRequestItem">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortRequestItem"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffortRequestItem" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+
+ <!--Header-->
+ <wm:menu name="WorkEffortRequestTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortRequest" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortRequests/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortRequests/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortRequestsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteWorkEffortRequest" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortRequests/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="deleteWorkEffortRequest"/>
+ <wm:set-callback area-target="WorkEffortRequests/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+
+ <!--Item-->
+ <wm:menu name="WorkEffortRequestItemTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortRequestItem" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortRequestItem/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortRequestItem/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortRequestItemsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteWorkEffortRequestItem" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortRequestItem/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="deleteWorkEffortRequestItem"/>
+ <wm:set-callback area-target="WorkEffortRequestItem/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+
+ <!--Header-->
+ <wf:grid name="ListWorkEffortRequests" paginate-target="WorkEffortRequests/List"
+ default-map-name="workEffortRequest" list-name="listIt"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="WorkEffortCustRequestView">
+ <wf:field-map field-name="workEffortId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden /></wf:field>
+ <wf:field name="custRequestId">
+ <wf:hyperlink description="${custRequestId}" target="/ordermgr/control/EditRequest" target-type="inter-app">
+ <wf:parameter param-name="custRequestId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="description"><wf:display/></wf:field>
+ <wf:field name="custRequestTypeDescription"><wf:display/></wf:field>
+ <wf:field name="statusItemDescription"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortRequestsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+ <wf:form name="EditWorkEffortRequest" target="WorkEffortRequests/create"
+ focus-field-name="custRequestId"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden /></wf:field>
+ <wf:field name="custRequestId"><wf:lookup target-form-name="LookupCustRequest"/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+
+ <!--Item-->
+ <wf:grid name="ListWorkEffortRequestItems" paginate-target="WorkEffortRequestItem/List"
+ default-map-name="workEffortRequest" list-name="listIt"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="WorkEffortCustRequestItemView">
+ <wf:field-map field-name="workEffortId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden /></wf:field>
+ <wf:field name="custRequestId">
+ <wf:hyperlink description="${custRequestId}" target="/ordermgr/control/EditRequest" target-type="inter-app">
+ <wf:parameter param-name="custRequestId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="custRequestItemSeqId" widget-style="buttontext"><wf:display/></wf:field>
+ <wf:field name="description"><wf:display/></wf:field>
+ <wf:field name="custRequestTypeDescription"><wf:display/></wf:field>
+ <wf:field name="statusItemDescription"><wf:display/></wf:field>
+ <wf:field name="priority"><wf:display/></wf:field>
+ <wf:field name="productId"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortRequestItemsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortRequestAndItemCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+ <wf:form name="EditWorkEffortRequestItem" target="WorkEffortRequestItem/create"
+ focus-field-name="custRequestId"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden /></wf:field>
+ <wf:field name="custRequestId"><wf:lookup target-form-name="LookupCustRequest"/></wf:field>
+ <wf:field name="custRequestItemSeqId"><wf:lookup target-form-name="LookupCustRequestItem" target-parameter="custRequestId"/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml
new file mode 100644
index 0000000..93e7c92
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml
@@ -0,0 +1,211 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortRequirement/Requirement/Create"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRequirement/Requirement/Create"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRequirement/Requirement/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRequirement/Requirement/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRequirement/Add"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRequirement/Add"/></sc:request-map>
+ <sc:request-map uri="WorkEffortRequirement/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortRequirement/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortRequirement/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkRequirementFulfillment"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortRequirement/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateRequirement"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortRequirement/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkRequirementFulfillment"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortRequirement/Requirement/Create" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml#CreateRequirementForWorkEffort"/>
+ <sc:view-map name="WorkEffortRequirement/Requirement/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml#CreateRequirementForWorkEffort"/>
+ <sc:view-map name="WorkEffortRequirement/Add" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml#EditWorkEffortRequirement"/>
+ <sc:view-map name="WorkEffortRequirement/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml#ListWorkEffortRequirements"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortRequirements">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortRequirements"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortRequirementsTabBar" location="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortRequirements" location="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortRequirement">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortRequirement"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffortRequirement" location="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="CreateRequirementForWorkEffort">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortRequirements"/>
+ <ws:entity-one entity-name="WorkEffortRequirementView" value-field="workEffortRequirement"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="CreateRequirementForWorkEffort" location="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortRequirementsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortRequirement" title="${uiLabelMap.PageTitleEditWorkEffortRequirement}">
+ <wm:link target="WorkEffortRequirement/Add" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortRequirement/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="CreateRequirementForWorkEffort" title="${uiLabelMap.WorkEffortNewRequirement}">
+ <wm:link target="WorkEffortRequirement/Requirement/Create" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortRequirement/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+
+ <wm:menu name="ListWorkEffortRequirementsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortRequirement" title="${uiLabelMap.PageTitleEditWorkEffortRequirement}">
+ <wm:link target="WorkEffortRequirement/Requirement/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="requirementId"/>
+ <wm:set-callback area-target="WorkEffortRequirement/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="DeleteWorkEffortRequirement" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortRequirement/delete" request-confirmation="true">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="requirementId"/>
+ <wm:set-callback area-target="WorkEffortRequirement/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+
+ <wf:grid name="ListWorkEffortRequirements" list-name="workEffortRequirements"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortRequirementView">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ <wf:order-by field-name="requirementId"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="requirementId"><wf:display/></wf:field>
+ <wf:field name="workReqFulfTypeDescription"><wf:display/></wf:field>
+ <wf:field name="statusItemDescription"><wf:display/></wf:field>
+ <wf:field name="requirementDescription"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortRequirementsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortRequirementsCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+
+ <wf:form name="EditWorkEffortRequirement" target="WorkEffortRequirement/update"
+ focus-field-name="requirementId" default-map-name="workEffortRequirement"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:alt-target use-when="requirement==null" target="WorkEffortRequirement/create"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="requirementId"><wf:lookup target-form-name="LookupRequirement"/></wf:field>
+ <wf:field name="workReqFulfTypeId">
+ <wf:drop-down>
+ <wf:entity-options entity-name="WorkReqFulfType">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+
+ <wf:form name="CreateRequirementForWorkEffort" default-map-name="workEffortRequirement"
+ extends="EditRequirement" extends-resource="component://order/widget/ordermgr/RequirementForms.xml">
+ <wf:alt-target use-when="workEffortRequirement == null" target="WorkEffortRequirement/create"/>
+ <wf:alt-target use-when="workEffortRequirement != null" target="WorkEffortRequirement/update"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="workReqFulfTypeId" use-when="workEffortRequirement == null">
+ <wf:drop-down>
+ <wf:entity-options entity-name="WorkReqFulfType">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="workReqFulfTypeId" use-when="workEffortRequirement != null">
+ <wf:display-entity entity-name="WorkReqFulfType"/>
+ </wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ <wf:sort-order>
+ <wf:sort-field name="workReqFulfTypeId"/>
+ <wf:last-field name="submitButton"/>
+ </wf:sort-order>
+ </wf:form>
+
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortReviewsCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortReviewsCpd.xml
new file mode 100644
index 0000000..2f00306
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortReviewsCpd.xml
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortReview/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortReview/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortReview/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortReview/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortReview/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createWorkEffortReview"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortReview/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateWorkEffortReview"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortReview/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteWorkEffortReview"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortReview/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortReviewsCpd.xml#EditWorkEffortReview"/>
+ <sc:view-map name="WorkEffortReview/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortReviewsCpd.xml#ListWorkEffortReviews"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortReviews">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortReviews"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortReviewsTabBar" location="component://workeffort/widget/workeffort/WorkEffortReviewsCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-form name="ListWorkEffortReviews" location="component://workeffort/widget/workeffort/WorkEffortReviewsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="EditWorkEffortReview">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortReviews"/>
+ <ws:entity-one entity-name="WorkEffortReview" value-field="workEffortReview"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="EditWorkEffortReview" location="component://workeffort/widget/workeffort/WorkEffortReviewsCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortReviewsTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortReview" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortReview/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortReview/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortReviewsInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="DeleteReviews" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortReview/delete" request-confirmation="true">
+ <wm:auto-parameters-service service-name="deleteWorkEffortReview"/>
+ <wm:set-callback area-target="WorkEffortReview/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="EditWorkEffortReview" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortReview/Edit" link-type="layered-modal">
+ <wm:auto-parameters-service service-name="updateWorkEffortReview"/>
+ <wm:set-callback area-target="WorkEffortReview/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:form name="ListWorkEffortReviews" paginate-target="WorkEffortReview/List"
+ extends="CommonDynamicList" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="WorkEffortReview">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:auto-fields-service service-name="updateWorkEffortReview" default-field-type="display"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="userLoginId">
+ <wf:display-entity entity-name="PartyNameView" key-field-name="partyId" description="${firstName} ${middleName} ${lastName} ${groupName}" also-hidden="true">
+ <wf:sub-hyperlink target="/partymgr/control/viewprofile" description="${userLoginId}" target-type="inter-app">
+ <wf:parameter param-name="partyId"/>
+ </wf:sub-hyperlink>
+ </wf:display-entity>
+ </wf:field>
+ <wf:field name="reviewDate"><wf:display type="date-time"/></wf:field>
+ <wf:field name="statusId" title="${uiLabelMap.CommonStatus}"><wf:display-entity entity-name="StatusItem" /></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortReviewsInLineBar" location="component://workeffort/widget/workeffort/WorkEffortReviewsCpd.xml"/>
+ </wf:field>
+ </wf:form>
+
+ <wf:form name="EditWorkEffortReview" target="WorkEffortReview/create"
+ focus-field-name="userLoginId" default-map-name="WorkEffortReview"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:alt-target use-when="workEffortReview != null" target="WorkEffortReview/update"/>
+ <wf:auto-fields-service service-name="createWorkEffortReview"/>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="userLoginId">
+ <wf:lookup target-form-name="LookupPartyAndUserLoginAndPerson" default-value="${userLogin.userLoginId}"/>
+ </wf:field>
+ <wf:field name="reviewDate"><wf:date-time/></wf:field>
+ <wf:field name="statusId" title="${uiLabelMap.CommonStatus}">
+ <wf:drop-down>
+ <wf:entity-options entity-name="StatusItem" key-field-name="statusId">
+ <wf:entity-constraint name="statusTypeId" value="WEFF_REVIEW_STTS"/>
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="reviewText"><wf:textarea rows="5"/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortShopListCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortShopListCpd.xml
new file mode 100644
index 0000000..93efe29
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortShopListCpd.xml
@@ -0,0 +1,142 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortShopList/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortShopList/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortShopList/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortShopList/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortShopList/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createShoppingListWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortShopList/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteShoppingListWorkEffort"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortShopList/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortShopListCpd.xml#AddWorkEffortShopList"/>
+ <sc:view-map name="WorkEffortShopList/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortShopListCpd.xml#ListWorkEffortShopLists"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortShopLists">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortShopLists"/>
+ <ws:set field="workEffortId" from-field="parameters.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortShopListTabBar" location="component://workeffort/widget/workeffort/WorkEffortShopListCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortShopLists" location="component://workeffort/widget/workeffort/WorkEffortShopListCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortShopList">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortShopList"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortShopList" location="component://workeffort/widget/workeffort/WorkEffortShopListCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortShopListTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortShopList" title="${uiLabelMap.CommonAdd}">
+ <wm:link target="WorkEffortShopList/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortShopList/List">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="shoppingListId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortShopListInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="deleteLink" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortShopList/delete" request-confirmation="true">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="shoppingListId"/>
+ <wm:set-callback area-target="WorkEffortShopList/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortShopLists" paginate-target="WorkEffortShopList/List"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-and entity-name="WorkEffortShoppingListView">
+ <wf:field-map field-name="workEffortId"/>
+ <wf:order-by field-name="shoppingListId"/>
+ </wf:entity-and>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="shoppingListId" title="${uiLabelMap.WorkEffortShopListId}">
+ <wf:hyperlink description="${shoppingListId}" target="/partymgr/control/editShoppingList" target-type="inter-app">
+ <wf:parameter param-name="shoppingListId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="shoppingListTypeDescription" title="${uiLabelMap.CommonType}"><wf:display/></wf:field>
+ <wf:field name="listName"><wf:display/></wf:field>
+ <wf:field name="description"><wf:display/></wf:field>
+ <wf:field name="partyId" title="${uiLabelMap.PartyParty}">
+ <wf:display-entity entity-name="PartyNameView" description="${firstName} ${lastName} ${groupName} [${partyId}]"/>
+ </wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortShopListInLineBar" location="component://workeffort/widget/workeffort/WorkEffortShopListCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+ <wf:form name="AddWorkEffortShopList" target="WorkEffortShopList/create"
+ focus-field-name="shoppingListId"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="shoppingListId" required-field="true"><wf:lookup target-form-name="LookupShoppingList"/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file
diff --git a/applications/workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml b/applications/workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml
new file mode 100644
index 0000000..cc5c8ce
--- /dev/null
+++ b/applications/workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml
@@ -0,0 +1,254 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<!-- This document serves as an example for Compound Screen Widget feature -->
+<compound-widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:sc="http://ofbiz.apache.org/Site-Conf"
+ xmlns:wf="http://ofbiz.apache.org/Widget-Form"
+ xmlns:wm="http://ofbiz.apache.org/Widget-Menu"
+ xmlns:ws="http://ofbiz.apache.org/Widget-Screen"
+ xsi:noNamespaceSchemaLocation="../../../../framework/widget/dtd/compound-widgets.xsd">
+
+ <sc:site-conf>
+ <!-- Request Mappings -->
+ <sc:request-map uri="WorkEffortTimeEntry/Edit"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortTimeEntry/Edit"/></sc:request-map>
+ <sc:request-map uri="WorkEffortTimeEntry/Invoice/Add"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortTimeEntry/Invoice/Add"/></sc:request-map>
+ <sc:request-map uri="WorkEffortTimeEntry/Invoice/Create"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortTimeEntry/Invoice/Create"/></sc:request-map>
+ <sc:request-map uri="WorkEffortTimeEntry/List"><sc:security https="true" auth="true"/><sc:response name="success" type="view" value="WorkEffortTimeEntry/List"/></sc:request-map>
+
+ <sc:request-map uri="WorkEffortTimeEntry/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="createTimeEntry"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortTimeEntry/update">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="updateTimeEntry"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortTimeEntry/delete">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="deleteTimeEntry"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <sc:request-map uri="WorkEffortTimeEntry/Invoice/add">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="addWorkEffortTimeToInvoice"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+ <sc:request-map uri="WorkEffortTimeEntry/Invoice/create">
+ <sc:security https="true" auth="true"/>
+ <sc:event type="service" invoke="addWorkEffortTimeToNewInvoice"/>
+ <sc:response name="success" type="request" value="json"/>
+ <sc:response name="error" type="request" value="json"/>
+ </sc:request-map>
+
+ <!-- View Mappings -->
+ <sc:view-map name="WorkEffortTimeEntry/Edit" type="screen" page="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml#AddWorkEffortTimeEntry"/>
+ <sc:view-map name="WorkEffortTimeEntry/Invoice/Add" type="screen" page="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml#AddWorkEffortTimeToInvoice"/>
+ <sc:view-map name="WorkEffortTimeEntry/Invoice/Create" type="screen" page="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml#AddWorkEffortTimeToNewInvoice"/>
+ <sc:view-map name="WorkEffortTimeEntry/List" type="screen" page="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml#ListWorkEffortTimeEntries"/>
+ </sc:site-conf>
+
+ <ws:screens>
+ <ws:screen name="ListWorkEffortTimeEntries">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleListWorkEffortTimeEntries"/>
+ <ws:entity-one entity-name="WorkEffort" value-field="workEffort"/>
+ <ws:set field="workEffortId" from-field="workEffort.workEffortId"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="actions">
+ <ws:include-menu name="WorkEffortTimeEntriesTabBar" location="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml"/>
+ </ws:decorator-section>
+ <ws:decorator-section name="list">
+ <ws:include-grid name="ListWorkEffortTimeEntries" location="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortTimeEntry">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortTimeEntry"/>
+ <ws:entity-one entity-name="TimeEntry" value-field="workEffortTimeEntry"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortTimeEntry" location="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortTimeToInvoice">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortTimeToInvoice"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortTimeToInvoice" location="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ <ws:screen name="AddWorkEffortTimeToNewInvoice">
+ <ws:section>
+ <ws:actions>
+ <ws:set field="titleProperty" value="PageTitleAddWorkEffortTimeToNewInvoice"/>
+ </ws:actions>
+ <ws:widgets>
+ <ws:decorator-screen name="CommonEmbeddedDecorator" location="component://workeffort/widget/CommonScreens.xml">
+ <ws:decorator-section name="single">
+ <ws:include-form name="AddWorkEffortTimeToNewInvoice" location="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml"/>
+ </ws:decorator-section>
+ </ws:decorator-screen>
+ </ws:widgets>
+ </ws:section>
+ </ws:screen>
+ </ws:screens>
+
+ <wm:menus>
+ <wm:menu name="WorkEffortTimeEntriesTabBar" extends="CommonTabBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="AddWorkEffortTimeEntry" title="${uiLabelMap.PageTitleAddWorkEffortTimeEntry}">
+ <wm:link target="WorkEffortTimeEntry/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortTimeEntry/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="AddWorkEffortTimeToInvoice" title="${uiLabelMap.PageTitleAddWorkEffortTimeToInvoice}">
+ <wm:link target="WorkEffortTimeEntry/Invoice/Add" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortTimeEntry/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="AddWorkEffortTimeToNewInvoice" title="${uiLabelMap.PageTitleAddWorkEffortTimeToNewInvoice}">
+ <wm:link target="WorkEffortTimeEntry/Invoice/Create" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:set-callback area-target="WorkEffortTimeEntry/List">
+ <wm:parameter param-name="workEffortId"/>
+ </wm:set-callback>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ <wm:menu name="ListWorkEffortTimeEntriesInLineBar" extends="CommonInlineBarMenu" extends-resource="component://common/widget/CommonMenus.xml">
+ <wm:menu-item name="EditWorkEffortTimeEntry" title="${uiLabelMap.CommonUpdate}">
+ <wm:link target="WorkEffortTimeEntry/Edit" link-type="layered-modal">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="timeEntryId"/>
+ <wm:set-callback area-target="WorkEffortTimeEntry/List"/>
+ </wm:link>
+ </wm:menu-item>
+ <wm:menu-item name="DeleteWorkEffortTimeEntry" title="${uiLabelMap.CommonDelete}">
+ <wm:link target="WorkEffortTimeEntry/delete" request-confirmation="true">
+ <wm:parameter param-name="workEffortId"/>
+ <wm:parameter param-name="timeEntryId"/>
+ <wm:set-callback area-target="WorkEffortTimeEntry/List"/>
+ </wm:link>
+ </wm:menu-item>
+ </wm:menu>
+ </wm:menus>
+
+ <wf:forms>
+ <wf:grid name="ListWorkEffortTimeEntries" paginate-target="WorkEffortTimeEntry/List"
+ extends="CommonDynamicGrid" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:actions>
+ <wf:entity-condition entity-name="TimeEntry">
+ <wf:condition-expr field-name="workEffortId" from-field="workEffortId"/>
+ <wf:order-by field-name="timesheetId"/>
+ <wf:order-by field-name="partyId"/>
+ <wf:order-by field-name="rateTypeId"/>
+ <wf:order-by field-name="-fromDate"/>
+ </wf:entity-condition>
+ </wf:actions>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="timeEntryId"><wf:hidden/></wf:field>
+ <wf:field name="invoiceId"><wf:hidden/></wf:field>
+ <wf:field name="invoiceItemSeqId"><wf:hidden/></wf:field>
+ <wf:field name="timesheetId">
+ <wf:hyperlink description="${uiLabelMap.WorkEffortTimesheet}:${timesheetId}" target="EditTimesheet" target-type="inter-app">
+ <wf:parameter param-name="timesheetId"/>
+ </wf:hyperlink>
+ </wf:field>
+ <wf:field name="partyId" title="${uiLabelMap.PartyParty}"><wf:display-entity entity-name="PartyNameView"/></wf:field>
+ <wf:field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}"><wf:display-entity entity-name="RateType"/></wf:field>
+ <wf:field name="invoiceInfo"><wf:display description="${invoiceId}:${invoiceItemSeqId}" also-hidden="false"/></wf:field>
+ <wf:field name="comments"><wf:display/></wf:field>
+ <wf:field name="menuAction" title=" ">
+ <wf:include-menu name="ListWorkEffortTimeEntriesInLineBar" location="component://workeffort/widget/workeffort/WorkEffortTimeEntriesCpd.xml"/>
+ </wf:field>
+ </wf:grid>
+
+ <wf:form name="AddWorkEffortTimeEntry" target="WorkEffortTimeEntry/update"
+ focus-field-name="timesheetId" default-map-name="workEffortTimeEntry"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:alt-target use-when="workEffortTimeEntry == null" target="WorkEffortTimeEntry/create"/>
+ <wf:auto-fields-service service-name="createTimeEntry"/>
+ <wf:field name="timeEntryId"><wf:hidden/></wf:field>
+ <wf:field name="invoiceId"><wf:hidden/></wf:field>
+ <wf:field name="invoiceItemSeqId"><wf:hidden/></wf:field>
+ <wf:field name="timesheetId"><wf:lookup size="10" target-form-name="LookupTimesheet"/></wf:field>
+ <wf:field name="partyId" title="${uiLabelMap.PartyParty}"><wf:lookup target-form-name="LookupPartyName" default-value="${timesheet.partyId}"/></wf:field>
+ <wf:field name="fromDate"><wf:date-time default-value="${nowTimestamp}"/></wf:field>
+ <wf:field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}">
+ <wf:drop-down no-current-selected-key="STANDARD">
+ <wf:entity-options entity-name="RateType">
+ <wf:entity-order-by field-name="description"/>
+ </wf:entity-options>
+ </wf:drop-down>
+ </wf:field>
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+
+ <wf:form name="AddWorkEffortTimeToInvoice" target="WorkEffortTimeEntry/Invoice/add"
+ focus-field-name="invoiceId" default-map-name="workEffortTimeEntry"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="invoiceId"><wf:lookup target-form-name="LookupInvoice"/></wf:field>
+ <wf:field name="addButton"><wf:submit/></wf:field>
+ </wf:form>
+
+ <wf:form name="AddWorkEffortTimeToNewInvoice" target="WorkEffortTimeEntry/Invoice/create"
+ focus-field-name="partyIdFrom" default-map-name="workEffortTimeEntry"
+ extends="CommonBasicSingle" extends-resource="component://common/widget/CommonForms.xml">
+ <wf:field name="workEffortId"><wf:hidden/></wf:field>
+ <wf:field name="partyIdFrom" title="${uiLabelMap.WorkEffortTimeBillFromParty}"><wf:lookup target-form-name="LookupPartyName"/></wf:field>
+ <wf:field name="partyId" title="${uiLabelMap.WorkEffortTimeBillToParty}"><wf:lookup target-form-name="LookupPartyName" default-value="${timesheet.clientPartyId}"/></wf:field>
+ <wf:field name="submitButton"><wf:submit/></wf:field>
+ </wf:form>
+
+ </wf:forms>
+
+</compound-widgets>
\ No newline at end of file