Modified: ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml (original) +++ ofbiz/trunk/applications/workeffort/widget/WorkEffortForms.xml Sun Mar 29 14:02:55 2009 @@ -405,7 +405,9 @@ </service> </actions> <field name="workEffortId" title="${uiLabelMap.WorkEffortWorkEffortId}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${workEffortName} [${workEffortId}]" target="EditWorkEffort?workEffortId=${workEffortId}"/> + <hyperlink also-hidden="false" description="${workEffortName} [${workEffortId}]" target="EditWorkEffort"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </hyperlink> </field> <field name="workEffortTypeId"><display-entity entity-name="WorkEffortType"/></field> <field name="currentStatusId"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> @@ -418,31 +420,48 @@ <field name="actualCompletionDate"><display type="date"/></field> <!-- These links have been commented because they are (partially or totally) broken <field name="editLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="linktext"> - <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditWorkEffort?workEffortId=${workEffortId}&DONE_PAGE=ListWorkEfforts?${queryStringEncoded}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonEdit}" target="EditWorkEffort"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + <parameter param-name="DONE_PAGE" value="ListWorkEfforts?${queryStringEncoded"/> + </hyperlink> </field> <field name="childLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="linktext"> - <hyperlink also-hidden="false" description="${uiLabelMap.CommonEntityChildren}" target="ChildWorkEfforts?trail=${workEffortId}&DONE_PAGE=ListWorkEfforts?${queryStringEncoded}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonEntityChildren}" target="ChildWorkEfforts"> + <parameter param-name="trail" from-field="workEffortId"/> + <parameter param-name="DONE_PAGE" value="ListWorkEfforts?${queryStringEncoded"/> + </hyperlink> </field> <field name="editChildLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="linktext"> - <hyperlink also-hidden="false" description="${uiLabelMap.CommonDetail} + ${uiLabelMap.CommonEntityChildren}" target="EditListWorkEfforts?trail=${workEffortId}&DONE_PAGE=ListWorkEfforts?${queryStringEncoded}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonDetail} + ${uiLabelMap.CommonEntityChildren}" target="EditListWorkEfforts"> + <parameter param-name="trail" from-field="workEffortId"/> + <parameter param-name="DONE_PAGE" value="ListWorkEfforts?${queryStringEncoded"/> + </hyperlink> </field> --> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteWorkEffort?workEffortId=${workEffortId}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="deleteWorkEffort"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </hyperlink> </field> </form> <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"> <field name="workEffortId" title="${uiLabelMap.WorkEffortWorkEffortId}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${workEffortName} [${workEffortId}]" target="EditWorkEffort?workEffortId=${workEffortId}"/> + <hyperlink also-hidden="false" description="${workEffortName} [${workEffortId}]" target="EditWorkEffort"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </hyperlink> </field> <field name="workEffortTypeId"><display-entity entity-name="WorkEffortType"/></field> <field name="workEffortPurposeTypeId"><display-entity entity-name="WorkEffortPurposeType"/></field> <field name="detailLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${uiLabelMap.CommonDetail}" target="ListChildWorkEffort?trail=${workEffortId}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonDetail}" target="ListChildWorkEffort"> + <parameter param-name="trail" from-field="workEffortId"/> + </hyperlink> </field> <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeWorkEffort?workEffortId=${workEffortId}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.CommonDelete}" target="removeWorkEffort"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </hyperlink> </field> </form> Modified: ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleFeatureForms.xml Sun Mar 29 14:02:55 2009 @@ -38,7 +38,9 @@ </service> </actions> <field name="exampleFeatureId" title="${uiLabelMap.ExampleExampleFeatureId}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${exampleFeatureId}" target="EditExampleFeature?exampleFeatureId=${exampleFeatureId}"/> + <hyperlink also-hidden="false" description="${exampleFeatureId}" target="EditExampleFeature"> + <parameter param-name="exampleFeatureId" from-field="exampleFeatureId"/> + </hyperlink> </field> <field name="description" title="${uiLabelMap.CommonDescription}"><display/></field> </form> Modified: ofbiz/trunk/framework/example/widget/example/ExampleForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/widget/example/ExampleForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/framework/example/widget/example/ExampleForms.xml (original) +++ ofbiz/trunk/framework/example/widget/example/ExampleForms.xml Sun Mar 29 14:02:55 2009 @@ -55,7 +55,9 @@ <alt-row-style use-when=""EXST_APPROVED".equals(statusId)" style="Validate"/> <alt-row-style use-when=""EXST_CANCELLED".equals(statusId)" style="Warn"/> <field name="exampleId" title="${uiLabelMap.ExampleExampleId}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${exampleId}" target="EditExample?exampleId=${exampleId}"/> + <hyperlink also-hidden="false" description="${exampleId}" target="EditExample"> + <parameter param-name="exampleId" from-field="exampleId"/> + </hyperlink> </field> <field name="exampleName" title="${uiLabelMap.CommonName}" sort-field="true"><display/></field> <field name="exampleTypeId" title="${uiLabelMap.CommonType}"><display-entity entity-name="ExampleType"/></field> Modified: ofbiz/trunk/framework/webtools/webapp/webtools/service/ServiceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/service/ServiceForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/webapp/webtools/service/ServiceForms.xml (original) +++ ofbiz/trunk/framework/webtools/webapp/webtools/service/ServiceForms.xml Sun Mar 29 14:02:55 2009 @@ -85,12 +85,16 @@ <field name="runTime" title="${uiLabelMap.WebtoolsRunTime}" sort-field="true"><display/></field> <field name="startDateTime" title="${uiLabelMap.CommonStartDateTime}" sort-field="true"><display/></field> <field name="serviceName" title="${uiLabelMap.WebtoolsService}" sort-field="true"> - <hyperlink also-hidden="false" description="${serviceName}" target="ServiceList?sel_service_name=${serviceName}"/> + <hyperlink also-hidden="false" description="${serviceName}" target="ServiceList"> + <parameter param-name="sel_service_name" from-field="serviceName"/> + </hyperlink> </field> <field name="statusId" title="${uiLabelMap.CommonStatus}" sort-field="true"><display-entity entity-name="StatusItem" description="${description}"/></field> <field name="cancelDateTime" title="${uiLabelMap.CommonEndDateTime}" sort-field="true"><display/></field> <field name="cancelButton" title="${uiLabelMap.CommonEmptyHeader}" use-when="startDateTime==null&&finishDateTime==null&&cancelDateTime==null" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsCancelJob}" target="cancelJob?jobId=${jobId}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsCancelJob}" target="cancelJob"> + <parameter param-name="jobId" from-field="jobId"/> + </hyperlink> </field> </form> </forms> Modified: ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprForms.xml (original) +++ ofbiz/trunk/framework/webtools/webapp/webtools/tempexpr/tempExprForms.xml Sun Mar 29 14:02:55 2009 @@ -39,7 +39,9 @@ <form name="BasicExpressionList" type="list" default-table-style="basic-table hover-bar" odd-row-style="alternate-row" header-row-style="header-row-2"> <field name="tempExprId" title="${uiLabelMap.TemporalExpressionId}"> - <hyperlink also-hidden="false" target-type="plain" description="${tempExprId}" target="editTemporalExpression?tempExprId=${tempExprId}"/> + <hyperlink also-hidden="false" target-type="plain" description="${tempExprId}" target="editTemporalExpression"> + <parameter param-name="tempExprId" from-field="tempExprId"/> + </hyperlink> </field> <field name="tempExprTypeId" title="${uiLabelMap.TemporalExpressionType}"><display/></field> <field name="date1"><display/></field> Modified: ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml (original) +++ ofbiz/trunk/framework/webtools/widget/EntitySyncForms.xml Sun Mar 29 14:02:55 2009 @@ -36,10 +36,14 @@ </field> <field use-when=""ESR_RUNNING".equals(runStatusId)" name="resetStatus" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> - <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsSyncResetRunStatus}" target="resetEntitySyncStatusToNotStarted?entitySyncId=${entitySyncId}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsSyncResetRunStatus}" target="resetEntitySyncStatusToNotStarted"> + <parameter param-name="entitySyncId" from-field="entitySyncId"/> + </hyperlink> </field> <field use-when=""ESR_NOT_STARTED".equals(runStatusId) || "ESR_COMPLETE".equals(runStatusId)" name="runOfflineSync" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> - <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsSyncRunOffline}" target="runOfflineEntitySync?entitySyncId=${entitySyncId}"/> + <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsSyncRunOffline}" target="runOfflineEntitySync"> + <parameter param-name="entitySyncId" from-field="entitySyncId"/> + </hyperlink> </field> <field use-when=""ESR_PENDING".equals(runStatusId)" name="acceptOffline" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"> <hyperlink also-hidden="false" description="${uiLabelMap.WebtoolsSyncAcceptOffline}" target="updateOfflineEntitySync?entitySyncId=${entitySyncId}&updateType=ACCEPT"/> Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/forms/ProductForms.xml Sun Mar 29 14:02:55 2009 @@ -66,12 +66,16 @@ </service> </actions> <field name="productId" title="${uiLabelMap.CommonId}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${productId}" target="EditProduct?productId=${productId}"/> + <hyperlink also-hidden="false" description="${productId}" target="EditProduct"> + <parameter param-name="productId" from-field="productId"/> + </hyperlink> </field> <field name="brandName" title="${uiLabelMap.ProductBrandName}"><display/></field> <field name="internalName" title="${uiLabelMap.ProductInternalName}"><display/></field> <field name="searchVariants" title="" widget-style="buttontext" use-when="isVirtual!=null&&"${isVirtual}".equals("Y")"> - <hyperlink also-hidden="false" target-type="plain" description="${uiLabelMap.ProductVariants}" target="LookupVariantProduct?productId=${productId}"/> + <hyperlink also-hidden="false" target-type="plain" description="${uiLabelMap.ProductVariants}" target="LookupVariantProduct"> + <parameter param-name="productId" from-field="productId"/> + </hyperlink> </field> </form> <form name="lookupProduct" target="${submitTarget}" type="single" @@ -100,7 +104,9 @@ <field name="internalName" title="${uiLabelMap.ProductInternalName}"><display/></field> <field name="primaryProductCategoryId" title="${uiLabelMap.ProductPrimaryCategory}"><display/></field> <field name="searchVariants" title="" widget-style="buttontext" use-when="isVirtual!=null&&"${isVirtual}".equals("Y")"> - <hyperlink also-hidden="false" target-type="plain" description="${uiLabelMap.ProductVariants}" target="LookupVariantProduct?productId=${productId}"/> + <hyperlink also-hidden="false" target-type="plain" description="${uiLabelMap.ProductVariants}" target="LookupVariantProduct"> + <parameter param-name="productId" from-field="productId"/> + </hyperlink> </field> </form> Modified: ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/FixedAssetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/FixedAssetForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/FixedAssetForms.xml (original) +++ ofbiz/trunk/specialpurpose/assetmaint/widget/ismgr/FixedAssetForms.xml Sun Mar 29 14:02:55 2009 @@ -117,7 +117,9 @@ </service> </actions> <field name="fixedAssetId" widget-style="linktext"> - <hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerHardware?fixedAssetId=${fixedAssetId}"/> + <hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerHardware"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </hyperlink> </field> <field name="fixedAssetTypeId"><hidden/></field> <field name="classEnumId"><display-entity entity-name="Enumeration" key-field-name="enumId"/></field> @@ -145,7 +147,9 @@ </service> </actions> <field name="fixedAssetId" widget-style="linktext"> - <hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerSoftware?fixedAssetId=${fixedAssetId}"/> + <hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerSoftware"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </hyperlink> </field> <field name="fixedAssetTypeId"><hidden/></field> <field name="classEnumId"><display-entity entity-name="Enumeration" key-field-name="enumId"/></field> @@ -172,7 +176,9 @@ </entity-condition> </actions> <field name="fixedAssetId" widget-style="linktext"> - <hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerHardware?fixedAssetId=${fixedAssetId}"/> + <hyperlink also-hidden="false" description="${fixedAssetName} ${fixedAssetId}" target="EditComputerHardware"> + <parameter param-name="fixedAssetId" from-field="fixedAssetId"/> + </hyperlink> </field> <field name="fixedAssetTypeId"><hidden/></field> <field name="classEnumId"><display-entity entity-name="Enumeration" key-field-name="enumId"/></field> Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/forms/FacilityForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/forms/FacilityForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/forms/FacilityForms.xml (original) +++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/forms/FacilityForms.xml Sun Mar 29 14:02:55 2009 @@ -24,7 +24,9 @@ <form name="ListFacilities" type="list" list-name="facilities" paginate-target="main" default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext"> <field name="facilityId" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${facilityId}" target="menu?facilityId=${facilityId}"/> + <hyperlink also-hidden="false" description="${facilityId}" target="menu"> + <parameter param-name="facilityId" from-field="facilityId"/> + </hyperlink> </field> <field name="facilityName"><display/></field> <field name="description" title="${uiLabelMap.ProductProductDescription}"><display/></field> Modified: ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml (original) +++ ofbiz/trunk/specialpurpose/mypage/widget/MyPageForms.xml Sun Mar 29 14:02:55 2009 @@ -176,7 +176,11 @@ </service> </row-actions> <field name="custRequestId"><hidden/></field> - <field name="custRequestName"><hyperlink description="${custRequestName} [${custRequestId}]" target="ViewRequest?custRequestId=${custRequestId}"/></field> + <field name="custRequestName"> + <hyperlink description="${custRequestName} [${custRequestId}]" target="ViewRequest"> + <parameter param-name="custRequestId" from-field="custRequestId"/> + </hyperlink> + </field> <field name="custRequestDate" title="${uiLabelMap.CommonDate}"><display type="date"/></field> <field name="statusId"><display-entity entity-name="StatusItem" description="${description}"/></field> <field name="priority"> @@ -235,7 +239,9 @@ <script location="component://mypage/webapp/mypage/WEB-INF/actions/ConvertInvoiceCurrency.groovy"/> </row-actions> <field name="invoiceId" widget-style="buttontext"> - <hyperlink description="${invoiceId}" target="invoice.pdf?invoiceId=${invoiceId}"/> + <hyperlink description="${invoiceId}" target="invoice.pdf"> + <parameter param-name="invoiceId" from-field="invoiceId"/> + </hyperlink> </field> <field name="invoiceTypeId"><display-entity entity-name="InvoiceType" description="${description}"/></field> <field name="invoiceDate"><display/></field> Modified: ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml (original) +++ ofbiz/trunk/specialpurpose/myportal/widget/MyPortalForms.xml Sun Mar 29 14:02:55 2009 @@ -146,7 +146,11 @@ </service> </row-actions> <field name="custRequestId"><hidden/></field> - <field name="custRequestName"><hyperlink description="${custRequestName} [${custRequestId}]" target="ViewRequest?custRequestId=${custRequestId}"/></field> + <field name="custRequestName"> + <hyperlink description="${custRequestName} [${custRequestId}]" target="ViewRequest"> + <parameter param-name="custRequestId" from-field="custRequestId"/> + </hyperlink> + </field> <field name="custRequestDate" title="${uiLabelMap.CommonDate}"><display type="date"/></field> <field name="statusId"><display-entity entity-name="StatusItem" description="${description}"/></field> <field name="priority"> @@ -206,7 +210,9 @@ <script location="component://myportal/webapp/myportal/WEB-INF/actions/ConvertInvoiceCurrency.groovy"/> </row-actions> <field name="invoiceId" widget-style="buttontext"> - <hyperlink description="${invoiceId}" target="invoice.pdf?invoiceId=${invoiceId}"/> + <hyperlink description="${invoiceId}" target="invoice.pdf"> + <parameter param-name="invoiceId" from-field="invoiceId"/> + </hyperlink> </field> <field name="invoiceTypeId"><display-entity entity-name="InvoiceType" description="${description}"/></field> <field name="invoiceDate"><display/></field> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Sun Mar 29 14:02:55 2009 @@ -118,7 +118,11 @@ <field name="workEffortId"><hidden/></field> <field name="phaseName" position="1" use-when="showPosition1"><display/></field> <field name="workEffortName" position="1" use-when="showPosition1"><display/></field> - <field name="timesheetId" position="2"><hyperlink description="${timesheetId}" target="Timesheet?timesheetId=${timesheetId}"/></field> + <field name="timesheetId" position="2"> + <hyperlink description="${timesheetId}" target="Timesheet"> + <parameter param-name="timesheetId" from-field="timesheetId"/> + </hyperlink> + </field> <field name="hours" position="2"><display/></field> <field name="timesheetPartyId" position="2"><display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName}" key-field-name="partyId"/></field> <field name="rateTypeId" title="${uiLabelMap.ProjectMgrRateTypeId}" position="2"><display-entity entity-name="RateType" description="${description}"/></field> @@ -144,7 +148,9 @@ </service> </row-actions> <field name="projectName" map-name="resultProject.projectInfo" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext"> - <hyperlink description="${resultProject.projectInfo.projectName}" target="projectView?projectId=${resultProject.projectInfo.projectId}"/> + <hyperlink description="${resultProject.projectInfo.projectName}" target="projectView"> + <parameter param-name="projectId" from-field="resultProject.projectInfo.projectId"/> + </hyperlink> </field> <field name="currentStatusId" map-name="resultProject.projectInfo" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> <field name="estimatedStartDate" map-name="resultProject.projectInfo" title="${uiLabelMap.FormFieldTitle_estimatedStartDate}"><display type="date"/></field> @@ -161,7 +167,9 @@ <script location="component://projectmgr/webapp/projectmgr/WEB-INF/actions/ListCurrentProjects.groovy"/> </actions> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext"> - <hyperlink description="${projectName}" target="projectView?projectId=${projectId}"/> + <hyperlink description="${projectName}" target="projectView"> + <parameter param-name="projectId" from-field="projectId"/> + </hyperlink> </field> <field name="currentStatusId" title="${uiLabelMap.CommonStatus}"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> <field name="estimatedStartDate" title="${uiLabelMap.FormFieldTitle_estimatedStartDate}"><display type="date"/></field> @@ -185,7 +193,9 @@ <field name="workEffortParentId"><hidden value=""/></field> <field name="workEffortId"><hidden value="${projectId}"/></field> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${workEffortName}" target="projectView?projectId=${workEffortId}"/> + <hyperlink also-hidden="false" description="${workEffortName}" target="projectView"> + <parameter param-name="projectId" from-field="workEffortId"/> + </hyperlink> </field> <field name="currentStatusId" title="${uiLabelMap.CommonStatus}" parameter-name="dummy"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field> <field name="priority" title="${uiLabelMap.CommonPriority}"><display/></field> @@ -425,7 +435,9 @@ </service> </row-actions> <field name="projectName" map-name="resultProject.projectInfo" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext"> - <hyperlink description="${resultProject.projectInfo.projectName}" target-type="inter-app" target="/projectmgr/control/projectView?projectId=${resultProject.projectInfo.projectId}"/> + <hyperlink description="${resultProject.projectInfo.projectName}" target-type="inter-app" target="/projectmgr/control/projectView"> + <parameter param-name="projectId" from-field="resultProject.projectInfo.projectId"/> + </hyperlink> </field> </form> <form name="ListProjectProviderParties" type="list" list-name="assigns" @@ -612,7 +624,9 @@ <set field="statusId" from-field="result.statusId"/> </row-actions> <field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${workEffortName}" target="taskView?workEffortId=${workEffortId}"/> + <hyperlink also-hidden="false" description="${workEffortName}" target="taskView"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </hyperlink> </field> <field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display description="${resultProject.phaseName}"/></field> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/RequestForms.xml Sun Mar 29 14:02:55 2009 @@ -23,7 +23,9 @@ <form name="ListRequests" type="list" extends="ListRequestList" extends-resource="component://order/webapp/ordermgr/request/RequestForms.xml" paginate-target="requestlist" > <field name="createTaskFromRequest" title="${uiLabelMap.ProjectMgrCreateTaskFromRequest}" widget-style="buttontext"> - <hyperlink description="${uiLabelMap.ProjectMgrCreateTaskFromRequest}" target="EditTaskFromRequest?custRequestId=${custRequestId}"/> + <hyperlink description="${uiLabelMap.ProjectMgrCreateTaskFromRequest}" target="EditTaskFromRequest"> + <parameter param-name="custRequestId" from-field="custRequestId"/> + </hyperlink> </field> </form> <form name="EditCustRequest" type="single" target="updaterequest" title="Request" default-map-name="custRequest"> @@ -113,7 +115,9 @@ <field name="custRequestName"><display/></field> <field name="description"><display/></field> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"> - <hyperlink also-hidden="false" description="${projectName}" target="projectView?projectId=${projectId}"/> + <hyperlink also-hidden="false" description="${projectName}" target="projectView"> + <parameter param-name="projectId" from-field="projectId"/> + </hyperlink> </field> <field name="phaseName"><display description="${result.phaseName}"/></field> <field name="taskName"> @@ -138,7 +142,9 @@ </entity-one> </row-actions> <field name="partyId" widget-style="buttontext"> - <hyperlink description="${partyId}" target="viewprofile?partyId=${partyId}"/> + <hyperlink description="${partyId}" target="viewprofile"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> </field> <field name="RequestTaker"><display description="${person.personalTitle} ${person.firstName} ${person.middleName} ${person.lastName}"/></field> </form> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ResourceForms.xml Sun Mar 29 14:02:55 2009 @@ -31,7 +31,9 @@ <service service-name="getPartyTelephone" result-map="telResult"/> </row-actions> <field name="resourceName" parameter-name="partyId" title="${uiLabelMap.ProjectMgrResourceName}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${lastName}, ${firstName} ${middleName} ${groupName}" target="viewprofile?partyId=${partyId}"/> + <hyperlink also-hidden="false" description="${lastName}, ${firstName} ${middleName} ${groupName}" target="viewprofile"> + <parameter param-name="partyId" from-field="partyId"/> + </hyperlink> </field> <field name="roleTypeId"><hidden/></field> <field name="emailAddess" title="${uiLabelMap.PartyEmailAddress}"> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Sun Mar 29 14:02:55 2009 @@ -177,11 +177,15 @@ <set field="currentStatusId" from-field="result.taskInfo.currentStatusId"/> </row-actions> <field name="workEffortId" title="${uiLabelMap.ProjectMgrTaskId}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${workEffortName}" target="taskView?workEffortId=${workEffortId}"/> + <hyperlink also-hidden="false" description="${workEffortName}" target="taskView"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </hyperlink> </field> <field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display/></field> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${projectName}" target="projectView?projectId=${projectId}"/> + <hyperlink also-hidden="false" description="${projectName}" target="projectView"> + <parameter param-name="projectId" from-field="projectId"/> + </hyperlink> </field> <field name="currentStatusId"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field> <field name="priority"><display/></field> @@ -208,7 +212,9 @@ <field name="oldRoleTypeId" parameter-name="roleTypeId"><hidden value="${roleTypeId}"/></field> <field name="oldPartyId" parameter-name="partyId"><hidden value="${partyId}"/></field> <field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${workEffortName}" target="taskView?workEffortId=${workEffortId}"/> + <hyperlink also-hidden="false" description="${workEffortName}" target="taskView"> + <parameter param-name="workEffortId" from-field="workEffortId"/> + </hyperlink> </field> <field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display description="${resultProject.phaseName}"/></field> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml?rev=759684&r1=759683&r2=759684&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml Sun Mar 29 14:02:55 2009 @@ -70,7 +70,9 @@ <set field="complete" value="${uiLabelMap.ProjectMgrToComplete}"/> </actions> <field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${timesheetId}" target="${my}Timesheet?timesheetId=${timesheetId}"/> + <hyperlink also-hidden="false" description="${timesheetId}" target="${my}Timesheet"> + <parameter param-name="timesheetId" from-field="timesheetId"/> + </hyperlink> </field> <field name="weekNumber" title="${uiLabelMap.ProjectMgrWeekNumber}"><display/></field> <field name="statusId"><display-entity entity-name="StatusItem" description="${description}"/></field> @@ -124,7 +126,9 @@ <set field="completeLink" value="${bsh:"TIMESHEET_IN_PROCESS".equals(statusId)?complete:""}"/> </row-actions> <field name="timesheetId" title="${uiLabelMap.WorkEffortTimesheetTimesheetId}" widget-style="buttontext"> - <hyperlink also-hidden="false" description="${timesheetId}" target="Timesheet?timesheetId=${timesheetId}"/> + <hyperlink also-hidden="false" description="${timesheetId}" target="Timesheet"> + <parameter param-name="timesheetId" from-field="timesheetId"/> + </hyperlink> </field> <field name="partyId" title="${uiLabelMap.PartyParty}"><display-entity entity-name="PartyNameView" description="${firstName} ${middleName} ${lastName} ${groupName}"/></field> <field name="actualHours" title="${uiLabelMap.ProjectMgrActualHours}"><display/></field> @@ -133,7 +137,9 @@ <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date"/></field> <!--field name="comments" title="${uiLabelMap.CommonComments}"><display/></field--> <field name="completeLink" title="${uiLabelMap.CommonStatustoComplete}" widget-style="buttontext"> - <hyperlink target="TimeSheetStatusToComplete?timesheetId=${timesheetId}&statusId=TIMESHEET_COMPLETED" description="${completeLink}"/> + <hyperlink target="TimeSheetStatusToComplete"> + <parameter param-name="timesheetId" from-field="timesheetId}&statusId=TIMESHEET_COMPLETED" description="${completeLink"/> + </hyperlink> </field> </form> @@ -266,11 +272,15 @@ odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="timesheetId"><hidden/></field> <field name="workEffortName" title="${uiLabelMap.ProjectMgrTaskName}"> - <hyperlink target="taskView?workEffortId=${workEffortId} " description="${workEffortName}"/> + <hyperlink target="taskView"> + <parameter param-name="workEffortId" from-field="workEffortId} " description="${workEffortName"/> + </hyperlink> </field> <field name="phaseName" title="${uiLabelMap.ProjectMgrPhaseName}"><display/></field> <field name="projectName" title="${uiLabelMap.ProjectMgrProjectName}"> - <hyperlink target="projectView?projectId=${projectId} " description="${projectName}"/> + <hyperlink target="projectView"> + <parameter param-name="projectId" from-field="projectId} " description="${projectName"/> + </hyperlink> </field> <field name="checkComplete" title="${uiLabelMap.ProjectMgrCheckComplete}"><display/></field> <field name="rateTypeId" title="${uiLabelMap.ProjectMgrRateTypeId}"><display-entity entity-name="RateType" description="${description}"/></field> |
Free forum by Nabble | Edit this page |