Added: myfaces/site/javadoc/org/apache/myfaces/renderkit/html/HtmlRendererUtils.html URL: http://svn.apache.org/viewcvs/myfaces/site/javadoc/org/apache/myfaces/renderkit/html/HtmlRendererUtils.html?rev=167885&view=auto ============================================================================== --- myfaces/site/javadoc/org/apache/myfaces/renderkit/html/HtmlRendererUtils.html (added) +++ myfaces/site/javadoc/org/apache/myfaces/renderkit/html/HtmlRendererUtils.html Tue May 3 02:06:41 2005 @@ -0,0 +1,880 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.4.2_05) on Tue May 03 10:59:30 CEST 2005 --> +<TITLE> +HtmlRendererUtils (Apache MyFaces API Documentation) +</TITLE> + +<META NAME="keywords" CONTENT="org.apache.myfaces.renderkit.html.HtmlRendererUtils class"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + parent.document.title="HtmlRendererUtils (Apache MyFaces API Documentation)"; +} +</SCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_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="../../../../../org/apache/myfaces/renderkit/html/HtmlRenderer.html" title="class in org.apache.myfaces.renderkit.html"><B>PREV CLASS</B></A> + <A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.LinkParameter.html" title="class in org.apache.myfaces.renderkit.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="HtmlRendererUtils.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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.apache.myfaces.renderkit.html</FONT> +<BR> +Class HtmlRendererUtils</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.myfaces.renderkit.html.HtmlRendererUtils</B> +</PRE> +<HR> +<DL> +<DT>public final class <B>HtmlRendererUtils</B><DT>extends java.lang.Object</DL> + +<P> +<DL> +<DT><B>Version:</B></DT> + <DD>$Revision: 167708 $ $Date: 2005-03-22 13:25:30 +0100 (Tue, 22 Mar 2005) $ + $Log$ + Revision 1.30 2005/03/22 12:25:30 tomsp + fixed bug in renderSelectOptions - looking for itemStrValue in lookupSet did not work + + Revision 1.29 2005/03/16 20:34:36 mmarinschek + fix for MYFACES-89, alien commit for Heath Borders + + Revision 1.28 2005/03/15 05:24:03 svieujot + Add a fallback textarea mode to the htmlEditor. + + Revision 1.27 2005/01/24 15:43:13 svieujot + Adjust comments. + + Revision 1.20 2004/10/13 11:51:01 matze + renamed packages to org.apache + + Revision 1.19 2004/09/08 09:32:03 manolito MyfacesConfig moved to config + package + + Revision 1.18 2004/08/09 11:47:09 manolito CSS style support also for non OL + or UL layout + + Revision 1.17 2004/07/18 22:45:11 o_rossmueller fix #992668: convert values + to string for 'selected' comparision + + Revision 1.16 2004/07/09 02:26:19 dave0000 cleanup + + Revision 1.15 2004/07/01 22:00:57 mwessendorf ASF switch + + Revision 1.14 2004/06/21 23:23:37 o_rossmueller fix #976411: removed </input> + tag for selectMultiCheckbox fix #972165: also check for readonly and also + check for selectMultiCheckbox + + Revision 1.13 2004/06/17 00:35:50 o_rossmueller fix #972165: do not reset + disabled html checkboxes (the browser does not send a form value for disabled + checkboxes even if value=true) + + Revision 1.12 2004/06/16 23:51:15 o_rossmueller fix #970747: force separate + end tag for empty select list + + Revision 1.11 2004/06/03 12:57:03 o_rossmueller modified link renderer to use + one hidden field for all links according to 1.1 renderkit docs added + onclick=clear_XXX to button + + Revision 1.10 2004/05/29 10:19:54 mwessendorf made the class FINAL, because + has only one private const + + Revision 1.9 2004/05/18 14:31:39 manolito user role support completely moved + to components source tree + + Revision 1.8 2004/05/03 11:34:27 manolito bug #945118 (Checkbox session + state) fixed + + Revision 1.7 2004/04/30 09:11:38 manolito no message + + Revision 1.6 2004/04/29 19:34:38 o_rossmueller javascript for 'target' + attribute handling + + Revision 1.5 2004/04/29 14:25:23 manolito javascript function name bugfix + + Revision 1.4 2004/04/27 10:32:24 manolito clear hidden inputs javascript + function + + Revision 1.3 2004/04/06 15:34:12 manolito decode methods must not set + submitted value to null + + Revision 1.2 2004/04/01 12:43:18 manolito html nesting bug fixed + + Revision 1.1 2004/03/29 14:57:00 manolito refactoring for implementation and + non-standard component split + + Revision 1.17 2004/03/26 13:39:14 manolito added javascript 'return false' to + onClick attribute in render link method</DD> +<DT><B>Author:</B></DT> + <DD>Manfred Geiler (latest modification by $Author: tomsp $)</DD> +</DL> +<HR> + +<P> +<!-- ======== NESTED CLASS SUMMARY ======== --> + +<A NAME="nested_class_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=2><FONT SIZE="+2"> +<B>Nested Class Summary</B></FONT></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static class</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.LinkParameter.html" title="class in org.apache.myfaces.renderkit.html">HtmlRendererUtils.LinkParameter</A></B></CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- =========== FIELD SUMMARY =========== --> + + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<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>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#decodeUIInput(javax.faces.context.FacesContext, javax.faces.component.UIComponent)">decodeUIInput</A></B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UIComponent component)</CODE> + +<BR> + X-CHECKED: tlddoc h:inputText</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#decodeUISelectBoolean(javax.faces.context.FacesContext, javax.faces.component.UIComponent)">decodeUISelectBoolean</A></B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UIComponent component)</CODE> + +<BR> + X-CHECKED: tlddoc h:selectBooleanCheckbox</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#decodeUISelectMany(javax.faces.context.FacesContext, javax.faces.component.UIComponent)">decodeUISelectMany</A></B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UIComponent component)</CODE> + +<BR> + X-CHECKED: tlddoc h:selectManyListbox</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#decodeUISelectOne(javax.faces.context.FacesContext, javax.faces.component.UIComponent)">decodeUISelectOne</A></B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UIComponent component)</CODE> + +<BR> + X-CHECKED: tlddoc h:selectManyListbox</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#getClearHiddenCommandFormParamsFunctionName(java.lang.String)">getClearHiddenCommandFormParamsFunctionName</A></B>(java.lang.String formName)</CODE> + +<BR> + Prefixes the given String with "clear_" and removes special characters</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#getFormName(javax.faces.component.UIComponent, javax.faces.context.FacesContext)">getFormName</A></B>(javax.faces.component.UIComponent component, + javax.faces.context.FacesContext context)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#getHiddenCommandLinkFieldName(java.lang.String)">getHiddenCommandLinkFieldName</A></B>(java.lang.String formName)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#isDisabledOrReadOnly(javax.faces.component.UIComponent)">isDisabledOrReadOnly</A></B>(javax.faces.component.UIComponent component)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderClearHiddenCommandFormParamsFunction(javax.faces.context.ResponseWriter, java.lang.String, java.util.Set, java.lang.String)">renderClearHiddenCommandFormParamsFunction</A></B>(javax.faces.context.ResponseWriter writer, + java.lang.String formName, + java.util.Set dummyFormParams, + java.lang.String formTarget)</CODE> + +<BR> + Render the javascript function that is called on a click on a commandLink + to clear the hidden inputs. </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderHiddenCommandFormParams(javax.faces.context.ResponseWriter, java.util.Set)">renderHiddenCommandFormParams</A></B>(javax.faces.context.ResponseWriter writer, + java.util.Set dummyFormParams)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderHTMLAttribute(javax.faces.context.ResponseWriter, java.lang.String, java.lang.String, java.lang.Object)">renderHTMLAttribute</A></B>(javax.faces.context.ResponseWriter writer, + java.lang.String componentProperty, + java.lang.String attrName, + java.lang.Object value)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderHTMLAttribute(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, java.lang.String)">renderHTMLAttribute</A></B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String componentProperty, + java.lang.String htmlAttrName)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderHTMLAttributes(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String[])">renderHTMLAttributes</A></B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String[] attributes)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderHTMLAttributesWithOptionalStartElement(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, java.lang.String[])">renderHTMLAttributesWithOptionalStartElement</A></B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String elementName, + java.lang.String[] attributes)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderHTMLAttributeWithOptionalStartElement(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, java.lang.String, java.lang.Object, boolean)">renderHTMLAttributeWithOptionalStartElement</A></B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String elementName, + java.lang.String attrName, + java.lang.Object value, + boolean startElementWritten)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderListbox(javax.faces.context.FacesContext, javax.faces.component.UISelectMany, boolean, int)">renderListbox</A></B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UISelectMany selectMany, + boolean disabled, + int size)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderListbox(javax.faces.context.FacesContext, javax.faces.component.UISelectOne, boolean, int)">renderListbox</A></B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UISelectOne selectOne, + boolean disabled, + int size)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderMenu(javax.faces.context.FacesContext, javax.faces.component.UISelectMany, boolean)">renderMenu</A></B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UISelectMany selectMany, + boolean disabled)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderMenu(javax.faces.context.FacesContext, javax.faces.component.UISelectOne, boolean)">renderMenu</A></B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UISelectOne selectOne, + boolean disabled)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#renderOptionalEndElement(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, java.lang.String[])">renderOptionalEndElement</A></B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String elementName, + java.lang.String[] attributes)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#writeIdIfNecessary(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, javax.faces.context.FacesContext)">writeIdIfNecessary</A></B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + javax.faces.context.FacesContext facesContext)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#writePrettyIndent(javax.faces.context.FacesContext)">writePrettyIndent</A></B>(javax.faces.context.FacesContext facesContext)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.html#writePrettyLineSeparator(javax.faces.context.FacesContext)">writePrettyLineSeparator</A></B>(javax.faces.context.FacesContext facesContext)</CODE> + +<BR> + </TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<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 =========== --> + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=1><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TD> +</TR> +</TABLE> + +<A NAME="decodeUIInput(javax.faces.context.FacesContext, javax.faces.component.UIComponent)"><!-- --></A><H3> +decodeUIInput</H3> +<PRE> +public static void <B>decodeUIInput</B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UIComponent component)</PRE> +<DL> +<DD>X-CHECKED: tlddoc h:inputText +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>facesContext</CODE> - <DD><CODE>component</CODE> - </DL> +</DD> +</DL> +<HR> + +<A NAME="decodeUISelectBoolean(javax.faces.context.FacesContext, javax.faces.component.UIComponent)"><!-- --></A><H3> +decodeUISelectBoolean</H3> +<PRE> +public static void <B>decodeUISelectBoolean</B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UIComponent component)</PRE> +<DL> +<DD>X-CHECKED: tlddoc h:selectBooleanCheckbox +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>facesContext</CODE> - <DD><CODE>component</CODE> - </DL> +</DD> +</DL> +<HR> + +<A NAME="isDisabledOrReadOnly(javax.faces.component.UIComponent)"><!-- --></A><H3> +isDisabledOrReadOnly</H3> +<PRE> +public static boolean <B>isDisabledOrReadOnly</B>(javax.faces.component.UIComponent component)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="decodeUISelectMany(javax.faces.context.FacesContext, javax.faces.component.UIComponent)"><!-- --></A><H3> +decodeUISelectMany</H3> +<PRE> +public static void <B>decodeUISelectMany</B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UIComponent component)</PRE> +<DL> +<DD>X-CHECKED: tlddoc h:selectManyListbox +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>facesContext</CODE> - <DD><CODE>component</CODE> - </DL> +</DD> +</DL> +<HR> + +<A NAME="decodeUISelectOne(javax.faces.context.FacesContext, javax.faces.component.UIComponent)"><!-- --></A><H3> +decodeUISelectOne</H3> +<PRE> +public static void <B>decodeUISelectOne</B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UIComponent component)</PRE> +<DL> +<DD>X-CHECKED: tlddoc h:selectManyListbox +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>facesContext</CODE> - <DD><CODE>component</CODE> - </DL> +</DD> +</DL> +<HR> + +<A NAME="renderListbox(javax.faces.context.FacesContext, javax.faces.component.UISelectOne, boolean, int)"><!-- --></A><H3> +renderListbox</H3> +<PRE> +public static void <B>renderListbox</B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UISelectOne selectOne, + boolean disabled, + int size) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderListbox(javax.faces.context.FacesContext, javax.faces.component.UISelectMany, boolean, int)"><!-- --></A><H3> +renderListbox</H3> +<PRE> +public static void <B>renderListbox</B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UISelectMany selectMany, + boolean disabled, + int size) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderMenu(javax.faces.context.FacesContext, javax.faces.component.UISelectOne, boolean)"><!-- --></A><H3> +renderMenu</H3> +<PRE> +public static void <B>renderMenu</B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UISelectOne selectOne, + boolean disabled) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderMenu(javax.faces.context.FacesContext, javax.faces.component.UISelectMany, boolean)"><!-- --></A><H3> +renderMenu</H3> +<PRE> +public static void <B>renderMenu</B>(javax.faces.context.FacesContext facesContext, + javax.faces.component.UISelectMany selectMany, + boolean disabled) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="writePrettyLineSeparator(javax.faces.context.FacesContext)"><!-- --></A><H3> +writePrettyLineSeparator</H3> +<PRE> +public static void <B>writePrettyLineSeparator</B>(javax.faces.context.FacesContext facesContext) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="writePrettyIndent(javax.faces.context.FacesContext)"><!-- --></A><H3> +writePrettyIndent</H3> +<PRE> +public static void <B>writePrettyIndent</B>(javax.faces.context.FacesContext facesContext) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderHTMLAttribute(javax.faces.context.ResponseWriter, java.lang.String, java.lang.String, java.lang.Object)"><!-- --></A><H3> +renderHTMLAttribute</H3> +<PRE> +public static boolean <B>renderHTMLAttribute</B>(javax.faces.context.ResponseWriter writer, + java.lang.String componentProperty, + java.lang.String attrName, + java.lang.Object value) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Returns:</B><DD>true, if the attribute was written +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderHTMLAttribute(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, java.lang.String)"><!-- --></A><H3> +renderHTMLAttribute</H3> +<PRE> +public static boolean <B>renderHTMLAttribute</B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String componentProperty, + java.lang.String htmlAttrName) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Returns:</B><DD>true, if the attribute was written +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderHTMLAttributes(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String[])"><!-- --></A><H3> +renderHTMLAttributes</H3> +<PRE> +public static boolean <B>renderHTMLAttributes</B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String[] attributes) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Returns:</B><DD>true, if an attribute was written +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderHTMLAttributeWithOptionalStartElement(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, java.lang.String, java.lang.Object, boolean)"><!-- --></A><H3> +renderHTMLAttributeWithOptionalStartElement</H3> +<PRE> +public static boolean <B>renderHTMLAttributeWithOptionalStartElement</B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String elementName, + java.lang.String attrName, + java.lang.Object value, + boolean startElementWritten) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderHTMLAttributesWithOptionalStartElement(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, java.lang.String[])"><!-- --></A><H3> +renderHTMLAttributesWithOptionalStartElement</H3> +<PRE> +public static boolean <B>renderHTMLAttributesWithOptionalStartElement</B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String elementName, + java.lang.String[] attributes) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderOptionalEndElement(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, java.lang.String, java.lang.String[])"><!-- --></A><H3> +renderOptionalEndElement</H3> +<PRE> +public static boolean <B>renderOptionalEndElement</B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + java.lang.String elementName, + java.lang.String[] attributes) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="writeIdIfNecessary(javax.faces.context.ResponseWriter, javax.faces.component.UIComponent, javax.faces.context.FacesContext)"><!-- --></A><H3> +writeIdIfNecessary</H3> +<PRE> +public static void <B>writeIdIfNecessary</B>(javax.faces.context.ResponseWriter writer, + javax.faces.component.UIComponent component, + javax.faces.context.FacesContext facesContext) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderHiddenCommandFormParams(javax.faces.context.ResponseWriter, java.util.Set)"><!-- --></A><H3> +renderHiddenCommandFormParams</H3> +<PRE> +public static void <B>renderHiddenCommandFormParams</B>(javax.faces.context.ResponseWriter writer, + java.util.Set dummyFormParams) + throws java.io.IOException</PRE> +<DL> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="renderClearHiddenCommandFormParamsFunction(javax.faces.context.ResponseWriter, java.lang.String, java.util.Set, java.lang.String)"><!-- --></A><H3> +renderClearHiddenCommandFormParamsFunction</H3> +<PRE> +public static void <B>renderClearHiddenCommandFormParamsFunction</B>(javax.faces.context.ResponseWriter writer, + java.lang.String formName, + java.util.Set dummyFormParams, + java.lang.String formTarget) + throws java.io.IOException</PRE> +<DL> +<DD>Render the javascript function that is called on a click on a commandLink + to clear the hidden inputs. This is necessary because on a browser back, + each hidden input still has it's old value (browser cache!) and therefore + a new submit would cause the according action once more! +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>writer</CODE> - <DD><CODE>formName</CODE> - <DD><CODE>dummyFormParams</CODE> - <DD><CODE>formTarget</CODE> - +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="getClearHiddenCommandFormParamsFunctionName(java.lang.String)"><!-- --></A><H3> +getClearHiddenCommandFormParamsFunctionName</H3> +<PRE> +public static java.lang.String <B>getClearHiddenCommandFormParamsFunctionName</B>(java.lang.String formName)</PRE> +<DL> +<DD>Prefixes the given String with "clear_" and removes special characters +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>formName</CODE> - +<DT><B>Returns:</B><DD></DL> +</DD> +</DL> +<HR> + +<A NAME="getFormName(javax.faces.component.UIComponent, javax.faces.context.FacesContext)"><!-- --></A><H3> +getFormName</H3> +<PRE> +public static java.lang.String <B>getFormName</B>(javax.faces.component.UIComponent component, + javax.faces.context.FacesContext context)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getHiddenCommandLinkFieldName(java.lang.String)"><!-- --></A><H3> +getHiddenCommandLinkFieldName</H3> +<PRE> +public static java.lang.String <B>getHiddenCommandLinkFieldName</B>(java.lang.String formName)</PRE> +<DL> +<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=3 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="../../../../../org/apache/myfaces/renderkit/html/HtmlRenderer.html" title="class in org.apache.myfaces.renderkit.html"><B>PREV CLASS</B></A> + <A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlRendererUtils.LinkParameter.html" title="class in org.apache.myfaces.renderkit.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="HtmlRendererUtils.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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML>
Added: myfaces/site/javadoc/org/apache/myfaces/renderkit/html/HtmlResponseStateManager.html URL: http://svn.apache.org/viewcvs/myfaces/site/javadoc/org/apache/myfaces/renderkit/html/HtmlResponseStateManager.html?rev=167885&view=auto ============================================================================== --- myfaces/site/javadoc/org/apache/myfaces/renderkit/html/HtmlResponseStateManager.html (added) +++ myfaces/site/javadoc/org/apache/myfaces/renderkit/html/HtmlResponseStateManager.html Tue May 3 02:06:41 2005 @@ -0,0 +1,359 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.4.2_05) on Tue May 03 10:59:30 CEST 2005 --> +<TITLE> +HtmlResponseStateManager (Apache MyFaces API Documentation) +</TITLE> + +<META NAME="keywords" CONTENT="org.apache.myfaces.renderkit.html.HtmlResponseStateManager class"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + parent.document.title="HtmlResponseStateManager (Apache MyFaces API Documentation)"; +} +</SCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_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="../../../../../org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.html" title="class in org.apache.myfaces.renderkit.html"><B>PREV CLASS</B></A> + <A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.html" title="class in org.apache.myfaces.renderkit.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="HtmlResponseStateManager.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +org.apache.myfaces.renderkit.html</FONT> +<BR> +Class HtmlResponseStateManager</H2> +<PRE> +java.lang.Object + <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by">javax.faces.render.ResponseStateManager + <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/myfaces/renderkit/MyfacesResponseStateManager.html" title="class in org.apache.myfaces.renderkit">org.apache.myfaces.renderkit.MyfacesResponseStateManager</A> + <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.myfaces.renderkit.html.HtmlResponseStateManager</B> +</PRE> +<HR> +<DL> +<DT>public class <B>HtmlResponseStateManager</B><DT>extends <A HREF="../../../../../org/apache/myfaces/renderkit/MyfacesResponseStateManager.html" title="class in org.apache.myfaces.renderkit">MyfacesResponseStateManager</A></DL> + +<P> +<DL> +<DT><B>Version:</B></DT> + <DD>$Revision: 167257 $ $Date: 2004-10-13 13:51:02 +0200 (Wed, 13 Oct 2004) $ + $Log$ + Revision 1.6 2004/10/13 11:51:00 matze + renamed packages to org.apache + + Revision 1.5 2004/07/01 22:05:07 mwessendorf + ASF switch + + Revision 1.4 2004/05/12 01:41:31 o_rossmueller + fix #951896: added state params to link URLs for ALLOW_JAVASCRIPT=false + + Revision 1.3 2004/04/13 08:57:00 manolito + commons codec + + Revision 1.3 2004/04/09 21:13:10 Sylvain Vieujot + Replace oreilly's Base64 encoder and decoder with Jakarta Commons Codec + + Revision 1.2 2004/04/06 10:20:26 manolito + no state restoring for different viewId</DD> +<DT><B>Author:</B></DT> + <DD>Manfred Geiler (latest modification by $Author: matze $)</DD> +</DL> +<HR> + +<P> +<!-- ======== NESTED CLASS SUMMARY ======== --> + + +<!-- =========== FIELD SUMMARY =========== --> + + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<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/myfaces/renderkit/html/HtmlResponseStateManager.html#HtmlResponseStateManager()">HtmlResponseStateManager</A></B>()</CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<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> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlResponseStateManager.html#getComponentStateToRestore(javax.faces.context.FacesContext)">getComponentStateToRestore</A></B>(javax.faces.context.FacesContext facescontext)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlResponseStateManager.html#getTreeStructureToRestore(javax.faces.context.FacesContext, java.lang.String)">getTreeStructureToRestore</A></B>(javax.faces.context.FacesContext facescontext, + java.lang.String viewId)</CODE> + +<BR> + </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/myfaces/renderkit/html/HtmlResponseStateManager.html#writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)">writeState</A></B>(javax.faces.context.FacesContext facescontext, + javax.faces.application.StateManager.SerializedView serializedview)</CODE> + +<BR> + Writes hidden form inputs with the state info to be saved. + </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/myfaces/renderkit/html/HtmlResponseStateManager.html#writeStateAsUrlParams(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)">writeStateAsUrlParams</A></B>(javax.faces.context.FacesContext facescontext, + javax.faces.application.StateManager.SerializedView serializedview)</CODE> + +<BR> + MyFaces extension</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<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 =========== --> + + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=1><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TD> +</TR> +</TABLE> + +<A NAME="HtmlResponseStateManager()"><!-- --></A><H3> +HtmlResponseStateManager</H3> +<PRE> +public <B>HtmlResponseStateManager</B>()</PRE> +<DL> +</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=1><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TD> +</TR> +</TABLE> + +<A NAME="writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)"><!-- --></A><H3> +writeState</H3> +<PRE> +public void <B>writeState</B>(javax.faces.context.FacesContext facescontext, + javax.faces.application.StateManager.SerializedView serializedview) + throws java.io.IOException</PRE> +<DL> +<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/myfaces/renderkit/MyfacesResponseStateManager.html" title="class in org.apache.myfaces.renderkit">MyfacesResponseStateManager</A></CODE></B></DD> +<DD>Writes hidden form inputs with the state info to be saved. + <CODE>StateManager</CODE> delegates calls to <CODE>StateManager.writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)</CODE> + to this method. +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/myfaces/renderkit/MyfacesResponseStateManager.html#writeState(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)">writeState</A></CODE> in class <CODE><A HREF="../../../../../org/apache/myfaces/renderkit/MyfacesResponseStateManager.html" title="class in org.apache.myfaces.renderkit">MyfacesResponseStateManager</A></CODE></DL> +</DD> +<DD><DL> + +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="writeStateAsUrlParams(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)"><!-- --></A><H3> +writeStateAsUrlParams</H3> +<PRE> +public void <B>writeStateAsUrlParams</B>(javax.faces.context.FacesContext facescontext, + javax.faces.application.StateManager.SerializedView serializedview) + throws java.io.IOException</PRE> +<DL> +<DD>MyFaces extension +<P> +<DD><DL> +<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/myfaces/renderkit/MyfacesResponseStateManager.html#writeStateAsUrlParams(javax.faces.context.FacesContext, javax.faces.application.StateManager.SerializedView)">writeStateAsUrlParams</A></CODE> in class <CODE><A HREF="../../../../../org/apache/myfaces/renderkit/MyfacesResponseStateManager.html" title="class in org.apache.myfaces.renderkit">MyfacesResponseStateManager</A></CODE></DL> +</DD> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>facescontext</CODE> - <DD><CODE>serializedview</CODE> - +<DT><B>Throws:</B> +<DD><CODE>java.io.IOException</CODE></DL> +</DD> +</DL> +<HR> + +<A NAME="getTreeStructureToRestore(javax.faces.context.FacesContext, java.lang.String)"><!-- --></A><H3> +getTreeStructureToRestore</H3> +<PRE> +public java.lang.Object <B>getTreeStructureToRestore</B>(javax.faces.context.FacesContext facescontext, + java.lang.String viewId)</PRE> +<DL> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="getComponentStateToRestore(javax.faces.context.FacesContext)"><!-- --></A><H3> +getComponentStateToRestore</H3> +<PRE> +public java.lang.Object <B>getComponentStateToRestore</B>(javax.faces.context.FacesContext facescontext)</PRE> +<DL> +<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=3 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="../../../../../org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.html" title="class in org.apache.myfaces.renderkit.html"><B>PREV CLASS</B></A> + <A HREF="../../../../../org/apache/myfaces/renderkit/html/HtmlResponseWriterImpl.html" title="class in org.apache.myfaces.renderkit.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="HtmlResponseStateManager.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: FIELD | <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> + +</BODY> +</HTML>
