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

📄 uiinput.html

📁 j2ee帮助文档软件设计/软件工程 文件格式
💻 HTML
📖 第 1 页 / 共 5 页
字号:
public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getSubmittedValue</B>()</PRE><DL><DD><p>Return the submittedValue value of this <A HREF="../../../javax/faces/component/UIInput.html" title="class in javax.faces.component"><CODE>UIInput</CODE></A> component. This method should only be used by the <code>decode()</code> and <code>validate()</code> method of this component, or  its corresponding <A HREF="../../../javax/faces/render/Renderer.html" title="class in javax.faces.render"><CODE>Renderer</CODE></A>.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html#getSubmittedValue()">getSubmittedValue</A></CODE> in interface <CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html" title="interface in javax.faces.component">EditableValueHolder</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setSubmittedValue(java.lang.Object)"><!-- --></A><H3>setSubmittedValue</H3><PRE>public void <B>setSubmittedValue</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;submittedValue)</PRE><DL><DD><p>Set the submittedValue value of this <A HREF="../../../javax/faces/component/UIInput.html" title="class in javax.faces.component"><CODE>UIInput</CODE></A> component. This method should only be used by the <code>decode()</code> and <code>validate()</code> method of this component, or  its corresponding <A HREF="../../../javax/faces/render/Renderer.html" title="class in javax.faces.render"><CODE>Renderer</CODE></A>.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html#setSubmittedValue(java.lang.Object)">setSubmittedValue</A></CODE> in interface <CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html" title="interface in javax.faces.component">EditableValueHolder</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>submittedValue</CODE> - The new submitted value</DL></DD></DL><HR><A NAME="setValue(java.lang.Object)"><!-- --></A><H3>setValue</H3><PRE>public void <B>setValue</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;value)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../javax/faces/component/ValueHolder.html#setValue(java.lang.Object)">ValueHolder</A></CODE></B></DD><DD><p>Set the value of this <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A> (if any).</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/component/ValueHolder.html#setValue(java.lang.Object)">setValue</A></CODE> in interface <CODE><A HREF="../../../javax/faces/component/ValueHolder.html" title="interface in javax.faces.component">ValueHolder</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/component/UIOutput.html#setValue(java.lang.Object)">setValue</A></CODE> in class <CODE><A HREF="../../../javax/faces/component/UIOutput.html" title="class in javax.faces.component">UIOutput</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The new local value</DL></DD></DL><HR><A NAME="resetValue()"><!-- --></A><H3>resetValue</H3><PRE>public void <B>resetValue</B>()</PRE><DL><DD><p>Convenience method to reset this component's value to the un-initialized state.  This method does the following:</p> <p>Call <A HREF="../../../javax/faces/component/UIInput.html#setValue(java.lang.Object)"><CODE>setValue(java.lang.Object)</CODE></A> passing <code>null</code>.</p> <p>Call <A HREF="../../../javax/faces/component/UIInput.html#setSubmittedValue(java.lang.Object)"><CODE>setSubmittedValue(java.lang.Object)</CODE></A> passing <code>null</code>.</p> <p>Call <A HREF="../../../javax/faces/component/UIInput.html#setLocalValueSet(boolean)"><CODE>setLocalValueSet(boolean)</CODE></A> passing <code>false</code>.</p> <p>Call <A HREF="../../../javax/faces/component/UIInput.html#setValid(boolean)"><CODE>setValid(boolean)</CODE></A> passing <code>true</code>.</p> <p>Upon return from this call if the instance had a <code>ValueBinding</code> associated with it for the "value" property, this binding is evaluated when <A HREF="../../../javax/faces/component/UIOutput.html#getValue()"><CODE>UIOutput.getValue()</CODE></A> is called.  Otherwise, <code>null</code> is returned from <code>getValue()</code>.</p><P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isLocalValueSet()"><!-- --></A><H3>isLocalValueSet</H3><PRE>public boolean <B>isLocalValueSet</B>()</PRE><DL><DD>Return the "local value set" state for this component. Calls to <code>setValue()</code> automatically reset this property to <code>true</code>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html#isLocalValueSet()">isLocalValueSet</A></CODE> in interface <CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html" title="interface in javax.faces.component">EditableValueHolder</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setLocalValueSet(boolean)"><!-- --></A><H3>setLocalValueSet</H3><PRE>public void <B>setLocalValueSet</B>(boolean&nbsp;localValueSet)</PRE><DL><DD>Sets the "local value set" state for this component.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html#setLocalValueSet(boolean)">setLocalValueSet</A></CODE> in interface <CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html" title="interface in javax.faces.component">EditableValueHolder</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isRequired()"><!-- --></A><H3>isRequired</H3><PRE>public boolean <B>isRequired</B>()</PRE><DL><DD><p>Return the "required field" state for this component.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html#isRequired()">isRequired</A></CODE> in interface <CODE><A HREF="../../../javax/faces/component/EditableValueHolder.html" title="interface in javax.faces.component">EditableValueHolder</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getRequiredMessage()"><!-- --></A><H3>getRequiredMessage</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>getRequiredMessage</B>()</PRE><DL><DD><p>If there has been a call to <A HREF="../../../javax/faces/component/UIInput.html#setRequiredMessage(java.lang.String)"><CODE>setRequiredMessage(java.lang.String)</CODE></A> on this instance, return the message.  Otherwise, call <A HREF="../../../javax/faces/component/UIComponent.html#getValueExpression(java.lang.String)"><CODE>UIComponent.getValueExpression(java.lang.String)</CODE></A> passing the key "requiredMessage", get the result of the expression, and return it. Any <A HREF="../../../javax/el/ELException.html" title="class in javax.el"><CODE>ELException</CODE></A>s thrown during the call to <code>getValue()</code> must be wrapped in a <A HREF="../../../javax/faces/FacesException.html" title="class in javax.faces"><CODE>FacesException</CODE></A> and rethrown.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setRequiredMessage(java.lang.String)"><!-- --></A><H3>setRequiredMessage</H3><PRE>public void <B>setRequiredMessage</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;message)</PRE><DL><DD><p>Override any <A HREF="../../../javax/el/ValueExpression.html" title="class in javax.el"><CODE>ValueExpression</CODE></A> set for the "requiredMessage"  with the literal argument provided to this method.  Subsequent calls to <A HREF="../../../javax/faces/component/UIInput.html#getRequiredMessage()"><CODE>getRequiredMessage()</CODE></A> will return this value;</p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>message</CODE> - the literal message value to be displayed in the event the user hasn't supplied a value and one is required.</DL></DD></DL><HR><A NAME="getConverterMessage()"><!-- --></A><H3>getConverterMessage</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>getConverterMessage</B>()</PRE><DL><DD><p>If there has been a call to <A HREF="../../../javax/faces/component/UIInput.html#setConverterMessage(java.lang.String)"><CODE>setConverterMessage(java.lang.String)</CODE></A> on this instance, return the message.  Otherwise, call <A HREF="../../../javax/faces/component/UIComponent.html#getValueExpression(java.lang.String)"><CODE>UIComponent.getValueExpression(java.lang.String)</CODE></A> passing the key "converterMessage", get the result of the expression, and return it. Any <A HREF="../../../javax/el/ELException.html" title="class in javax.el"><CODE>ELException</CODE></A>s thrown during the call to <code>getValue()</code> must be wrapped in a <A HREF="../../../javax/faces/FacesException.html" title="class in javax.faces"><CODE>FacesException</CODE></A> and rethrown.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setConverterMessage(java.lang.String)"><!-- --></A><H3>setConverterMessage</H3><PRE>public void <B>setConverterMessage</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/

⌨️ 快捷键说明

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