Enabling Sling Dynamic Include (SDI) with Edge Side Includes (ESI) result to a null request.getParameter value from model
Whenever I enable SDI in our configMgr, getting the values from request.getParameter() from the model result to a blank value.
The URL will be like https://www.test.com/app/replacement?searchstring=test
And the component called that is included in another .html page on the same directory:
<section data-sly-test="${'large' == properties.sizeVersion}" class="">
<div class="">
<sly data-sly-include="result.html"></sly>
</div>
</section>
Then result.html
<sly data-sly-use.repl="com.xxx.xxx.use.ReplacementResult"></sly>
<sly data-sly-test="${repl.dataExist}">
<header class="b-deck__header">
<h3 class="">Header</h3>
</header>
</sly>
The result.html is being called, as well as the ReplacementResult model by debugging it. No errors. The searchstring becomes null/blank
searchstring = request.getParameter("searchstring");
I even tried removing the result.html, and just pasted it in the parent.html, still not able to get any param values from searchstring
Here is my config
Are there any config changes needed here?
Thanks
