com.ckeditor
Class CKEditorInsertTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.ckeditor.CKEditorTag
com.ckeditor.CKEditorInsertTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class CKEditorInsertTag
- extends CKEditorTag
<ckeditor:editor> tag code.
Usage:
<ckeditor:editor basePath="/ckeditor/" editor="editor1" />
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Methods inherited from class com.ckeditor.CKEditorTag |
doEndTag, getConfig, getEvents, getGlobalEvents, getTimestamp, init, isInitialized, setBasePath, setConfig, setEvents, setGlobalEvents, setInitialized, setTimestamp |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CKEditorInsertTag
public CKEditorInsertTag()
- Default constructor.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
getTagOutput
protected String getTagOutput(CKEditorConfig config)
- Description copied from class:
CKEditorTag
- Returns standard tag output.
- Specified by:
getTagOutput in class CKEditorTag
- Parameters:
config - configuration resolved to a string
- Returns:
- tag standard output
setEditor
public final void setEditor(String editor)
- Parameters:
editor - the editor to set
setValue
public final void setValue(String value)
- Parameters:
value - the String value to set
setTextareaAttributes
public final void setTextareaAttributes(Map<String,String> textareaAttr)
- Parameters:
textareaAttr - the textarea attributes to set
getCKEditorName
protected String getCKEditorName()
- Description copied from class:
CKEditorTag
- gets name of the CKEditor instance.
- Specified by:
getCKEditorName in class CKEditorTag
- Returns:
- name if CKEditor instance.
Copyright © 2003-2011 CKSource - Frederico Knabben. All Rights Reserved.