@Override
public int doStartTag() throws JspException {
try {
fckEditor = new FCKeditor((HttpServletRequest) pageContext
.getRequest(), instanceName, inputName);
if (Utils.isNotEmpty(width))
fckEditor.setWidth(width);
if (Utils.isNotEmpty(height))
fckEditor.setHeight(height);
if (Utils.isNotEmpty(toolbarSet))
fckEditor.setToolbarSet(toolbarSet);
if (Utils.isNotEmpty(value))
fckEditor.setValue(value);
if (Utils.isNotEmpty(basePath))
fckEditor.setBasePath(basePath);
} catch (Exception e) {
throw new JspException(e);
}
return EVAL_BODY_INCLUDE;
}
EditorTag.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:lams
作者:
评论列表
文章目录