"page.not_found", pageId));
}
FolderEntity folder;
String folderPath = "/page" + page.getFriendlyURL();
folder = getBusiness().getFolderBusiness().createFolder(folderPath);
FileEntity file = processResourceFile(imageItem, data, folder);
return "<script type=\"text/javascript\">"
+ " window.parent.CKEDITOR.tools.callFunction("
+ ckeditorFuncNum + ",'/file"
+ folderPath + "/" + file.getFilename() + "');"
+ "</script>";
}
catch (UploadException e) {
return "<script type=\"text/javascript\">"
+ " window.parent.CKEDITOR.tools.callFunction("