|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.taglib.html.FormTag
jp.terasoluna.fw.web.struts.taglib.FormTag
public class FormTag
Extended form tag.
Extends <html:form> tag which is provided by Struts.
Adds random ID to action URL to avoid caching.
Refer to API of <html:form> tag.
Refer to API of <html:form> tag.
Refer to API of <html:form> tag.
| Field Summary | |
|---|---|
private static java.lang.String |
RANDOM_ID_KEY
Parameter name of random ID to avoid caching. |
private static long |
serialVersionUID
Serial version ID |
| Fields inherited from class org.apache.struts.taglib.html.FormTag |
|---|
acceptCharset, action, beanName, beanScope, beanType, enctype, focus, focusIndex, lineEnd, mapping, messages, method, moduleConfig, onreset, onsubmit, readonly, scriptLanguage, servlet, style, styleClass, styleId, target |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, 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 | |
|---|---|
protected java.lang.String |
getActionMappingURL(java.lang.String action,
javax.servlet.jsp.PageContext pageContext)
Adds random ID to action URL to avoid caching. |
protected java.lang.String |
renderFormStartElement()
Generates the start tag of <form> by appending random parameter. |
| Methods inherited from class org.apache.struts.taglib.html.FormTag |
|---|
doEndTag, doStartTag, getAcceptCharset, getAction, getBeanName, getEnctype, getFocus, getFocusIndex, getMethod, getOnreset, getOnsubmit, getScriptLanguage, getStyle, getStyleClass, getStyleId, getTarget, initFormBean, isDisabled, isReadonly, lookup, release, renderAction, renderAttribute, renderFocusJavascript, renderName, renderOtherAttributes, renderToken, setAcceptCharset, setAction, setDisabled, setEnctype, setFocus, setFocusIndex, setMethod, setOnreset, setOnsubmit, setReadonly, setScriptLanguage, setStyle, setStyleClass, setStyleId, setTarget |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, 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 |
| Field Detail |
|---|
private static final long serialVersionUID
private static final java.lang.String RANDOM_ID_KEY
| Constructor Detail |
|---|
public FormTag()
| Method Detail |
|---|
protected java.lang.String renderFormStartElement()
<form> by appending the random parameter.
renderFormStartElement in class org.apache.struts.taglib.html.FormTag
protected java.lang.String getActionMappingURL(java.lang.String action,
javax.servlet.jsp.PageContext pageContext)
action - Action pathpageContext - Page information
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||