org.slim3.struts.taglib
Class S3SubmitTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.apache.struts.taglib.html.BaseHandlerTag
              extended by org.apache.struts.taglib.html.SubmitTag
                  extended by org.slim3.struts.taglib.S3SubmitTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag

public class S3SubmitTag
extends SubmitTag

SubmitTag of Slim3.

Since:
3.0
Author:
higa
See Also:
Serialized Form

Field Summary
protected  boolean jsValidate
          Whether this class writes javascript for validation.
 
Fields inherited from class org.apache.struts.taglib.html.SubmitTag
messages, property, text, value
 
Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag
accesskey, defaultLocale, doDisabled, doReadonly, indexed, tabindex
 
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
S3SubmitTag()
           
 
Method Summary
 int doEndTag()
           
 boolean isJsValidate()
          Determines if this class writes javascript for validation.
 void release()
           
 void setJsValidate(boolean jsValidate)
          Sets javascript validation flag.
 
Methods inherited from class org.apache.struts.taglib.html.SubmitTag
doAfterBody, doStartTag, getDefaultValue, getElementOpen, getProperty, getValue, prepareButtonAttributes, prepareName, prepareValue, setProperty, setValue
 
Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag
doErrorsExist, getAccesskey, getAlt, getAltKey, getBundle, getDisabled, getElementClose, getErrorKey, getErrorStyle, getErrorStyleClass, getErrorStyleId, getIndexed, getIndexValue, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareOtherAttributes, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setErrorKey, setErrorStyle, setErrorStyleClass, setErrorStyleId, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
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
 

Field Detail

jsValidate

protected boolean jsValidate
Whether this class writes javascript for validation.

Constructor Detail

S3SubmitTag

public S3SubmitTag()
Method Detail

isJsValidate

public boolean isJsValidate()
Determines if this class writes javascript for validation.

Returns:
whether this class writes javascript for validation

setJsValidate

public void setJsValidate(boolean jsValidate)
Sets javascript validation flag.

Parameters:
jsValidate - whether this class writes javascript for validation

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class SubmitTag

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class SubmitTag
Throws:
JspException


Copyright © 2008-2009 The Slim3 project. All Rights Reserved.