gnu.caf.web.tags
Class FormTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by gnu.caf.web.tags.FormTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class FormTag
extends javax.servlet.jsp.tagext.TagSupport

Struts 规侥狼 Token 积己, 包府窍绰 <caf:form/> Tag Handler

Author:
java3391
See Also:
Serialized Form

Field Summary
static java.lang.String TOKEN
           
static java.lang.String TRANSACTION_TOKEN_KEY
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
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
FormTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag.
 java.lang.String getAction()
           
 java.lang.String getEnctype()
           
 java.lang.String getId()
           
 java.lang.String getMethod()
           
 java.lang.String getName()
           
 java.lang.String getOnsubmit()
           
 java.lang.String getTarget()
           
 void init()
           
 void release()
          Release all allocated resources.
 void setAction(java.lang.String action)
           
 void setEnctype(java.lang.String enctype)
           
 void setId(java.lang.String id)
           
 void setMethod(java.lang.String method)
           
 void setName(java.lang.String name)
           
 void setOnsubmit(java.lang.String onsubmit)
           
 void setTarget(java.lang.String target)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN

public static final java.lang.String TOKEN
See Also:
Constant Field Values

TRANSACTION_TOKEN_KEY

public static final java.lang.String TRANSACTION_TOKEN_KEY
See Also:
Constant Field Values
Constructor Detail

FormTag

public FormTag()
Method Detail

init

public void init()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start tag.

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

release

public void release()
Release all allocated resources.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getAction

public java.lang.String getAction()

setAction

public void setAction(java.lang.String action)

getMethod

public java.lang.String getMethod()

setMethod

public void setMethod(java.lang.String method)

getOnsubmit

public java.lang.String getOnsubmit()

setOnsubmit

public void setOnsubmit(java.lang.String onsubmit)

getTarget

public java.lang.String getTarget()

setTarget

public void setTarget(java.lang.String target)

getId

public java.lang.String getId()
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport

setId

public void setId(java.lang.String id)
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

getEnctype

public java.lang.String getEnctype()

setEnctype

public void setEnctype(java.lang.String enctype)


Copyright © 2003 All Rights Reserved.