Author: cluts
Date: 2009-02-13 06:53:36 -0500 (Fri, 13 Feb 2009)
New Revision: 12649
Modified:
trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
Log:
RF-6019 - the org.ajax4jsf.framework.ajax.ajaxListener interface exists. Code examples and
some sections have been updated.
Modified: trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2009-02-13 11:44:38
UTC (rev 12648)
+++ trunk/docs/userguide/en/src/main/docbook/included/ajaxListener.xml 2009-02-13 11:53:36
UTC (rev 12649)
@@ -18,18 +18,17 @@
<row>
<entry>listener-class</entry>
- <entry>org.ajax4jsf.framework.ajax.AjaxListener</entry>
+ <entry>org.ajax4jsf.event.AjaxListener</entry>
</row>
<row>
<entry>event-class</entry>
- <entry>org.ajax4jsf.framework.ajax.AjaxEvent</entry>
+ <entry>org.ajax4jsf.event.AjaxEvent</entry>
</row>
<row>
<entry>tag-class</entry>
<entry>org.ajax4jsf.taglib.html.jsp.AjaxListenerTag</entry>
</row>
-
</tbody>
</tgroup>
</table>
@@ -55,7 +54,7 @@
<emphasis role="bold">Example:</emphasis></para>
<programlisting role="JAVA"><![CDATA[package demo;
-public class ImplBean implements import org.ajax4jsf.component.html.AjaxListener{
+public class ImplBean implements import org.ajax4jsf.event.AjaxListener{
...
}
]]></programlisting>
@@ -80,8 +79,8 @@
a good place for update the list of re-rendered components, for example.
Ajax Listener is not invoked for non-Ajax request and when RichFaces works in "Ajax
Request generates
Non-Ajax Response" mode. Therefore, ajax Listener invocation is a good indicator
that Ajax response is going to be processed.
-Attribute
<emphasis><property>"type"</property></emphasis>
described in the following <link linkend="ajaxListener">
chapter</link>. It defines the fully qualified Java class name for listener. This
class implements <code>org.ajax4jsf.framework.ajax.ajaxListener</code>
- <ulink
url="http://labs.jboss.com/file-access/default/members/jbossrichface...;.
You can access to the source of the event (Ajax component) using
<code>event.getSource()</code> call.
+Attribute
<emphasis><property>"type"</property></emphasis>
described in the following <link linkend="ajaxListener">
chapter</link>. It defines the fully qualified Java class name for listener. This
class implements <code>org.ajax4jsf.event.AjaxListener</code>
+ <ulink
url="http://www.jboss.org/file-access/default/members/jbossrichfaces...;.
You can access to the source of the event (Ajax component) using
<code>event.getSource()</code> call.
</para>
<para>
@@ -100,12 +99,12 @@
</para>
<programlisting role="JAVA"><![CDATA[package demo;
+
+import org.ajax4jsf.event.AjaxEvent;
-import org.ajax4jsf.framework.ajax.AjaxEvent;
-
-public class Bean implements org.ajax4jsf.framework.ajax.AjaxListener{
+public class Bean implements org.ajax4jsf.event.AjaxListener{
...
- public void processAjax(AjaxEvent arg0){
+ public void processAjax(AjaxEvent arg){
//Custom Developer Code
}
...