Author: atsebro
Date: 2008-11-03 13:28:41 -0500 (Mon, 03 Nov 2008)
New Revision: 11005
Modified:
trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
Log:
RF-3986:"oncomplete" documentation in richfaces_userguide.pdf wrong
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2008-11-03
17:57:41 UTC (rev 11004)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCarchitectover.xml 2008-11-03
18:28:41 UTC (rev 11005)
@@ -592,14 +592,12 @@
also. </para>
<para>
<emphasis>
- <property>"oncomplete"</property>
- </emphasis> attribute allows to invoke the JavaScript code right after the
Ajax
- Response is returned back and the DOM tree of the browser is updated. RichFaces
- registers the code for further invocation of XMLHTTP request object before an Ajax
- request is sent. This means the code will not be changed during processing of the
- request on the server if you use JSF EL value binding. Also, you cannot use
- "this'" inside the code, because it will not point the
component
- where Ajax request was initiated. </para>
+ The <property>"oncomplete"</property>
+ </emphasis> attribute is used for passing JavaScript
+ that would be invoked right after the AJAX response returns back and DOM is updated.
+ It is not recommended to use use keyword <code>this</code> inside the
EL-expression,
+ because it will not always point to the component where AJAX request was initiated.
+ </para>
<para>
<emphasis>
Show replies by date