WikiTemplate wt = new WikiTemplate(template); ret.append(wt.toString(context.opContext, folder));
ret.append(template.toString(context.opContext, folder));
    private void handleWikiFolder(Context context, Folder folder) throws IOException, ServiceException {    	StringBuffer ret = new StringBuffer();    	    	String template = getTemplate(context, folder, TOC);    	    	if (template == null) {    		template = getDefaultTOC();    	}    	WikiTemplate wt = new WikiTemplate(template);    	ret.append(wt.toString(context.opContext, folder));    	    	context.resp.setContentType(WikiItem.WIKI_CONTENT_TYPE);    	context.resp.getOutputStream().print(ret.toString());    }