editContent.put("editForm", wikiEditForm);
JSAndCSSComponent js = new JSAndCSSComponent("js", this.getClass(), new String[] { "wiki-script.js" }, null, false);
content.put("js", js);
// FIXME:gs:a FileUploadCtr should accept vfsContainers instead of
// OLATrootfolderimpl. Refactor it!!!!!!!
fileUplCtr = new FileUploadController(getWindowControl(), WikiManager.getInstance().getMediaFolder(ores), ureq, (int)FolderConfig.getLimitULKB(), Quota.UNLIMITED, null, false);
fileUplCtr.addControllerListener(this);
editContent.put("fileUplCtr", fileUplCtr.getInitialComponent());
editContent.contextPut("fileList", wiki.getMediaFileList());
editContent.contextPut("linkList", wiki.getListOfAllPageNames());
tabs.addTab(translate("tab.edit"), editContent);