Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
themeEclipse
<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>

...