Author: jleroux
Date: Sun Mar 29 09:04:49 2009 New Revision: 759654 URL: http://svn.apache.org/viewvc?rev=759654&view=rev Log: 17th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243 In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements Modified: ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml ofbiz/trunk/applications/party/widget/partymgr/PartyClassificationForms.xml ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml Modified: ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/invoice/InvoiceForms.xml Sun Mar 29 09:04:49 2009 @@ -108,8 +108,16 @@ <field position="2" name="statusId"><display-entity entity-name="StatusItem"/></field> <field position="1" name="description"><display/></field> <field position="2" name="invoiceMessage"><display/></field> - <field position="1" name="partyIdFrom"><hyperlink target="/partymgr/control/viewprofile?partyId=${invoice.partyIdFrom}" target-type="inter-app" description="${partyNameResultFrom.fullName} [${invoice.partyIdFrom}]"/></field> - <field position="2" name="partyIdTo" entry-name="partyId"><hyperlink target="/partymgr/control/viewprofile?partyId=${invoice.partyId}" target-type="inter-app" description="${partyNameResultTo.fullName} [${invoice.partyId}]"/></field> + <field position="1" name="partyIdFrom"> + <hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyNameResultFrom.fullName} [${invoice.partyIdFrom}]"> + <parameter param-name="partyId" from-field="invoice.partyIdFrom"/> + </hyperlink> + </field> + <field position="2" name="partyIdTo" entry-name="partyId"> + <hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyNameResultTo.fullName} [${invoice.partyId}]"> + <parameter param-name="partyId" from-field="invoice.partyId"/> + </hyperlink> + </field> <field position="1" name="roleTypeId"><display/></field> <field position="2" name="billingAccountId"><display/></field> <field position="1" name="invoiceDate"><display description="${bsh:if(invoice.get("invoiceDate")!=null)return(invoice.getString("invoiceDate").substring(0,10));}"/></field> @@ -133,12 +141,20 @@ <field name="invoiceId"><hidden/></field> <field name="invoiceItemSeqId"><display/></field> <field name="invoiceItemTypeId"><display-entity description="${description}" entity-name="InvoiceItemType"/></field> - <field name="orderId" widget-style="linktext"><hyperlink target="/ordermgr/control/orderview?orderId=${orderId}" target-type="inter-app" description="${orderId}"/></field> + <field name="orderId" widget-style="linktext"> + <hyperlink target="/ordermgr/control/orderview" target-type="inter-app" description="${orderId}"> + <parameter param-name="orderId" from-field="orderId"/> + </hyperlink> + </field> <field name="inventoryItemId" widget-area-style="align-text"><display/></field> <field name="quantity" widget-area-style="align-text"><display/></field> <field name="amount" title="${uiLabelMap.AccountingUnitPrice}" widget-area-style="align-text"><display type="currency" currency="${invoice.currencyUomId}"/></field> <field name="total"><display type="currency" currency="${invoice.currencyUomId}"/></field> - <field name="productId" widget-style="linktext"><hyperlink target="/catalog/control/EditProduct?productId=${productId}" target-type="inter-app" description="${productId}"/></field> + <field name="productId" widget-style="linktext"> + <hyperlink target="/catalog/control/EditProduct" target-type="inter-app" description="${productId}"> + <parameter param-name="productId" from-field="productId"/> + </hyperlink> + </field> <field name="overrideGlAccountId" widget-area-style="align-text"><hyperlink target="GlAccountNavigate?glAccountId=${overrideGlAccountId}" description="${overrideGlAccountId}"/></field> </form> @@ -522,7 +538,11 @@ <field name="invoiceId"><hidden/></field> <field name="invoiceItemSeqId"><display/></field> <field name="timeEntryId"><display/></field> - <field name="timesheetId" entry-name="timesheet.timesheetId"><hyperlink target="/workeffort/control/EditTimesheet?timesheetId=${timesheetId}" target-type="inter-app" description="${timesheetId}"/></field> + <field name="timesheetId" entry-name="timesheet.timesheetId"> + <hyperlink target="/workeffort/control/EditTimesheet" target-type="inter-app" description="${timesheetId}"> + <parameter param-name="timesheetId" from-field="timesheetId"/> + </hyperlink> + </field> <field name="partyId" entry-name="partyId"> <display-entity entity-name="PartyNameView" key-field-name="partyId" description="${groupName} ${firstName} ${middleName} ${lastName}"> <sub-hyperlink target="/partymgr/control/viewprofile?partyId=${partyId}" target-type="inter-app" description=" [${partyId}]"/> Modified: ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml (original) +++ ofbiz/trunk/applications/accounting/webapp/accounting/payment/PaymentForms.xml Sun Mar 29 09:04:49 2009 @@ -382,8 +382,16 @@ <field name="paymentMethodTypeId" position="2"><display-entity entity-name="PaymentMethodType"/></field> <field name="statusId" position="1"><display-entity entity-name="StatusItem"/></field> <field name="paymentMethodId" position="2"><display-entity entity-name="PaymentMethod" description="${paymentMethodId}[${paymentMethodTypeId}]"/></field> - <field name="partyIdFrom" position="1"><hyperlink target="/partymgr/control/viewprofile?partyId=${payment.partyIdFrom}" target-type="inter-app" description="${partyNameResultFrom.fullName} [${payment.partyIdFrom}]"/></field> - <field name="partyIdTo" position="2"><hyperlink target="/partymgr/control/viewprofile?partyId=${payment.partyIdTo}" target-type="inter-app" description="${partyNameResultTo.fullName} [${payment.partyIdTo}]"/></field> + <field name="partyIdFrom" position="1"> + <hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyNameResultFrom.fullName} [${payment.partyIdFrom}]"> + <parameter param-name="partyId" from-field="payment.partyIdFrom"/> + </hyperlink> + </field> + <field name="partyIdTo" position="2"> + <hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyNameResultTo.fullName} [${payment.partyIdTo}]"> + <parameter param-name="partyId" from-field="payment.partyIdTo"/> + </hyperlink> + </field> <field name="paymentRefNum" position="1"><display/></field> <field name="paymentPreferenceId" position="2"><display/></field> <field name="amount" position="1"><display type="currency" currency="${payment.currencyUomId}"/></field> Modified: ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml (original) +++ ofbiz/trunk/applications/marketing/webapp/marketing/campaign/MarketingCampaignForms.xml Sun Mar 29 09:04:49 2009 @@ -143,6 +143,10 @@ </drop-down> </field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="buttontext"><submit button-type="text-link"/></field> - <field name="cancelLink" widget-style="buttontext" title="${uiLabelMap.CommonCancel}"><hyperlink target="${donePage}?marketingCampaignId=${marketingCampaignId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> + <field name="cancelLink" widget-style="buttontext" title="${uiLabelMap.CommonCancel}"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="marketingCampaignId" from-field="marketingCampaignId"/> + </hyperlink> + </field> </form> </forms> \ No newline at end of file Modified: ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/request/RequestForms.xml Sun Mar 29 09:04:49 2009 @@ -483,7 +483,11 @@ <field name="custRequestId"><hidden/></field> <field name="custRequestTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="CustRequestType" description="${description}"/></field> <field name="statusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" description="${description}"/></field> - <field name="fromPartyId" title="${uiLabelMap.PartyPartyId}"><hyperlink target="/partymgr/control/viewprofile?partyId=${custRequest.fromPartyId}" target-type="inter-app" description="${partyNameResultTo.fullName} [${custRequest.fromPartyId}]"/></field> + <field name="fromPartyId" title="${uiLabelMap.PartyPartyId}"> + <hyperlink target="/partymgr/control/viewprofile" target-type="inter-app" description="${partyNameResultTo.fullName} [${custRequest.fromPartyId}]"> + <parameter param-name="partyId" from-field="custRequest.fromPartyId"/> + </hyperlink> + </field> <field name="custRequestName" title="${uiLabelMap.CommonName}"><display/></field> <field name="description" title="${uiLabelMap.CommonDescription}"><display/></field> <field name="productStoreId" title="${uiLabelMap.ProductProductStore}"><display-entity entity-name="ProductStore" description="${storeName}"/></field> Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml (original) +++ ofbiz/trunk/applications/party/webapp/partymgr/party/PartyForms.xml Sun Mar 29 09:04:49 2009 @@ -82,7 +82,11 @@ </drop-down> </field> <field name="submitButton" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field> - <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="${donePage}?partyId=${partyId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> + <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> + </field> </form> <form name="EditPartyGroup" type="single" target="updatePartyGroup" default-map-name="partyGroup" @@ -113,7 +117,11 @@ </drop-down> </field> <field name="submitButton" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field> - <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="${donePage}?partyId=${partyId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> + <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> + </field> </form> <form name="ViewPartyGroup" type="single" default-map-name="lookupGroup"> @@ -173,7 +181,11 @@ <field name="newPassword"><password/></field> <field name="newPasswordVerify"><password/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field> - <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="${donePage}?partyId=${partyId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> + <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> + </field> </form> <form name="updateUserLoginSecurity" type="single" target="updateUserLoginSecurity" default-map-name="editUserLogin" @@ -187,7 +199,11 @@ <field name="userLdapDn" use-when=""true".equals(ldapEnabled)"><text/></field> <field name="userLdapDn" use-when="!"true".equals(ldapEnabled)"><ignored/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field> - <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="${donePage}?partyId=${partyId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> + <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> + </field> </form> <form name="EditVendor" type="single" target="updateVendor" default-map-name="vendor" @@ -307,7 +323,11 @@ <field name="noteName" tooltip="${uiLabelMap.PartyOptional}"> </field> <field name="note"><textarea cols="70" rows="10"/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field> - <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="${donePage}?partyId=${partyId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> + <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> + </field> </form> <!-- PartyRate --> @@ -477,7 +497,11 @@ </drop-down> </field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field> - <!-- <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="${donePage}?segmentGroupId=${segmentGroupId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> --> + <!-- <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="segmentGroupId" from-field="segmentGroupId"/> + </hyperlink> + </field> --> </form> <form name="EditPartyAttribute" type="single" target="updatePartyAttribute" default-map-name="attribute" Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyClassificationForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyClassificationForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/party/widget/partymgr/PartyClassificationForms.xml (original) +++ ofbiz/trunk/applications/party/widget/partymgr/PartyClassificationForms.xml Sun Mar 29 09:04:49 2009 @@ -92,7 +92,11 @@ <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><date-time/></field> <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field> - <!-- <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="${donePage}?segmentGroupId=${segmentGroupId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> --> + <!-- <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="segmentGroupId" from-field="segmentGroupId"/> + </hyperlink> + </field> --> </form> <form name="AddPartyClassificationParty" type="single" target="createPartyClassificationParty" default-map-name="partyClassification" @@ -104,7 +108,11 @@ <field name="fromDate" title="${uiLabelMap.CommonFromDate}"><date-time/></field> <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><date-time/></field> <field name="submitButton" title="${uiLabelMap.CommonSave}" widget-style="smallSubmit"><submit button-type="text-link"/></field> - <!-- <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"><hyperlink target="${donePage}?segmentGroupId=${segmentGroupId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field> --> + <!-- <field name="cancelLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> + <hyperlink target="${donePage}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"> + <parameter param-name="segmentGroupId" from-field="segmentGroupId"/> + </hyperlink> + </field> --> </form> <form name="ListPartyClassificationGroupParties" type="list" target="updatePartyClassificationParty" Modified: ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/catalog/category/CategoryForms.xml Sun Mar 29 09:04:49 2009 @@ -194,6 +194,10 @@ <field name="detailSubScreen" tooltip="${uiLabelMap.ProductDetailSubScreenTooltip}"><text size="60" maxlength="255"/></field> <field name="submitButton" use-when="productCategoryLink==null" title="${uiLabelMap.CommonAdd}"><submit button-type="button"/></field> <field name="submitButton" use-when="productCategoryLink!=null" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field> - <field name="clearFormButton" title="${uiLabelMap.CommonEmptyHeader}" use-when="productCategoryLink!=null"><hyperlink target="EditProductCategoryLinks?productCategoryId=${productCategoryId}" target-type="intra-app" description="${uiLabelMap.CommonClear}"/></field> + <field name="clearFormButton" title="${uiLabelMap.CommonEmptyHeader}" use-when="productCategoryLink!=null"> + <hyperlink target="EditProductCategoryLinks" target-type="intra-app" description="${uiLabelMap.CommonClear}"> + <parameter param-name="productCategoryId" from-field="productCategoryId"/> + </hyperlink> + </field> </form> </forms> Modified: ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml (original) +++ ofbiz/trunk/applications/product/webapp/facility/shipment/ShipmentForms.xml Sun Mar 29 09:04:49 2009 @@ -81,9 +81,17 @@ </drop-down> </field> - <field name="estimatedShipWorkEffId" title="${uiLabelMap.ProductEstimatedShipWorkEffId}" widget-style="buttontext"><hyperlink target="/workeffort/control/WorkEffortSummary?workEffortId=${shipment.estimatedShipWorkEffId}" also-hidden="false" description="${shipment.estimatedShipWorkEffId}" target-type="inter-app"/></field> + <field name="estimatedShipWorkEffId" title="${uiLabelMap.ProductEstimatedShipWorkEffId}" widget-style="buttontext"> + <hyperlink target="/workeffort/control/WorkEffortSummary" also-hidden="false" description="${shipment.estimatedShipWorkEffId}" target-type="inter-app"> + <parameter param-name="workEffortId" from-field="shipment.estimatedShipWorkEffId"/> + </hyperlink> + </field> <field name="estimatedArrivalDate" title="${uiLabelMap.ProductEstimatedArrivalDate}"><date-time/></field> - <field name="estimatedArrivalWorkEffId" title="${uiLabelMap.ProductEstimatedArrivalWorkEffId}" widget-style="buttontext"><hyperlink target="/workeffort/control/WorkEffortSummary?workEffortId=${shipment.estimatedArrivalWorkEffId}" also-hidden="false" description="${shipment.estimatedArrivalWorkEffId}" target-type="inter-app"/></field> + <field name="estimatedArrivalWorkEffId" title="${uiLabelMap.ProductEstimatedArrivalWorkEffId}" widget-style="buttontext"> + <hyperlink target="/workeffort/control/WorkEffortSummary" also-hidden="false" description="${shipment.estimatedArrivalWorkEffId}" target-type="inter-app"> + <parameter param-name="workEffortId" from-field="shipment.estimatedArrivalWorkEffId"/> + </hyperlink> + </field> <field name="latestCancelDate" title="${uiLabelMap.ProductLatestCancelDate}"><date-time/></field> <field name="estimatedShipCost" title="${uiLabelMap.ProductEstimatedShipCost}"><text/></field> <field name="currencyUomId" title="${uiLabelMap.ProductCurrencyUomId}"> Modified: ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/TimesheetForms.xml Sun Mar 29 09:04:49 2009 @@ -126,7 +126,11 @@ <field name="partyId" title="${uiLabelMap.PartyParty}"/> <field name="rateTypeId" title="${uiLabelMap.WorkEffortTimesheetRateType}"><display-entity entity-name="RateType"/></field> <field name="workEffortId"><display-entity entity-name="WorkEffort" description="${workEffortName}"><sub-hyperlink target="WorkEffortSummary?workEffortId=${workEffortId}" description="${workEffortId}" link-style="buttontext"/></display-entity></field> - <field name="invoiceId" widget-style="buttontext"><hyperlink target="/accounting/control/invoiceOverview?invoiceId=${invoiceId}" target-type="inter-app" description="${invoiceId}"/></field> + <field name="invoiceId" widget-style="buttontext"> + <hyperlink target="/accounting/control/invoiceOverview" target-type="inter-app" description="${invoiceId}"> + <parameter param-name="invoiceId" from-field="invoiceId"/> + </hyperlink> + </field> </form> <form name="AddTimesheetToInvoice" target="addTimesheetToInvoice" title="" type="single" header-row-style="header-row" default-table-style="basic-table"> Modified: ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml (original) +++ ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml Sun Mar 29 09:04:49 2009 @@ -26,7 +26,11 @@ <field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}" widget-style="buttontext"> <hyperlink also-hidden="false" description="${workEffortName}" target="/projectmgr/control/taskView?workEffortId=${workEffortId}" target-type="inter-app" target-window="_BLANK"/> </field> - <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"><hyperlink target="/projectmgr/control/projectView?projectId=${resultProject.projectId}" target-type="inter-app" target-window="_BLANK" description="${resultProject.projectName}"/></field> + <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"> + <hyperlink target="/projectmgr/control/projectView" target-type="inter-app" target-window="_BLANK" description="${resultProject.projectName}"> + <parameter param-name="projectId" from-field="resultProject.projectId"/> + </hyperlink> + </field> <field name="roleTypeId" parameter-name="newRoleTypeId" title="${uiLabelMap.PartyRole}"><hidden value="${roleTypeId}"/></field> <field name="remove" title="${uiLabelMap.CommonRemove}"><hyperlink target="updateTaskAssigment" description="${uiLabelMap.CommonRemove}"> <parameter param-name="workEffortId" from-field="workEffortId"/> Modified: ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml (original) +++ ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml Sun Mar 29 09:04:49 2009 @@ -26,7 +26,11 @@ <field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}" widget-style="buttontext"> <hyperlink also-hidden="false" description="${workEffortName}" target="/projectmgr/control/taskView?workEffortId=${workEffortId}" target-type="inter-app" target-window="_BLANK"/> </field> - <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"><hyperlink target="/projectmgr/control/projectView?projectId=${resultProject.projectId}" target-type="inter-app" target-window="_BLANK" description="${resultProject.projectName}"/></field> + <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"> + <hyperlink target="/projectmgr/control/projectView" target-type="inter-app" target-window="_BLANK" description="${resultProject.projectName}"> + <parameter param-name="projectId" from-field="resultProject.projectId"/> + </hyperlink> + </field> <field name="roleTypeId" parameter-name="newRoleTypeId" title="${uiLabelMap.PartyRole}"><hidden value="${roleTypeId}"/></field> <field name="remove" title="${uiLabelMap.CommonRemove}"><hyperlink target="updateTaskAssigment" description="${uiLabelMap.CommonRemove}"> <parameter param-name="workEffortId" from-field="workEffortId"/> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Sun Mar 29 09:04:49 2009 @@ -379,7 +379,11 @@ <field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> <form name="ListOrderInfo" target="EditProjectOrders?projectId=${projectId}" type="list" list-name="listOrderAssoProject" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <field name="orderId"><hyperlink target="/ordermgr/control/orderview?orderId=${orderId}" target-type="inter-app" description="${orderId}"/></field> + <field name="orderId"> + <hyperlink target="/ordermgr/control/orderview" target-type="inter-app" description="${orderId}"> + <parameter param-name="orderId" from-field="orderId"/> + </hyperlink> + </field> <field name="orderName"><display/></field> <field name="orderTypeId"><display-entity entity-name="OrderType" description="${description}"/></field> <field name="statusId"><display-entity entity-name="StatusItem" description="${description}"/></field> @@ -431,7 +435,9 @@ </row-actions> <field name="projectId"><hidden/></field> <field name="partyName" title="${uiLabelMap.CommonName}"> - <hyperlink target="viewprofile?partyId=${partyId}" description="${lastName}, ${firstName} ${middleName} ${groupName} [${partyId}]"/> + <hyperlink target="viewprofile" description="${lastName}, ${firstName ${middleName} ${groupName} [${partyId}]"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> </field> <field name="roleTypeId"><display-entity entity-name="RoleType" description="${description}"/></field> <field name="actualHours" entry-name="actualHours" map-name="result.projectInfo"><display/></field> @@ -441,7 +447,9 @@ odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="projectId"><hidden/></field> <field name="partyName" title="${uiLabelMap.CommonName}"> - <hyperlink target="viewprofile?partyId=${partyId}" description="${lastName}, ${firstName} ${middleName} ${groupName} [${partyId}]"/> + <hyperlink target="viewprofile" description="${lastName}, ${firstName ${middleName} ${groupName} [${partyId}]"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> </field> <field name="roleTypeId"><display-entity entity-name="RoleType" description="${description}"/></field> </form> @@ -470,7 +478,11 @@ </actions> <field name="workEffortId"><hidden/></field> <field name="projectId"><hidden/></field> - <field name="partyId" widget-style="buttontext"><hyperlink target="viewprofile?partyId=${partyId}" description="${firstName} ${middleName} ${lastName} ${groupName}"/></field> + <field name="partyId" widget-style="buttontext"> + <hyperlink target="viewprofile" description="${firstName ${middleName} ${lastName} ${groupName}"> + <parameter param-name="partyId" from-field="partyId"/> + <hyperlink> + </field> <field name="roleTypeId" title="${uiLabelMap.PartyRoleType}"> <display-entity entity-name="RoleType"/> </field> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml?rev=759654&r1=759653&r2=759654&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml Sun Mar 29 09:04:49 2009 @@ -55,7 +55,11 @@ </form> <form name="ListBillingHours" type="list" list-name="billingList" paginate-target="ListResourcesBillingHours" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> - <field name="projectName"><hyperlink target="projectView?projectId=${projectId}" description="${projectName} [${projectId}]"/></field> + <field name="projectName"> + <hyperlink target="projectView" description="${projectName} [${projectId}]"> + <parameter param-name="projectId" from-field="projectId"/> + </hyperlink> + </field> <field name="originalActualHours"><display/></field> <field name="actualHours"><display/></field> <field name="actualNonBilledHours"><display/></field> |
Free forum by Nabble | Edit this page |