📄 uiform.html
字号:
<HR><A NAME="setSubmitted(boolean)"><!-- --></A><H3>setSubmitted</H3><PRE>public void <B>setSubmitted</B>(boolean submitted)</PRE><DL><DD><p>If <strong>this</strong> <code>UIForm</code> instance (as opposed to other forms in the page) is experiencing a submit during this request processing lifecycle, this method must be called, with <code>true</code> as the argument, during the <A HREF="../../../javax/faces/component/UIComponent.html#decode(javax.faces.context.FacesContext)"><CODE>UIComponent.decode(javax.faces.context.FacesContext)</CODE></A> for this <code>UIForm</code> instance. If <strong>this</strong> <code>UIForm</code> instance is <strong>not</strong> experiencing a submit, this method must be called, with <code>false</code> as the argument, during the <A HREF="../../../javax/faces/component/UIComponent.html#decode(javax.faces.context.FacesContext)"><CODE>UIComponent.decode(javax.faces.context.FacesContext)</CODE></A> for this <code>UIForm</code> instance.</p> <p>The value of a <code>UIForm</code>'s submitted property must not be saved as part of its state.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isPrependId()"><!-- --></A><H3>isPrependId</H3><PRE>public boolean <B>isPrependId</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setPrependId(boolean)"><!-- --></A><H3>setPrependId</H3><PRE>public void <B>setPrependId</B>(boolean prependId)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="processDecodes(javax.faces.context.FacesContext)"><!-- --></A><H3>processDecodes</H3><PRE>public void <B>processDecodes</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context)</PRE><DL><DD><p>Override <A HREF="../../../javax/faces/component/UIComponent.html#processDecodes(javax.faces.context.FacesContext)"><CODE>UIComponent.processDecodes(javax.faces.context.FacesContext)</CODE></A> to ensure that the form is decoded <strong>before</strong> its children. This is necessary to allow the <code>submitted</code> property to be correctly set.</p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponentBase.html#processDecodes(javax.faces.context.FacesContext)">processDecodes</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> for the request we are processing<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>context</code> is <code>null</code></DL></DD></DL><HR><A NAME="processValidators(javax.faces.context.FacesContext)"><!-- --></A><H3>processValidators</H3><PRE>public void <B>processValidators</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context)</PRE><DL><DD><p>Override <A HREF="../../../javax/faces/component/UIComponent.html#processValidators(javax.faces.context.FacesContext)"><CODE>UIComponent.processValidators(javax.faces.context.FacesContext)</CODE></A> to ensure that the children of this <code>UIForm</code> instance are only processed if <A HREF="../../../javax/faces/component/UIForm.html#isSubmitted()"><CODE>isSubmitted()</CODE></A> returns <code>true</code>.</p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponentBase.html#processValidators(javax.faces.context.FacesContext)">processValidators</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> for the request we are processing<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>context</code> is <code>null</code></DL></DD></DL><HR><A NAME="processUpdates(javax.faces.context.FacesContext)"><!-- --></A><H3>processUpdates</H3><PRE>public void <B>processUpdates</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context)</PRE><DL><DD><p>Override <A HREF="../../../javax/faces/component/UIComponent.html#processUpdates(javax.faces.context.FacesContext)"><CODE>UIComponent.processUpdates(javax.faces.context.FacesContext)</CODE></A> to ensure that the children of this <code>UIForm</code> instance are only processed if <A HREF="../../../javax/faces/component/UIForm.html#isSubmitted()"><CODE>isSubmitted()</CODE></A> returns <code>true</code>.</p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponentBase.html#processUpdates(javax.faces.context.FacesContext)">processUpdates</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context"><CODE>FacesContext</CODE></A> for the request we are processing<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/NullPointerException.html" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>context</code> is <code>null</code></DL></DD></DL><HR><A NAME="getContainerClientId(javax.faces.context.FacesContext)"><!-- --></A><H3>getContainerClientId</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getContainerClientId</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> context)</PRE><DL><DD><p>Override the <A HREF="../../../javax/faces/component/UIComponent.html#getContainerClientId(javax.faces.context.FacesContext)"><CODE>UIComponent.getContainerClientId(javax.faces.context.FacesContext)</CODE></A> to allow users to disable this form from prepending its <code>clientId</code> to its descendent's <code>clientIds</code> depending on the value of this form's <A HREF="../../../javax/faces/component/UIForm.html#isPrependId()"><CODE>isPrependId()</CODE></A> property.</p><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIComponent.html#getContainerClientId(javax.faces.context.FacesContext)">getContainerClientId</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component">UIComponent</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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="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="../../../javax/faces/component/UIData.html" title="class in javax.faces.component"><B>PREV CLASS</B></A> <A HREF="../../../javax/faces/component/UIGraphic.html" title="class in javax.faces.component"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/faces/component/UIForm.html" target="_top"><B>FRAMES</B></A> <A HREF="UIForm.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -