| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc on Fri Aug 22 03:44:06 EDT 2003 --> |
| <TITLE> |
| FormTag (Apache Struts API Documentation) |
| </TITLE> |
| <META NAME="keywords" CONTENT="org.apache.struts.taglib.html.FormTag,FormTag class"> |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| </HEAD> |
| <SCRIPT> |
| function asd() |
| { |
| parent.document.title="FormTag (Apache Struts API Documentation)"; |
| } |
| </SCRIPT> |
| <BODY BGCOLOR="white" onload="asd();"> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FormTag.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/apache/struts/taglib/html/FileTag.html"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/struts/taglib/html/FrameTag.html"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
| <A HREF="FormTag.html" TARGET="_top"><B>NO FRAMES</B></A> |
| |
| <SCRIPT> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
| </NOSCRIPT> |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.struts.taglib.html</FONT> |
| <BR> |
| Class FormTag</H2> |
| <PRE> |
| java.lang.Object |
| | |
| +--javax.servlet.jsp.tagext.TagSupport |
| | |
| +--<B>org.apache.struts.taglib.html.FormTag</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, javax.servlet.jsp.tagext.Tag</DD> |
| </DL> |
| <DL> |
| <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/struts/taglib/nested/html/NestedFormTag.html">NestedFormTag</A></DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT>public class <B>FormTag</B><DT>extends javax.servlet.jsp.tagext.TagSupport</DL> |
| |
| <P> |
| Custom tag that represents an input form, associated with a bean whose |
| properties correspond to the various fields of the form. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Version:</B></DT> |
| <DD>$Revision: 1.1 $ $Date$</DD> |
| <DT><B>Author:</B></DT> |
| <DD>Craig R. McClanahan, Martin Cooper, James Turner, David Graham</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html" TARGET="org.apache.struts.taglib.html.FormTag">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#action">action</A></B></CODE> |
| |
| <BR> |
| The action URL to which this form should be submitted, if any.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#beanName">beanName</A></B></CODE> |
| |
| <BR> |
| The name of the form bean to (create and) use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#beanScope">beanScope</A></B></CODE> |
| |
| <BR> |
| The scope of the form bean to (create and) use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#beanType">beanType</A></B></CODE> |
| |
| <BR> |
| The type of the form bean to (create and) use.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#enctype">enctype</A></B></CODE> |
| |
| <BR> |
| The content encoding to be used on a POST submit.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#focus">focus</A></B></CODE> |
| |
| <BR> |
| The name of the field to receive focus, if any.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#focusIndex">focusIndex</A></B></CODE> |
| |
| <BR> |
| The index in the focus field array to receive focus.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#lineEnd">lineEnd</A></B></CODE> |
| |
| <BR> |
| The line ending string.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#mapping">mapping</A></B></CODE> |
| |
| <BR> |
| The ActionMapping defining where we will be submitting this form</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#messages">messages</A></B></CODE> |
| |
| <BR> |
| The message resources for this package.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#method">method</A></B></CODE> |
| |
| <BR> |
| The request method used when submitting this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#moduleConfig">moduleConfig</A></B></CODE> |
| |
| <BR> |
| The module configuration for our module.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#name">name</A></B></CODE> |
| |
| <BR> |
| The attribute key under which our associated bean is stored.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#onreset">onreset</A></B></CODE> |
| |
| <BR> |
| The onReset event script.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#onsubmit">onsubmit</A></B></CODE> |
| |
| <BR> |
| The onSubmit event script.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#scope">scope</A></B></CODE> |
| |
| <BR> |
| The scope (request or session) under which our associated bean |
| is stored.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected <A HREF="../../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A></CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#servlet">servlet</A></B></CODE> |
| |
| <BR> |
| The ActionServlet instance we are associated with (so that we can |
| initialize the <code>servlet</code> property on any form bean that |
| we create).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#style">style</A></B></CODE> |
| |
| <BR> |
| The style attribute associated with this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#styleClass">styleClass</A></B></CODE> |
| |
| <BR> |
| The style class associated with this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#styleId">styleId</A></B></CODE> |
| |
| <BR> |
| The identifier associated with this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#target">target</A></B></CODE> |
| |
| <BR> |
| The window target.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#type">type</A></B></CODE> |
| |
| <BR> |
| The Java class name of the bean to be created, if necessary.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.TagSupport"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Fields inherited from class javax.servlet.jsp.tagext.TagSupport</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>id, pageContext</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.Tag"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Fields inherited from interface javax.servlet.jsp.tagext.Tag</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#FormTag()">FormTag</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#doEndTag()">doEndTag</A></B>()</CODE> |
| |
| <BR> |
| Render the end of this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#doStartTag()">doStartTag</A></B>()</CODE> |
| |
| <BR> |
| Render the beginning of this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getAction()">getAction</A></B>()</CODE> |
| |
| <BR> |
| Return the action URL to which this form should be submitted.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getBeanName()">getBeanName</A></B>()</CODE> |
| |
| <BR> |
| Return the name of the form bean corresponding to this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getEnctype()">getEnctype</A></B>()</CODE> |
| |
| <BR> |
| Return the content encoding used when submitting this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getFocus()">getFocus</A></B>()</CODE> |
| |
| <BR> |
| Return the focus field name for this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getFocusIndex()">getFocusIndex</A></B>()</CODE> |
| |
| <BR> |
| Returns the focusIndex.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getMethod()">getMethod</A></B>()</CODE> |
| |
| <BR> |
| Return the request method used when submitting this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getName()">getName</A></B>()</CODE> |
| |
| <BR> |
| Return the attribute key name of our bean.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getOnreset()">getOnreset</A></B>()</CODE> |
| |
| <BR> |
| Return the onReset event script.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getOnsubmit()">getOnsubmit</A></B>()</CODE> |
| |
| <BR> |
| Return the onSubmit event script.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getScope()">getScope</A></B>()</CODE> |
| |
| <BR> |
| Return the attribute scope of our bean.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getStyle()">getStyle</A></B>()</CODE> |
| |
| <BR> |
| Return the style attribute for this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getStyleClass()">getStyleClass</A></B>()</CODE> |
| |
| <BR> |
| Return the style class for this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getStyleId()">getStyleId</A></B>()</CODE> |
| |
| <BR> |
| Return the style identifier for this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getTarget()">getTarget</A></B>()</CODE> |
| |
| <BR> |
| Return the window target.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#getType()">getType</A></B>()</CODE> |
| |
| <BR> |
| Return the Java class of our bean.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#initFormBean()">initFormBean</A></B>()</CODE> |
| |
| <BR> |
| Locate or create the bean associated with our form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#isXhtml()">isXhtml</A></B>()</CODE> |
| |
| <BR> |
| Returns true if this tag should render as xhtml.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#lookup()">lookup</A></B>()</CODE> |
| |
| <BR> |
| Look up values for the <code>name</code>, <code>scope</code>, and |
| <code>type</code> properties if necessary.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#release()">release</A></B>()</CODE> |
| |
| <BR> |
| Release any acquired resources.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#renderFocusJavascript()">renderFocusJavascript</A></B>()</CODE> |
| |
| <BR> |
| Generates javascript to set the initial focus to the form element given in the |
| tag's "focus" attribute.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#renderFormStartElement()">renderFormStartElement</A></B>()</CODE> |
| |
| <BR> |
| Generates the opening <code><form></code> element with appropriate |
| attributes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#renderToken()">renderToken</A></B>()</CODE> |
| |
| <BR> |
| Generates a hidden input field with token information, if any.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setAction(java.lang.String)">setAction</A></B>(java.lang.String action)</CODE> |
| |
| <BR> |
| Set the action URL to which this form should be submitted.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setEnctype(java.lang.String)">setEnctype</A></B>(java.lang.String enctype)</CODE> |
| |
| <BR> |
| Set the content encoding used when submitting this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setFocus(java.lang.String)">setFocus</A></B>(java.lang.String focus)</CODE> |
| |
| <BR> |
| Set the focus field name for this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setFocusIndex(java.lang.String)">setFocusIndex</A></B>(java.lang.String focusIndex)</CODE> |
| |
| <BR> |
| Sets the focusIndex.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setMethod(java.lang.String)">setMethod</A></B>(java.lang.String method)</CODE> |
| |
| <BR> |
| Set the request method used when submitting this form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE> |
| |
| <BR> |
| Set the attribute key name of our bean.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setOnreset(java.lang.String)">setOnreset</A></B>(java.lang.String onReset)</CODE> |
| |
| <BR> |
| Set the onReset event script.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setOnsubmit(java.lang.String)">setOnsubmit</A></B>(java.lang.String onSubmit)</CODE> |
| |
| <BR> |
| Set the onSubmit event script.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setScope(java.lang.String)">setScope</A></B>(java.lang.String scope)</CODE> |
| |
| <BR> |
| Set the attribute scope of our bean.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setStyle(java.lang.String)">setStyle</A></B>(java.lang.String style)</CODE> |
| |
| <BR> |
| Set the style attribute for this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setStyleClass(java.lang.String)">setStyleClass</A></B>(java.lang.String styleClass)</CODE> |
| |
| <BR> |
| Set the style class for this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setStyleId(java.lang.String)">setStyleId</A></B>(java.lang.String styleId)</CODE> |
| |
| <BR> |
| Set the style identifier for this tag.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setTarget(java.lang.String)">setTarget</A></B>(java.lang.String target)</CODE> |
| |
| <BR> |
| Set the window target.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/FormTag.html#setType(java.lang.String)">setType</A></B>(java.lang.String type)</CODE> |
| |
| <BR> |
| Set the Java class of our bean.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_javax.servlet.jsp.tagext.TagSupport"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from class javax.servlet.jsp.tagext.TagSupport</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from class java.lang.Object</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="action"><!-- --></A><H3> |
| action</H3> |
| <PRE> |
| protected java.lang.String <B>action</B></PRE> |
| <DL> |
| <DD>The action URL to which this form should be submitted, if any. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="moduleConfig"><!-- --></A><H3> |
| moduleConfig</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> <B>moduleConfig</B></PRE> |
| <DL> |
| <DD>The module configuration for our module. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="enctype"><!-- --></A><H3> |
| enctype</H3> |
| <PRE> |
| protected java.lang.String <B>enctype</B></PRE> |
| <DL> |
| <DD>The content encoding to be used on a POST submit. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="focus"><!-- --></A><H3> |
| focus</H3> |
| <PRE> |
| protected java.lang.String <B>focus</B></PRE> |
| <DL> |
| <DD>The name of the field to receive focus, if any. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="focusIndex"><!-- --></A><H3> |
| focusIndex</H3> |
| <PRE> |
| protected java.lang.String <B>focusIndex</B></PRE> |
| <DL> |
| <DD>The index in the focus field array to receive focus. This only applies if the field |
| given in the focus attribute is actually an array of fields. This allows a specific |
| field in a radio button array to receive focus while still allowing indexed field |
| names like "myRadioButtonField[1]" to be passed in the focus attribute. |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="lineEnd"><!-- --></A><H3> |
| lineEnd</H3> |
| <PRE> |
| protected static java.lang.String <B>lineEnd</B></PRE> |
| <DL> |
| <DD>The line ending string. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="mapping"><!-- --></A><H3> |
| mapping</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> <B>mapping</B></PRE> |
| <DL> |
| <DD>The ActionMapping defining where we will be submitting this form |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="messages"><!-- --></A><H3> |
| messages</H3> |
| <PRE> |
| protected static <A HREF="../../../../../org/apache/struts/util/MessageResources.html">MessageResources</A> <B>messages</B></PRE> |
| <DL> |
| <DD>The message resources for this package. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="method"><!-- --></A><H3> |
| method</H3> |
| <PRE> |
| protected java.lang.String <B>method</B></PRE> |
| <DL> |
| <DD>The request method used when submitting this form. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="name"><!-- --></A><H3> |
| name</H3> |
| <PRE> |
| protected java.lang.String <B>name</B></PRE> |
| <DL> |
| <DD>The attribute key under which our associated bean is stored. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="onreset"><!-- --></A><H3> |
| onreset</H3> |
| <PRE> |
| protected java.lang.String <B>onreset</B></PRE> |
| <DL> |
| <DD>The onReset event script. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="onsubmit"><!-- --></A><H3> |
| onsubmit</H3> |
| <PRE> |
| protected java.lang.String <B>onsubmit</B></PRE> |
| <DL> |
| <DD>The onSubmit event script. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="scope"><!-- --></A><H3> |
| scope</H3> |
| <PRE> |
| protected java.lang.String <B>scope</B></PRE> |
| <DL> |
| <DD>The scope (request or session) under which our associated bean |
| is stored. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="servlet"><!-- --></A><H3> |
| servlet</H3> |
| <PRE> |
| protected <A HREF="../../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> <B>servlet</B></PRE> |
| <DL> |
| <DD>The ActionServlet instance we are associated with (so that we can |
| initialize the <code>servlet</code> property on any form bean that |
| we create). |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="style"><!-- --></A><H3> |
| style</H3> |
| <PRE> |
| protected java.lang.String <B>style</B></PRE> |
| <DL> |
| <DD>The style attribute associated with this tag. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="styleClass"><!-- --></A><H3> |
| styleClass</H3> |
| <PRE> |
| protected java.lang.String <B>styleClass</B></PRE> |
| <DL> |
| <DD>The style class associated with this tag. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="styleId"><!-- --></A><H3> |
| styleId</H3> |
| <PRE> |
| protected java.lang.String <B>styleId</B></PRE> |
| <DL> |
| <DD>The identifier associated with this tag. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="target"><!-- --></A><H3> |
| target</H3> |
| <PRE> |
| protected java.lang.String <B>target</B></PRE> |
| <DL> |
| <DD>The window target. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="type"><!-- --></A><H3> |
| type</H3> |
| <PRE> |
| protected java.lang.String <B>type</B></PRE> |
| <DL> |
| <DD>The Java class name of the bean to be created, if necessary. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="beanName"><!-- --></A><H3> |
| beanName</H3> |
| <PRE> |
| protected java.lang.String <B>beanName</B></PRE> |
| <DL> |
| <DD>The name of the form bean to (create and) use. This is either the same |
| as the 'name' attribute, if that was specified, or is obtained from the |
| associated <code>ActionMapping</code> otherwise. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="beanScope"><!-- --></A><H3> |
| beanScope</H3> |
| <PRE> |
| protected java.lang.String <B>beanScope</B></PRE> |
| <DL> |
| <DD>The scope of the form bean to (create and) use. This is either the same |
| as the 'scope' attribute, if that was specified, or is obtained from the |
| associated <code>ActionMapping</code> otherwise. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="beanType"><!-- --></A><H3> |
| beanType</H3> |
| <PRE> |
| protected java.lang.String <B>beanType</B></PRE> |
| <DL> |
| <DD>The type of the form bean to (create and) use. This is either the same |
| as the 'type' attribute, if that was specified, or is obtained from the |
| associated <code>ActionMapping</code> otherwise. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="FormTag()"><!-- --></A><H3> |
| FormTag</H3> |
| <PRE> |
| public <B>FormTag</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getBeanName()"><!-- --></A><H3> |
| getBeanName</H3> |
| <PRE> |
| public java.lang.String <B>getBeanName</B>()</PRE> |
| <DL> |
| <DD>Return the name of the form bean corresponding to this tag. There is |
| no corresponding setter method; this method exists so that the nested |
| tag classes can obtain the actual bean name derived from other |
| attributes of the tag. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getAction()"><!-- --></A><H3> |
| getAction</H3> |
| <PRE> |
| public java.lang.String <B>getAction</B>()</PRE> |
| <DL> |
| <DD>Return the action URL to which this form should be submitted. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setAction(java.lang.String)"><!-- --></A><H3> |
| setAction</H3> |
| <PRE> |
| public void <B>setAction</B>(java.lang.String action)</PRE> |
| <DL> |
| <DD>Set the action URL to which this form should be submitted. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>action</CODE> - The new action URL</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getEnctype()"><!-- --></A><H3> |
| getEnctype</H3> |
| <PRE> |
| public java.lang.String <B>getEnctype</B>()</PRE> |
| <DL> |
| <DD>Return the content encoding used when submitting this form. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setEnctype(java.lang.String)"><!-- --></A><H3> |
| setEnctype</H3> |
| <PRE> |
| public void <B>setEnctype</B>(java.lang.String enctype)</PRE> |
| <DL> |
| <DD>Set the content encoding used when submitting this form. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>enctype</CODE> - The new content encoding</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFocus()"><!-- --></A><H3> |
| getFocus</H3> |
| <PRE> |
| public java.lang.String <B>getFocus</B>()</PRE> |
| <DL> |
| <DD>Return the focus field name for this form. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFocus(java.lang.String)"><!-- --></A><H3> |
| setFocus</H3> |
| <PRE> |
| public void <B>setFocus</B>(java.lang.String focus)</PRE> |
| <DL> |
| <DD>Set the focus field name for this form. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>focus</CODE> - The new focus field name</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMethod()"><!-- --></A><H3> |
| getMethod</H3> |
| <PRE> |
| public java.lang.String <B>getMethod</B>()</PRE> |
| <DL> |
| <DD>Return the request method used when submitting this form. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setMethod(java.lang.String)"><!-- --></A><H3> |
| setMethod</H3> |
| <PRE> |
| public void <B>setMethod</B>(java.lang.String method)</PRE> |
| <DL> |
| <DD>Set the request method used when submitting this form. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>method</CODE> - The new request method</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getName()"><!-- --></A><H3> |
| getName</H3> |
| <PRE> |
| public java.lang.String <B>getName</B>()</PRE> |
| <DL> |
| <DD>Return the attribute key name of our bean. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setName(java.lang.String)"><!-- --></A><H3> |
| setName</H3> |
| <PRE> |
| public void <B>setName</B>(java.lang.String name)</PRE> |
| <DL> |
| <DD>Set the attribute key name of our bean. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>name</CODE> - The new attribute key name</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOnreset()"><!-- --></A><H3> |
| getOnreset</H3> |
| <PRE> |
| public java.lang.String <B>getOnreset</B>()</PRE> |
| <DL> |
| <DD>Return the onReset event script. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setOnreset(java.lang.String)"><!-- --></A><H3> |
| setOnreset</H3> |
| <PRE> |
| public void <B>setOnreset</B>(java.lang.String onReset)</PRE> |
| <DL> |
| <DD>Set the onReset event script. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>onReset</CODE> - The new event script</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getOnsubmit()"><!-- --></A><H3> |
| getOnsubmit</H3> |
| <PRE> |
| public java.lang.String <B>getOnsubmit</B>()</PRE> |
| <DL> |
| <DD>Return the onSubmit event script. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setOnsubmit(java.lang.String)"><!-- --></A><H3> |
| setOnsubmit</H3> |
| <PRE> |
| public void <B>setOnsubmit</B>(java.lang.String onSubmit)</PRE> |
| <DL> |
| <DD>Set the onSubmit event script. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>onSubmit</CODE> - The new event script</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getScope()"><!-- --></A><H3> |
| getScope</H3> |
| <PRE> |
| public java.lang.String <B>getScope</B>()</PRE> |
| <DL> |
| <DD>Return the attribute scope of our bean. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setScope(java.lang.String)"><!-- --></A><H3> |
| setScope</H3> |
| <PRE> |
| public void <B>setScope</B>(java.lang.String scope)</PRE> |
| <DL> |
| <DD>Set the attribute scope of our bean. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>scope</CODE> - The new attribute scope</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStyle()"><!-- --></A><H3> |
| getStyle</H3> |
| <PRE> |
| public java.lang.String <B>getStyle</B>()</PRE> |
| <DL> |
| <DD>Return the style attribute for this tag. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStyle(java.lang.String)"><!-- --></A><H3> |
| setStyle</H3> |
| <PRE> |
| public void <B>setStyle</B>(java.lang.String style)</PRE> |
| <DL> |
| <DD>Set the style attribute for this tag. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>style</CODE> - The new style attribute</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStyleClass()"><!-- --></A><H3> |
| getStyleClass</H3> |
| <PRE> |
| public java.lang.String <B>getStyleClass</B>()</PRE> |
| <DL> |
| <DD>Return the style class for this tag. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStyleClass(java.lang.String)"><!-- --></A><H3> |
| setStyleClass</H3> |
| <PRE> |
| public void <B>setStyleClass</B>(java.lang.String styleClass)</PRE> |
| <DL> |
| <DD>Set the style class for this tag. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>styleClass</CODE> - The new style class</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStyleId()"><!-- --></A><H3> |
| getStyleId</H3> |
| <PRE> |
| public java.lang.String <B>getStyleId</B>()</PRE> |
| <DL> |
| <DD>Return the style identifier for this tag. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStyleId(java.lang.String)"><!-- --></A><H3> |
| setStyleId</H3> |
| <PRE> |
| public void <B>setStyleId</B>(java.lang.String styleId)</PRE> |
| <DL> |
| <DD>Set the style identifier for this tag. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>styleId</CODE> - The new style identifier</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getTarget()"><!-- --></A><H3> |
| getTarget</H3> |
| <PRE> |
| public java.lang.String <B>getTarget</B>()</PRE> |
| <DL> |
| <DD>Return the window target. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setTarget(java.lang.String)"><!-- --></A><H3> |
| setTarget</H3> |
| <PRE> |
| public void <B>setTarget</B>(java.lang.String target)</PRE> |
| <DL> |
| <DD>Set the window target. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>target</CODE> - The new window target</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getType()"><!-- --></A><H3> |
| getType</H3> |
| <PRE> |
| public java.lang.String <B>getType</B>()</PRE> |
| <DL> |
| <DD>Return the Java class of our bean. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setType(java.lang.String)"><!-- --></A><H3> |
| setType</H3> |
| <PRE> |
| public void <B>setType</B>(java.lang.String type)</PRE> |
| <DL> |
| <DD>Set the Java class of our bean. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>type</CODE> - The new Java class</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="doStartTag()"><!-- --></A><H3> |
| doStartTag</H3> |
| <PRE> |
| public int <B>doStartTag</B>() |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Render the beginning of this form. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>doStartTag</CODE> in interface <CODE>javax.servlet.jsp.tagext.Tag</CODE><DT><B>Overrides:</B><DD><CODE>doStartTag</CODE> in class <CODE>javax.servlet.jsp.tagext.TagSupport</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if a JSP exception has occurred</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="initFormBean()"><!-- --></A><H3> |
| initFormBean</H3> |
| <PRE> |
| protected void <B>initFormBean</B>() |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Locate or create the bean associated with our form. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE><DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="renderFormStartElement()"><!-- --></A><H3> |
| renderFormStartElement</H3> |
| <PRE> |
| protected java.lang.String <B>renderFormStartElement</B>()</PRE> |
| <DL> |
| <DD>Generates the opening <code><form></code> element with appropriate |
| attributes. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="renderToken()"><!-- --></A><H3> |
| renderToken</H3> |
| <PRE> |
| protected java.lang.String <B>renderToken</B>()</PRE> |
| <DL> |
| <DD>Generates a hidden input field with token information, if any. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>A hidden input field containing the token.<DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="doEndTag()"><!-- --></A><H3> |
| doEndTag</H3> |
| <PRE> |
| public int <B>doEndTag</B>() |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Render the end of this form. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>doEndTag</CODE> in interface <CODE>javax.servlet.jsp.tagext.Tag</CODE><DT><B>Overrides:</B><DD><CODE>doEndTag</CODE> in class <CODE>javax.servlet.jsp.tagext.TagSupport</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if a JSP exception has occurred</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="renderFocusJavascript()"><!-- --></A><H3> |
| renderFocusJavascript</H3> |
| <PRE> |
| protected java.lang.String <B>renderFocusJavascript</B>()</PRE> |
| <DL> |
| <DD>Generates javascript to set the initial focus to the form element given in the |
| tag's "focus" attribute. |
| <P> |
| <DD><DL> |
| <DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="release()"><!-- --></A><H3> |
| release</H3> |
| <PRE> |
| public void <B>release</B>()</PRE> |
| <DL> |
| <DD>Release any acquired resources. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>release</CODE> in interface <CODE>javax.servlet.jsp.tagext.Tag</CODE><DT><B>Overrides:</B><DD><CODE>release</CODE> in class <CODE>javax.servlet.jsp.tagext.TagSupport</CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="lookup()"><!-- --></A><H3> |
| lookup</H3> |
| <PRE> |
| protected void <B>lookup</B>() |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Look up values for the <code>name</code>, <code>scope</code>, and |
| <code>type</code> properties if necessary. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if a required value cannot be looked up</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isXhtml()"><!-- --></A><H3> |
| isXhtml</H3> |
| <PRE> |
| private boolean <B>isXhtml</B>()</PRE> |
| <DL> |
| <DD>Returns true if this tag should render as xhtml. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getFocusIndex()"><!-- --></A><H3> |
| getFocusIndex</H3> |
| <PRE> |
| public java.lang.String <B>getFocusIndex</B>()</PRE> |
| <DL> |
| <DD>Returns the focusIndex. |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>String</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFocusIndex(java.lang.String)"><!-- --></A><H3> |
| setFocusIndex</H3> |
| <PRE> |
| public void <B>setFocusIndex</B>(java.lang.String focusIndex)</PRE> |
| <DL> |
| <DD>Sets the focusIndex. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>focusIndex</CODE> - The focusIndex to set</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FormTag.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/apache/struts/taglib/html/FileTag.html"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/struts/taglib/html/FrameTag.html"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
| <A HREF="FormTag.html" TARGET="_top"><B>NO FRAMES</B></A> |
| |
| <SCRIPT> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
| </NOSCRIPT> |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| Copyright © 2000-2003 - Apache Software Foundation |
| </BODY> |
| </HTML> |