org.objectweb.jonas.webapp.taglib
Class JonasSubmitTag

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.LinkTag
                  extended by org.objectweb.jonas.webapp.taglib.JonasButtonTag
                      extended by org.objectweb.jonas.webapp.taglib.JonasSubmitTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class JonasSubmitTag
extends JonasButtonTag

See Also:
Serialized Form

Field Summary
protected  java.lang.String ms_JavascriptName
           
protected  java.lang.String ms_MyFunctionName
           
 
Fields inherited from class org.objectweb.jonas.webapp.taglib.JonasButtonTag
ms_LastStyleClass, ms_PathImage, ms_StyleClassButton
 
Fields inherited from class org.apache.struts.taglib.html.LinkTag
action, anchor, forward, href, indexId, linkName, messages, module, name, page, paramId, paramName, paramProperty, paramScope, property, scope, target, text, transaction, useLocalEncoding
 
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
JonasSubmitTag()
           
 
Method Summary
 int doEndTag()
          Render the end.
 int doStartTag()
          Render the beginning.
 java.lang.String getForm()
           
 java.lang.String getValue()
           
protected  java.lang.String prepareCallJavascript()
           
protected  java.lang.String prepareJavascript()
           
 void release()
           
 void setForm(java.lang.String form)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class org.objectweb.jonas.webapp.taglib.JonasButtonTag
getDisabledName, getDisabledProperty, getDisabledValueEqual, getDisabledValueNotEqual, getHeightBorder, getImagesDir, getImagesRoot, getStyleClassBackground, getStyleClassBorderLight, getStyleClassBorderShadow, getStyleClassDisabled, getWhereAreYouInstance, getWidthBorder, lookupProperty, makePathImage, prepareBorderBottom, prepareBorderColumn, prepareBorderTop, prepareImage, setDisabledName, setDisabledProperty, setDisabledValueEqual, setDisabledValueNotEqual, setHeightBorder, setImagesDir, setStyleClassBackground, setStyleClassBorderLight, setStyleClassBorderShadow, setStyleClassDisabled, setWidthBorder
 
Methods inherited from class org.apache.struts.taglib.html.LinkTag
calculateURL, doAfterBody, getAction, getAnchor, getForward, getHref, getIndexId, getLinkName, getModule, getName, getPage, getParamId, getParamName, getParamProperty, getParamScope, getProperty, getScope, getTarget, getTransaction, isUseLocalEncoding, setAction, setAnchor, setForward, setHref, setIndexId, setLinkName, setModule, setName, setPage, setParamId, setParamName, setParamProperty, setParamScope, setProperty, setScope, setTarget, setTransaction, setUseLocalEncoding
 
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, message, prepareAttribute, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareName, 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

ms_MyFunctionName

protected java.lang.String ms_MyFunctionName

ms_JavascriptName

protected java.lang.String ms_JavascriptName
Constructor Detail

JonasSubmitTag

public JonasSubmitTag()
Method Detail

getForm

public java.lang.String getForm()

setForm

public void setForm(java.lang.String form)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Render the beginning.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class JonasButtonTag
Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Render the end.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class JonasButtonTag
Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class JonasButtonTag

prepareCallJavascript

protected java.lang.String prepareCallJavascript()

prepareJavascript

protected java.lang.String prepareJavascript()