{"hidden":false,"children":[{"configs":{"serverScript":"var file, data = app.get(),\n  newFile;\nfile = new File(data.path, data.oldName);\nnewFile = new File(data.path, data.newName);\nif (!file.renameTo(newFile))\n  Wb.error('重命名 \u201c' + data.oldName + '\u201d 失败。');\napp.send({\n  icon: WebUtil.encode(FileUtil.getPath(newFile))\n});","itemId":"module"},"expanded":false,"children":[],"type":"module"}],"roles":{},"title":"重命名","iconCls":"","inframe":false,"pageLink":""}