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

deepak 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 9532a30c0 Set allow-direct-view-rendering and 
direct-view-rendering-with-auth to true for findExampleAjax view
9532a30c0 is described below

commit 9532a30c0d131c29d3ca5271c9ea578e0e08e162
Author: Deepak Dixit <deepak.di...@hotwax.co>
AuthorDate: Sat Jun 15 11:50:08 2024 +0530

    Set allow-direct-view-rendering and direct-view-rendering-with-auth to true 
for findExampleAjax view
---
 example/webapp/example/WEB-INF/controller.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/webapp/example/WEB-INF/controller.xml 
b/example/webapp/example/WEB-INF/controller.xml
index e28f0c29a..d7760c3d5 100644
--- a/example/webapp/example/WEB-INF/controller.xml
+++ b/example/webapp/example/WEB-INF/controller.xml
@@ -272,7 +272,7 @@ under the License.
     <view-map name="LookupPartyGroupByName" type="screen" 
page="component://example/widget/example/FormWidgetExampleLookupScreens.xml#LookupPartyGroupByName"/>
 
     <!-- ajax view mappings -->
-    <view-map name="findExampleAjax" type="screen" 
page="component://example/widget/example/ExampleAjaxScreens.xml#AjaxExample"/>
+    <view-map name="findExampleAjax" type="screen" 
page="component://example/widget/example/ExampleAjaxScreens.xml#AjaxExample" 
direct-view-rendering-with-auth="true" allow-direct-view-rendering="true"/>
     <view-map name="ListExampleFormOnly" type="screen" 
page="component://example/widget/example/ExampleAjaxScreens.xml#ListExampleFormOnly"/>
     <view-map name="CreateExampleFormOnly" type="screen" 
page="component://example/widget/example/ExampleAjaxScreens.xml#CreateExampleFormOnly"/>
     <view-map name="printExampleFOPFonts" type="screenfop" 
page="component://example/widget/example/FormWidgetExampleScreens.xml#printExampleFOPFonts"
 content-type="application/pdf"  encoding="none"/>

Reply via email to