com.ckeditor
Class CKEditorReplaceTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.ckeditor.CKEditorTag
          extended by com.ckeditor.CKEditorReplaceTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class CKEditorReplaceTag
extends CKEditorTag

<ckeditor:replace> tag code. Usage:

<ckeditor:replace replace="editor1" basePath="/ckeditor/" />

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
CKEditorReplaceTag()
          Default constructor.
 
Method Summary
protected  String getCKEditorName()
          gets name of the CKEditor instance.
protected  String getTagOutput(CKEditorConfig config)
          Returns standard tag output.
 void setReplace(String replace)
           
 
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, doStartTag, 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
 

Constructor Detail

CKEditorReplaceTag

public CKEditorReplaceTag()
Default constructor.

Method Detail

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

setReplace

public final void setReplace(String replace)
Parameters:
replace - the name of the replaced element 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.