uicomponenttag.html

来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 609 行 · 第 1/3 页

HTML
609
字号
<HR><A NAME="isSuppressed()"><!-- --></A><H3>isSuppressed</H3><PRE>protected boolean <B>isSuppressed</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isValueReference(java.lang.String)"><!-- --></A><H3>isValueReference</H3><PRE>public static boolean <B>isValueReference</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;value)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><p>Return <code>true</code> if the specified value conforms to the syntax requirements of a value binding expression.  Such expressions`     * may be used on most component tag attributes to signal a desire for deferred evaluation of the attribute or property value to be set on the underlying <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A>.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The value to evaluate<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>value</code> is  <code>null</code></DL></DD></DL><HR><A NAME="release()"><!-- --></A><H3>release</H3><PRE>public void <B>release</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><p>Release any resources allocated during the execution of this tag handler.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/servlet/jsp/tagext/Tag.html#release()">release</A></CODE> in interface <CODE><A HREF="../../../javax/servlet/jsp/tagext/Tag.html" title="interface in javax.servlet.jsp.tagext">Tag</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/faces/webapp/UIComponentClassicTagBase.html#release()">release</A></CODE> in class <CODE><A HREF="../../../javax/faces/webapp/UIComponentClassicTagBase.html" title="class in javax.faces.webapp">UIComponentClassicTagBase</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setProperties(javax.faces.component.UIComponent)"><!-- --></A><H3>setProperties</H3><PRE>protected void <B>setProperties</B>(<A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component">UIComponent</A>&nbsp;component)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../javax/faces/webapp/UIComponentClassicTagBase.html#setProperties(javax.faces.component.UIComponent)">UIComponentClassicTagBase</A></CODE></B></DD><DD><p>Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set.  This method must be called <strong>ONLY</strong> if the specified <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A> was in fact created during the execution of this tag handler instance, and this call will occur <strong>BEFORE</strong> the <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A> is added to the view.</p> <p>Tag subclasses that want to support additional set properties must ensure that the base class <code>setProperties()</code> method is still called.  A typical implementation that supports extra properties <code>foo</code> and <code>bar</code> would look something like this:</p> <pre> protected void setProperties(UIComponent component) {   super.setProperties(component);   if (foo != null) {     component.setAttribute("foo", foo);   }   if (bar != null) {     component.setAttribute("bar", bar);   } } </pre> <p>The default implementation overrides the following properties:</p> <ul> <li><code>rendered</code> - Set if a value for the     <code>rendered</code> property is specified for     this tag handler instance.</li> <li><code>rendererType</code> - Set if the <code>getRendererType()</code>     method returns a non-null value.</li> </ul><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/webapp/UIComponentClassicTagBase.html#setProperties(javax.faces.component.UIComponent)">setProperties</A></CODE> in class <CODE><A HREF="../../../javax/faces/webapp/UIComponentClassicTagBase.html" title="class in javax.faces.webapp">UIComponentClassicTagBase</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>component</CODE> - <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component"><CODE>UIComponent</CODE></A> whose properties are to be  overridden</DL></DD></DL><HR><A NAME="createComponent(javax.faces.context.FacesContext, java.lang.String)"><!-- --></A><H3>createComponent</H3><PRE>protected <A HREF="../../../javax/faces/component/UIComponent.html" title="class in javax.faces.component">UIComponent</A> <B>createComponent</B>(<A HREF="../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A>&nbsp;context,                                      <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;newId)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><p>Implement <code>createComponent</code> using Faces 1.1 EL API.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/faces/webapp/UIComponentClassicTagBase.html#createComponent(javax.faces.context.FacesContext, java.lang.String)">createComponent</A></CODE> in class <CODE><A HREF="../../../javax/faces/webapp/UIComponentClassicTagBase.html" title="class in javax.faces.webapp">UIComponentClassicTagBase</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 current request<DD><CODE>newId</CODE> - id of the component</DL></DD></DL><HR><A NAME="getParentUIComponentTag(javax.servlet.jsp.PageContext)"><!-- --></A><H3>getParentUIComponentTag</H3><PRE>public static <A HREF="../../../javax/faces/webapp/UIComponentTag.html" title="class in javax.faces.webapp">UIComponentTag</A> <B>getParentUIComponentTag</B>(<A HREF="../../../javax/servlet/jsp/PageContext.html" title="class in javax.servlet.jsp">PageContext</A>&nbsp;context)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<DD><p>Locate and return the nearest enclosing <A HREF="../../../javax/faces/webapp/UIComponentTag.html" title="class in javax.faces.webapp"><CODE>UIComponentTag</CODE></A> if any; otherwise, return <code>null</code>.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - <code>PageContext</code> for the current page</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>&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="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="../../../javax/faces/webapp/UIComponentELTag.html" title="class in javax.faces.webapp"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/faces/webapp/UIComponentTagBase.html" title="class in javax.faces.webapp"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/faces/webapp/UIComponentTag.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="UIComponentTag.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.faces.webapp.UIComponentClassicTagBase">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;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + =
减小字号Ctrl + -
显示快捷键?