I'm trying to render multiple jsf on a single jsp page based on some condition and based on some JS event. Parameters are also needed to be set which I can get through ajax call. My problem is I'm not able to pass the parameters to jspf and not able to render it in jsp through JS.
Right now jspf is included as follows :-
<c:if test="<%= MyPermissionUtil.contains(permissionChecker, Quote.class.getName(), 0, themeDisplay.getScopeGroupId(), ActionKeys.UPDATE_MARGIN) %>">
<div class="cpq--margin-percentage">
<%@ include file="/fragments/margin_percentage.jspf" %>
</div>
</c:if>