|
Author: jleroux
Date: Tue Jan 25 17:45:54 2011 New Revision: 1063374 URL: http://svn.apache.org/viewvc?rev=1063374&view=rev Log: A part of "Order: PDF rendering in same browser window as OFBiz in stead of new window" (https://issues.apache.org/jira/browse/OFBIZ-4140) - OFBIZ-4140 Only added target-window="_BLANK" in widget forms when needed. I don't know how to handle rendering of Birt reports in another window... Modified: ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml ofbiz/trunk/applications/order/widget/ordermgr/ReportForms.xml Modified: ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml?rev=1063374&r1=1063373&r2=1063374&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/QuoteForms.xml Tue Jan 25 17:45:54 2011 @@ -448,7 +448,7 @@ under the License. <field name="percProfit" title="${uiLabelMap.OrderOrderQuotePercProfit}"><display/></field> </form> <form name="EditQuoteReportMail" type="single" target="sendQuoteReportMail" title="" - header-row-style="header-row" default-table-style="basic-table"> + header-row-style="header-row" default-table-style="basic-table" target-window="_BLANK"> <field name="quoteId"><hidden/></field> <field name="emailType"><hidden/></field> <field name="sendTo"><text/></field> Modified: ofbiz/trunk/applications/order/widget/ordermgr/ReportForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/ReportForms.xml?rev=1063374&r1=1063373&r2=1063374&view=diff ============================================================================== --- ofbiz/trunk/applications/order/widget/ordermgr/ReportForms.xml (original) +++ ofbiz/trunk/applications/order/widget/ordermgr/ReportForms.xml Tue Jan 25 17:45:54 2011 @@ -58,12 +58,12 @@ under the License. </drop-down> </field> </form> - <form name="OrderPurchaseProductOptions" type="single" target="OrderPurchaseReportProduct.pdf" title="" extends="OrderPurchaseReportOptions"> + <form name="OrderPurchaseProductOptions" type="single" target="OrderPurchaseReportProduct.pdf" title="" extends="OrderPurchaseReportOptions" target-window="_BLANK"> <field name="fromOrderDate" title="${uiLabelMap.OrderReportFromDate}"><date-time type="timestamp"/></field> <field name="thruOrderDate" title="${uiLabelMap.OrderReportThruDate}"><date-time type="timestamp"/></field> <field name="submitButton" title="${uiLabelMap.CommonRun}" widget-style="smallSubmit"><submit button-type="button"/></field> </form> - <form name="OrderPurchasePaymentOptions" type="single" target="OrderPurchaseReportPayment.pdf" title="" extends="OrderPurchaseReportOptions"> + <form name="OrderPurchasePaymentOptions" type="single" target="OrderPurchaseReportPayment.pdf" title="" extends="OrderPurchaseReportOptions" target-window="_BLANK"> <field name="fromOrderDate" title="${uiLabelMap.OrderReportFromDate}"><date-time type="timestamp"/></field> <field name="thruOrderDate" title="${uiLabelMap.OrderReportThruDate}"><date-time type="timestamp"/></field> @@ -72,7 +72,7 @@ under the License. <!-- form for generating a report of total product sales (quantity and value) --> <form name="SalesByStoreReport" type="single" target="SalesByStoreReport.pdf" title="" - header-row-style="header-row" default-table-style="basic-table"> + header-row-style="header-row" default-table-style="basic-table" target-window="_BLANK"> <field name="productStoreId"> <drop-down allow-empty="false"> <option key="" description="- ${uiLabelMap.CommonSelectAny} -"/> @@ -167,7 +167,7 @@ under the License. <!-- form for generating a report of total product purchases (quantity and value) --> <form name="PurchasesByOrganizationReport" type="single" target="PurchasesByOrganizationReport.pdf" title="" - header-row-style="header-row" default-table-style="basic-table"> + header-row-style="header-row" default-table-style="basic-table" target-window="_BLANK"> <field name="fromPartyId" title="${uiLabelMap.AccountingFromParty}"> <drop-down allow-empty="false"> <option key="" description="- ${uiLabelMap.CommonSelectAny} -"/> |
| Free forum by Nabble | Edit this page |
