org.mentawai.tag.html.dyntag.buttonAction
Class ButtonAction
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mentawai.tag.util.PrintTag
org.mentawai.tag.html.HTMLTag
org.mentawai.tag.html.dyntag.Base
org.mentawai.tag.html.dyntag.BaseTag
org.mentawai.tag.html.dyntag.buttonAction.ButtonAction
- 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 ButtonAction
- extends BaseTag
- Author:
- Alex Fortuna
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
| Methods inherited from class org.mentawai.tag.html.dyntag.BaseTag |
getDisabled, getI18nByKey, getId, getKeyI18n, getKlass, getKlassStyle, getName, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getTagClose, getTextAlign, getTitle, getValue, isNoPrefix, isXhtml, prepareFocusEvents, prepareKeyEvents, prepareTextEvents, setDisabled, setId, setKeyI18n, setKlass, setKlassStyle, setName, setNoPrefix, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setTextAlign, setTitle, setValue |
| Methods inherited from class org.mentawai.tag.html.HTMLTag |
contains, contains, findObject, findObject, findValue, findValue, findValues, findValues, getExtraAttributes, setExtra, setSeparator |
| Methods inherited from class org.mentawai.tag.util.PrintTag |
doEndTag, doStartTag, getBody, getBooleanValue, getSessionObj, getValue, getValue, getValue, getValue, getValue, setMax, setNoHTML |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValues, removeValue, 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 |
ButtonAction
public ButtonAction()
buildTag
protected StringBuffer buildTag()
throws javax.servlet.jsp.JspException
- Method to build tag
- Throws:
javax.servlet.jsp.JspException
getStringToPrint
public String getStringToPrint()
throws javax.servlet.jsp.JspException
- Description copied from class:
PrintTag
- Override this method to return what you want to print in the screen.
- Overrides:
getStringToPrint in class BaseTag
- Returns:
- The string to print.
- Throws:
javax.servlet.jsp.JspException
prepareEventHandlers
protected String prepareEventHandlers()
- Method to prepare events JavaScript in compoenent
prepareMouseEvents
protected void prepareMouseEvents(StringBuffer handlers)
- Overrides:
prepareMouseEvents in class BaseTag
setSubmit
public void setSubmit(boolean submit)
getSubmit
public boolean getSubmit()
getAction
public String getAction()
- Returns:
- Returns the action.
setAction
public void setAction(String action)
- Parameters:
action - The action to set.
Copyright © 2012. All Rights Reserved.