com.fredck.FCKeditor.tags
Class FCKeditorConfigurationsTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.fredck.FCKeditor.tags.FCKeditorConfigurationsTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class FCKeditorConfigurationsTag
extends javax.servlet.jsp.tagext.TagSupport

Custom Tag class to access the advanced settings.
Used to override the settings specified in the config.js file. This tag is valid only inside an <FCK:editor>

Simple usage:

 <FCK:config name="StyleNames" value=";Style 1;Style 2; Style 3" />
 

Author:
Simone Chiaretta (simone@piyosailing.com)
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
FCKeditorConfigurationsTag()
           
 
Method Summary
 int doStartTag()
          Update the configuration settings adding the specified value
 java.lang.String getName()
          Get the name of the setting
 java.lang.String getValue()
          Get the value of the setting
 void setName(java.lang.String value)
          Set the name of the setting
 void setValue(java.lang.String value)
          Set the value of the setting
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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

FCKeditorConfigurationsTag

public FCKeditorConfigurationsTag()
Method Detail

getName

public java.lang.String getName()
Get the name of the setting

Returns:
name

setName

public void setName(java.lang.String value)
Set the name of the setting

Parameters:
value - name

getValue

public java.lang.String getValue()
Get the value of the setting

Returns:
name

setValue

public void setValue(java.lang.String value)
Set the value of the setting

Parameters:
value - value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Update the configuration settings adding the specified value

Returns:
SKIP_BODY
Throws:
javax.servlet.jsp.JspException - if tag used outside the <FCK:editor> tag