Author: lfryc(a)redhat.com
Date: 2011-11-16 11:28:41 -0500 (Wed, 16 Nov 2011)
New Revision: 22939
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Common_Ajax_attributes.xml
Log:
RFPL-1847: Component Reference - rename onsubmit ajax attribute to onbeforesubmit
Modified:
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Common_Ajax_attributes.xml
===================================================================
---
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Common_Ajax_attributes.xml 2011-11-16
16:28:25 UTC (rev 22938)
+++
modules/docs/trunk/Component_Reference/src/main/docbook/en-US/chap-Component_Reference-Common_Ajax_attributes.xml 2011-11-16
16:28:41 UTC (rev 22939)
@@ -207,9 +207,9 @@
JSF provides global <varname>jsf.ajax.onError</varname> and
<varname>jsf.ajax.onEvent</varname> events to define handlers (the
<varname>jsf.ajax.onEvent</varname> event is used for all
<varname>begin</varname>, <varname>success</varname>, and
<varname>complete</varname> events). RichFaces adds event-specific attributes
at the component level.
</para>
<section
id="sect-Component_Reference-Events_and_JavaScript_interactions-onsubmit">
- <title><varname>onsubmit</varname></title>
+ <title><varname>onbeforesubmit</varname></title>
<para>
- The <varname>onsubmit</varname> event attribute invokes the event
listener <emphasis>before</emphasis> the Ajax request is sent. The request is
canceled if the event listener defined for the <varname>onsubmit</varname>
event returns <literal>false</literal>.
+ The <varname>onbeforesubmit</varname> event attribute invokes the event
listener <emphasis>before</emphasis> the Ajax request is sent. The request is
canceled if the event listener defined for the
<varname>onbeforesubmit</varname> event returns
<literal>false</literal>.
</para>
</section>