0

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>   

1 Answers1

0

Maybe you can set the attribute before including as a request object and it will be visible like ${variable}? Please see this answer

Pizza eu
  • 1,419
  • 1
  • 14
  • 27