Author: artdaw
Date: 2007-11-22 10:22:58 -0500 (Thu, 22 Nov 2007)
New Revision: 4187
Modified:
trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml
Log:
RF-1280 - fix the examples for 'oncomplete' attribute
Modified: trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml 2007-11-22
15:12:31 UTC (rev 4186)
+++ trunk/docs/userguide/en/src/main/docbook/included/commandButton.xml 2007-11-22
15:22:58 UTC (rev 4187)
@@ -62,8 +62,7 @@
depends on the location of <emphasis
role="bold"><property><a4j:commandButton></property></emphasis>.
If the <property>commandButton</property> is situated outside the re-rendered
region
you can use keyword 'this' as in the following example:
</para>
- <programlisting role="JAVA"><![CDATA[
-...
+ <programlisting role="JAVA"><![CDATA[...
<h:form id="form">
<a4j:commandButton id="cbutton" action="director.rollCamera"
onclick="this.disabled=true"
@@ -76,8 +75,7 @@
the
<emphasis><property>"oncomplete"</property></emphasis>
attribute has a problem obtaining a reference of the
<property>commandButton</property> object
when using the keyword 'this'. In this case you can use the
<emphasis><property>"oncomplete"</property></emphasis>
attribute as in the following example:
</para>
- <programlisting role="JAVA"><![CDATA[
-...
+ <programlisting role="JAVA"><![CDATA[...
<h:form id="form">
<a4j:commandButton id="cbutton" action="director.rollCamera"
onclick="this.disabled=true"
Show replies by date