net.sourceforge.ajaxtags.tags
Class AjaxEditorTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by net.sourceforge.ajaxtags.tags.BaseAjaxBodyTag
              extended by net.sourceforge.ajaxtags.tags.BaseAjaxTag
                  extended by net.sourceforge.ajaxtags.tags.AjaxEditorTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class AjaxEditorTag
extends BaseAjaxTag

Wraps the scriptaculous' in-place editor (http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.ajaxtags.tags.BaseAjaxBodyTag
AJAX_VOID_URL, HEADER_FLAG, HEADER_FLAG_VALUE, JSCLASS_BASE
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
AjaxEditorTag()
           
 
Method Summary
 int doEndTag()
           
 String getAcceptText()
           
 String getCancelText()
           
 String getColumns()
           
 String getFormId()
           
 String getHighlightColor()
           
 String getMouseOverText()
           
 String getRows()
           
 String getSavingText()
           
 String getShowAcceptButton()
           
 String getShowCancelLink()
           
protected  void releaseTag()
          Never call release() from releaseTag() -> ends in loop.
 void setAcceptText(String acceptText)
           
 void setCancelText(String cancelText)
           
 void setColumns(String columns)
           
 void setFormId(String formId)
           
 void setHighlightColor(String highlightColor)
           
 void setMouseOverText(String mouseOverText)
           
 void setRows(String rows)
           
 void setSavingText(String savingText)
           
 void setShowAcceptButton(String showAcceptButton)
           
 void setShowCancelLink(String showCancelLink)
           
 
Methods inherited from class net.sourceforge.ajaxtags.tags.BaseAjaxTag
initParameters
 
Methods inherited from class net.sourceforge.ajaxtags.tags.BaseAjaxBodyTag
buildScript, doStartTag, getAttachTo, getBaseUrl, getBody, getErrorFunction, getEventType, getHttpRequestHeader, getHttpServletRequest, getHttpServletResponse, getJsClass, getJSVariable, getOnclickAjax, getOptions, getOptionsBuilder, getOptionsBuilder, getParameters, getParser, getPostFunction, getPreFunction, getSource, getSourceClass, getStyleClass, getTarget, getVar, isAjaxRequest, isHttpRequestHeader, out, release, setAttachTo, setBaseUrl, setErrorFunction, setEventType, setParameters, setParser, setPostFunction, setPreFunction, setSource, setSourceClass, setStyleClass, setTarget, setVar, skipBody
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

AjaxEditorTag

public AjaxEditorTag()
Method Detail

releaseTag

protected void releaseTag()
Description copied from class: BaseAjaxBodyTag
Never call release() from releaseTag() -> ends in loop.

Overrides:
releaseTag in class BaseAjaxBodyTag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

getAcceptText

public String getAcceptText()

setAcceptText

public void setAcceptText(String acceptText)

getCancelText

public String getCancelText()

setCancelText

public void setCancelText(String cancelText)

getColumns

public String getColumns()

setColumns

public void setColumns(String columns)

getHighlightColor

public String getHighlightColor()

setHighlightColor

public void setHighlightColor(String highlightColor)

getMouseOverText

public String getMouseOverText()

setMouseOverText

public void setMouseOverText(String mouseOverText)

getRows

public String getRows()

setRows

public void setRows(String rows)

getSavingText

public String getSavingText()

setSavingText

public void setSavingText(String savingText)

getShowAcceptButton

public String getShowAcceptButton()

setShowAcceptButton

public void setShowAcceptButton(String showAcceptButton)

getShowCancelLink

public String getShowCancelLink()

setShowCancelLink

public void setShowCancelLink(String showCancelLink)

getFormId

public String getFormId()

setFormId

public void setFormId(String formId)


Copyright © 2005-2010 The Ajaxtags Team. All Rights Reserved.