@Override public void processRender(WebuiRequestContext context) throws Exception { RenderingService renderingService = (RenderingService) PortalContainer.getComponent(RenderingService.class); WikiService wikiService = (WikiService) PortalContainer.getComponent(WikiService.class); String syntaxId = org.exoplatform.wiki.commons.Utils.getDefaultSyntax(); PageImpl syntaxHelpPage = wikiService.getHelpSyntaxPage(syntaxId); this.syntaxName = syntaxId.replace("/", " ").toUpperCase(); if (syntaxHelpPage != null) { String markup = syntaxHelpPage.getContent().getText(); this.htmlOutput = renderingService.render(markup, syntaxId, Syntax.XHTML_1_0.toIdString(), false); this.syntaxFullPageUrl = "/" + PortalContainer.getInstance().getRestContextName() + "/wiki/help/" + syntaxId.replace("/", Utils.SLASH).replace(".", Utils.DOT); } else { this.htmlOutput = null; } super.processRender(context); }