Author: cluts
Date: 2008-03-11 13:17:47 -0400 (Tue, 11 Mar 2008)
New Revision: 6712
Modified:
trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
Log:
RF-2099 - deleted the information from FAQ
Modified: trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
===================================================================
--- trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-03-11 17:00:34 UTC (rev
6711)
+++ trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-03-11 17:17:47 UTC (rev
6712)
@@ -1776,33 +1776,7 @@
</rich:dataTable>
</h:form>
...]]></programlisting>
- </section>
- <section id="AddSupportAsFacet">
- <title>How to add support as facet instead of children?</title>
- <para>In order to add <emphasis role="bold">
- <property><a4j:support></property>
- </emphasis> in Java code you should add it as
<emphasis><property>facet</property></emphasis>, not
children:</para>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML"><![CDATA[...
-<h:inputText value="#{bean.text}">
- <a4j:support event="onkeyup" reRender="output"
action="#{bean.action}"/>
-</h:inputText>
-...]]></programlisting>
- <para>Below you can see Java code:</para>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
-<programlisting role="JAVA"><![CDATA[HtmlInputText inputText = new
HtmlInputText();
-...
-HtmlAjaxSupport ajaxSupport = new HtmlAjaxSupport();
-
ajaxSupport.setActionExpression(FacesContext.getCurrentInstance().getApplication().getExpressionFactory().createMethodExpression(FacesContext.getCurrentInstance().getELContext(),
"#{bean.action}", String.class, new Class[] {}));
- ajaxSupport.setEvent("onkeyup");
- ajaxSupport.setReRender("output");
- inputText.getFacets().put("a4jsupport", ajaxSupport);
-]]></programlisting>
- </section>
+ </section>
<section>
<?dbhtml filename="HighlightRowDataTable.html"?>
<title>How to ReRender table cells with ajax
support?</title>
Show replies by date