⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 formtag.html

📁 struts api,学习使用struts必备的文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
setStyle</H3>
<PRE>
public void <B>setStyle</B>(java.lang.String&nbsp;style)</PRE>
<DL>
<DD>Set the style attribute for this tag.<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.</DL>
<HR>

<A NAME="setStyleClass(java.lang.String)"><!-- --></A><H3>
setStyleClass</H3>
<PRE>
public void <B>setStyleClass</B>(java.lang.String&nbsp;styleClass)</PRE>
<DL>
<DD>Set the style class for this tag.<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.</DL>
<HR>

<A NAME="setStyleId(java.lang.String)"><!-- --></A><H3>
setStyleId</H3>
<PRE>
public void <B>setStyleId</B>(java.lang.String&nbsp;styleId)</PRE>
<DL>
<DD>Set the style identifier for this tag.<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.</DL>
<HR>

<A NAME="setTarget(java.lang.String)"><!-- --></A><H3>
setTarget</H3>
<PRE>
public void <B>setTarget</B>(java.lang.String&nbsp;target)</PRE>
<DL>
<DD>Set the window target.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - The new window target</DL>
</DD>
</DL>
<HR>

<A NAME="getAcceptCharset()"><!-- --></A><H3>
getAcceptCharset</H3>
<PRE>
public java.lang.String <B>getAcceptCharset</B>()</PRE>
<DL>
<DD>Return the list of character encodings accepted.</DL>
<HR>

<A NAME="setAcceptCharset(java.lang.String)"><!-- --></A><H3>
setAcceptCharset</H3>
<PRE>
public void <B>setAcceptCharset</B>(java.lang.String&nbsp;acceptCharset)</PRE>
<DL>
<DD>Set the list of character encodings accepted.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>acceptCharset</CODE> - The list of character encodings</DL>
</DD>
</DL>
<HR>

<A NAME="setDisabled(boolean)"><!-- --></A><H3>
setDisabled</H3>
<PRE>
public void <B>setDisabled</B>(boolean&nbsp;disabled)</PRE>
<DL>
<DD>Sets the disabled event handler.</DL>
<HR>

<A NAME="isDisabled()"><!-- --></A><H3>
isDisabled</H3>
<PRE>
public boolean <B>isDisabled</B>()</PRE>
<DL>
<DD>Returns the disabled event handler.</DL>
<HR>

<A NAME="setReadonly(boolean)"><!-- --></A><H3>
setReadonly</H3>
<PRE>
public void <B>setReadonly</B>(boolean&nbsp;readonly)</PRE>
<DL>
<DD>Sets the readonly event handler.</DL>
<HR>

<A NAME="isReadonly()"><!-- --></A><H3>
isReadonly</H3>
<PRE>
public boolean <B>isReadonly</B>()</PRE>
<DL>
<DD>Returns the readonly event handler.</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.<DD><DL>
<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.<DD><DL>
<DT><B>Throws:</B><DD><CODE>javax.servlet.jsp.JspException</CODE> - &nbsp;<DT><B>Since: </B><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>&lt;form&gt;</code> element with appropriate attributes.<DD><DL>
<DT><B>Since: </B><DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="renderName(java.lang.StringBuffer)"><!-- --></A><H3>
renderName</H3>
<PRE>
protected void <B>renderName</B>(java.lang.StringBuffer&nbsp;results)</PRE>
<DL>
<DD>Renders the name of the form.  If XHTML is set to true, the name will be rendered as an 'id' attribute, otherwise as a 'name' attribute.</DL>
<HR>

<A NAME="renderAction(java.lang.StringBuffer)"><!-- --></A><H3>
renderAction</H3>
<PRE>
protected void <B>renderAction</B>(java.lang.StringBuffer&nbsp;results)</PRE>
<DL>
<DD>Renders the action attribute</DL>
<HR>

<A NAME="renderOtherAttributes(java.lang.StringBuffer)"><!-- --></A><H3>
renderOtherAttributes</H3>
<PRE>
protected void <B>renderOtherAttributes</B>(java.lang.StringBuffer&nbsp;results)</PRE>
<DL>
<DD>'Hook' to enable this tag to be extended and   additional attributes added.</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. The field is added within a div element for HTML 4.01 Strict compliance.<DD><DL>
<DT><B>Returns:</B><DD>A hidden input field containing the token.<DT><B>Since: </B><DD>Struts 1.1</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="renderAttribute(java.lang.StringBuffer, java.lang.String, java.lang.String)"><!-- --></A><H3>
renderAttribute</H3>
<PRE>
protected void <B>renderAttribute</B>(java.lang.StringBuffer&nbsp;results,                               java.lang.String&nbsp;attribute,                               java.lang.String&nbsp;value)</PRE>
<DL>
<DD>Renders attribute="value" if not null</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.<DD><DL>
<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.<DD><DL>
<DT><B>Since: </B><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.<DD><DL>
<DT><B>Overrides:</B><DD><CODE>release</CODE> in class <CODE>javax.servlet.jsp.tagext.TagSupport</CODE></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.<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.</DL>
<HR>

<A NAME="getFocusIndex()"><!-- --></A><H3>
getFocusIndex</H3>
<PRE>
public java.lang.String <B>getFocusIndex</B>()</PRE>
<DL>
<DD>Returns the focusIndex.<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&nbsp;focusIndex)</PRE>
<DL>
<DD>Sets the focusIndex.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>focusIndex</CODE> - The focusIndex to set</DL>
</DD>
</DL>
<HR>

<A NAME="getScriptLanguage()"><!-- --></A><H3>
getScriptLanguage</H3>
<PRE>
public boolean <B>getScriptLanguage</B>()</PRE>
<DL>
<DD>Gets whether or not the focus script's &lt;script&gt; element will include the  language attribute.<DD><DL>
<DT><B>Returns:</B><DD>true if language attribute will be included.<DT><B>Since: </B><DD>Struts 1.2</DD>
</DL>
</DD>
</DL>
<HR>

<A NAME="setScriptLanguage(boolean)"><!-- --></A><H3>
setScriptLanguage</H3>
<PRE>
public void <B>setScriptLanguage</B>(boolean&nbsp;scriptLanguage)</PRE>
<DL>
<DD>Sets whether or not the focus script's &lt;script&gt; element will include the  language attribute.<DD><DL>
<DT><B>Since: </B><DD>Struts 1.2</DD>
</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=2 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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/FormTag.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/struts/taglib/html/FileTag.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<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>  &nbsp;
&nbsp;<A HREF="FormTag.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
Copyright 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -