...
This does not mean that the stylesheet is automatically included in the source. This is accomplished by requesting the current page from the design templatecontext
presentationcontext
, and then requesting all the connected stylesheets from that page. This generates an array of stylesheet objects that each generate the URL using the getUrl()
method.
...
Code Block | ||
---|---|---|
| ||
<c:set var="styleSheets" value="${templatecontextpresentationcontext.pageVersion.styleSheets}" /> <c:forEach var="styleSheet" items="${styleSheets}"> <link rel="stylesheet" href="${fn:escapeToXml(styleSheet.url)}" type= "text/css" /> </c:forEach> |
...