<% 
  import org.apache.commons.lang.StringEscapeUtils;
  def rcontext = _ctx.getRequestContext();
  def requireJs = rcontext.getJavascriptManager().getRequireJS();
  requireJs.require("SHARED/WikiLayout", "WikiLayout");  
  requireJs.addScripts("WikiLayout.initHeightForPreview();") ; 
%>

<div class="uiWikiPagePreview">
  <div class="uiWikiPageTitlePreview">
    <%=StringEscapeUtils.escapeHtml(uicomponent.pageTitle)%>
  </div>
  <% uicomponent.renderChildren(); %>
</div>