Author: jleroux
Date: Sun Feb 2 17:51:51 2014 New Revision: 1563686 URL: http://svn.apache.org/r1563686 Log: "Applied fix from trunk for revision: 1563683" ------------------------------------------------------------------------ r1563683 | jleroux | 2014-02-02 18:48:37 +0100 (dim. 02 févr. 2014) | 5 lignes A patch from Christian Carlow for "Mandatory and dependent production run links don't navigate to corresponding production run page when clicked" https://issues.apache.org/jira/browse/OFBIZ-5502 When clicking the links associated with madatory or dependent production runs, the corresponding production run page is not loaded. This means its required to go back to the production run search page and lookup the productionRunId manually. I think the links should load the corresponding production run page when clicked. This simple patch resolves the problem. The <hyperlink> elements in the form widget needed the "link-type" attribute set to "anchor" otherwise it defaults to creating a link that submits a form that automatically sets the productionRunId to the current production run workEffortId which causes this issue. ------------------------------------------------------------------------ Modified: ofbiz/branches/release12.04/ (props changed) ofbiz/branches/release12.04/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml Propchange: ofbiz/branches/release12.04/ ------------------------------------------------------------------------------ Merged /ofbiz/trunk:r1563683 Modified: ofbiz/branches/release12.04/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml?rev=1563686&r1=1563685&r2=1563686&view=diff ============================================================================== --- ofbiz/branches/release12.04/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml (original) +++ ofbiz/branches/release12.04/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml Sun Feb 2 17:51:51 2014 @@ -825,7 +825,7 @@ under the License. <form name="mandatoryWorkEfforts" type="list" target="" title="" list-name="mandatoryWorkEfforts" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="workEffortIdFrom" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="ShowProductionRun" description="${workEffortIdFrom}" also-hidden="false"> + <hyperlink target="ShowProductionRun" description="${workEffortIdFrom}" also-hidden="false" link-type="anchor"> <parameter param-name="productionRunId" from-field="workEffortIdFrom"/> </hyperlink> </field> @@ -854,7 +854,7 @@ under the License. <form name="dependentWorkEfforts" type="list" target="" title="" list-name="dependentWorkEfforts" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <field name="workEffortIdTo" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> - <hyperlink target="ShowProductionRun" description="${workEffortIdTo}" also-hidden="false"> + <hyperlink target="ShowProductionRun" description="${workEffortIdTo}" also-hidden="false" link-type="anchor"> <parameter param-name="productionRunId" from-field="workEffortIdTo"/> </hyperlink> </field> |
Free forum by Nabble | Edit this page |