This is an automated email from the ASF dual-hosted git repository.

mridulpathak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a1bcd7bd0 Removed: obsolete screenxls-typed example demo view-maps and 
UI entry points (OFBIZ-13578)
a1bcd7bd0 is described below

commit a1bcd7bd0494442e175cc1dd4b41084b2f61cd1e
Author: Mridul Pathak <[email protected]>
AuthorDate: Sun Sep 13 12:16:52 2026 +0530

    Removed: obsolete screenxls-typed example demo view-maps and UI entry 
points (OFBIZ-13578)
    
    - Removed the ListExampleExport and ExampleReportXls screenxls-typed 
request-maps/view-maps, leaving their existing screenxlsx-typed replacements in 
place
    - Removed the now-dead UI entry points that targeted them: the old 
button-bar link and the old JS export button, both already superseded by 
equivalents added alongside them in OFBIZ-13567
---
 example/webapp/example/WEB-INF/controller.xml | 4 ----
 example/widget/example/CommonScreens.xml      | 3 ---
 example/widget/example/ExampleForms.xml       | 4 ----
 3 files changed, 11 deletions(-)

diff --git a/example/webapp/example/WEB-INF/controller.xml 
b/example/webapp/example/WEB-INF/controller.xml
index aa02c8ca6..34fe73d02 100644
--- a/example/webapp/example/WEB-INF/controller.xml
+++ b/example/webapp/example/WEB-INF/controller.xml
@@ -49,9 +49,7 @@ under the License.
     <request-map uri="EditExample"><security https="true" 
auth="true"/><response name="success" type="view" 
value="EditExample"/></request-map>
     <request-map uri="EditExampleLayer"><security https="true" 
auth="true"/><response name="success" type="view" 
value="EditExampleLayer"/></request-map>
     <request-map uri="ExampleReportHtml"><security https="true" 
auth="true"/><response name="success" type="view" 
value="ExampleReportHtml"/></request-map>
-    <request-map uri="ExampleReportXls"><security https="true" 
auth="true"/><response name="success" type="view" 
value="ExampleReportXls"/></request-map>
     <request-map uri="ExampleReportPdf"><security https="true" 
auth="true"/><response name="success" type="view" 
value="ExampleReportPdf"/></request-map>
-    <request-map uri="ListExampleExport"><security https="true" 
auth="true"/><response name="success" type="view" 
value="ListExampleExport"/></request-map>
     <request-map uri="ListExampleExportXlsx"><security https="true" 
auth="true"/><response name="success" type="view" 
value="ListExampleExportXlsx"/></request-map>
     <request-map uri="ExampleReportXlsx"><security https="true" 
auth="true"/><response name="success" type="view" 
value="ExampleReportXlsx"/></request-map>
     <request-map uri="createExample">
@@ -267,10 +265,8 @@ under the License.
     <view-map name="EditExampleLayer" type="screen" 
page="component://example/widget/example/ExampleScreens.xml#EditExampleLayer"/>
     <view-map name="EditExampleItems" type="screen" 
page="component://example/widget/example/ExampleScreens.xml#EditExampleItems"/>
     <view-map name="EditExampleFeatureAppls" type="screen" 
page="component://example/widget/example/ExampleScreens.xml#EditExampleFeatureAppls"/>
-    <view-map name="ListExampleExport" type="screenxls" 
page="component://example/widget/example/ExampleScreens.xml#ListExampleExport" 
content-type="application/vnd.ms-excel"/>
     <view-map name="ListExampleExportXlsx" type="screenxlsx" 
page="component://example/widget/example/ExampleScreens.xml#ListExampleExport" 
content-type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
     <view-map name="ExampleReportHtml" type="screen" 
page="component://example/widget/example/ExampleScreens.xml#ExampleReport"/>
-    <view-map name="ExampleReportXls" type="screenxls" 
page="component://example/widget/example/ExampleScreens.xml#ExampleReport" 
content-type="application/vnd.ms-excel"/>
     <view-map name="ExampleReportXlsx" type="screenxlsx" 
page="component://example/widget/example/ExampleScreens.xml#ExampleReport" 
content-type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/>
     <view-map name="ExampleReportPdf" type="screenfop" 
page="component://example/widget/example/ExampleScreens.xml#ExampleReport" 
content-type="application/pdf" encoding="none"/>
     <view-map name="ExampleReportPdfBarcode" type="screenfop" 
page="component://example/widget/example/ExampleScreens.xml#ExampleReportPdfBarcode"
 content-type="application/pdf" encoding="none"/>
diff --git a/example/widget/example/CommonScreens.xml 
b/example/widget/example/CommonScreens.xml
index 15a9dcaf5..97d6f2263 100644
--- a/example/widget/example/CommonScreens.xml
+++ b/example/widget/example/CommonScreens.xml
@@ -143,9 +143,6 @@ under the License.
                                                 <parameter 
param-name="exampleId"/>
                                                 <image url-mode="raw" 
src="${iconsLocation}/printer.png"/>
                                             </link>
-                                            <link target="ExampleReportXls" 
text="${uiLabelMap.CommonViewAsXls}" style="buttontext">
-                                                <parameter 
param-name="exampleId"/>
-                                            </link>
                                             <link target="ExampleReportXlsx" 
text="${uiLabelMap.CommonViewAsXlsx}" style="buttontext">
                                                 <parameter 
param-name="exampleId"/>
                                             </link>
diff --git a/example/widget/example/ExampleForms.xml 
b/example/widget/example/ExampleForms.xml
index b4f2bb65c..045ed72da 100644
--- a/example/widget/example/ExampleForms.xml
+++ b/example/widget/example/ExampleForms.xml
@@ -48,10 +48,6 @@ under the License.
             <date-range-picker single-date-picker="false" time-picker="true" 
drops="up"/>
         </field>
         <field name="searchButton"><submit/></field>
-        <field name="exportButton" position="2" widget-style="smallSubmit" 
title=" ">
-            <hyperlink also-hidden="false" target-type="plain" 
description="${uiLabelMap.CommonExport}"
-                       target="javascript: 
document.FindExamples.action='ListExampleExport'; 
document.FindExamples.submit();"/>
-        </field>
         <field name="exportButtonXlsx" position="2" widget-style="smallSubmit" 
title=" ">
             <hyperlink also-hidden="false" target-type="plain" 
description="${uiLabelMap.CommonViewAsXlsx}"
                        target="javascript: 
document.FindExamples.action='ListExampleExportXlsx'; 
document.FindExamples.submit();"/>

Reply via email to