org.mentawai.tag.html.dyntag.buttonAction
Class ButtonAction

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.mentawai.tag.util.PrintTag
              extended by org.mentawai.tag.html.HTMLTag
                  extended by org.mentawai.tag.html.dyntag.Base
                      extended by org.mentawai.tag.html.dyntag.BaseTag
                          extended by 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

Field Summary
 
Fields inherited from class org.mentawai.tag.html.dyntag.BaseTag
BASE_DIR
 
Fields inherited from class org.mentawai.tag.html.HTMLTag
cript
 
Fields inherited from class org.mentawai.tag.util.PrintTag
application, loc, maxToPrint, noHTML, req, res, session
 
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
 
Constructor Summary
ButtonAction()
           
 
Method Summary
protected  StringBuffer buildTag()
          Method to build tag
 String getAction()
           
 String getStringToPrint()
          Override this method to return what you want to print in the screen.
 boolean getSubmit()
           
protected  String prepareEventHandlers()
          Method to prepare events JavaScript in compoenent
protected  void prepareMouseEvents(StringBuffer handlers)
           
 void setAction(String action)
           
 void setSubmit(boolean submit)
           
 
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.dyntag.Base
prepareAttribute
 
Methods inherited from class org.mentawai.tag.html.HTMLTag
contains, contains, findObject, findObject, findValue, findValue, findValues, findValues, getExtraAttributes, processCriptedName, processCriptValue, setCript, 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
 

Constructor Detail

ButtonAction

public ButtonAction()
Method Detail

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 © 2013. All Rights Reserved.