Below is the equivalent of cq:noDecoration in a JSP script (CQ component):

  1. import:
    <%@page import="com.day.cq.wcm.api.components.IncludeOptions"%>
  2. Somewhere in the JSP file/codes, insert this code:
    // BLOCK OF CODES (i.e. IF statement, etc)
    IncludeOptions.getOptions(request, true).forceSameContext(Boolean.TRUE);
    // BLOCK OF CODES (i.e. END IF statement, etc)