9 Replies Latest reply on May 30, 2012 5:32 AM by patapsco

    Creating absolute urls  in CQ for consuming externally.


      1) Selector which gets parsys

          StringWriter defaultHtml = new StringWriter();



          <cq:include path="<%=nodeName%>" resourceType="<%=resourceType%>"/>

        <% pageContext.popBody();%>

      <%=defaultHtml %>

      2) the above produces relative urls, so the externall app wont show images, styles, any scripts.

      3) how can make the above output with absolute urls. Please suggest.