3 Replies Latest reply on Apr 1, 2008 8:29 AM by Gleb Galkin

    ajaxlistener Usage

    Saravanan Vijayappan Newbie

      Hi,

      I am new to Richfaces Ajax frame work. I want to use ajaxlistener.

      From the user guide..

      ...
      <a4j:commandLink id="cLink" value="Click it To Send Ajax Request">
      <a4j:ajaxListener type="demo.Bean"/>
      </a4j:commandLink>
      ...


      package demo;
      import org.ajax4jsf.framework.ajax.AjaxEvent;
      public class Bean implements org.ajax4jsf.framework.ajax.AjaxListener{
      ...
      public void processAjax(AjaxEvent arg0){
      //Custom Developer Code
      }
      ...
      }


      My problem is, I am not able to find this package "org.ajax4jsf.framework.ajax.AjaxListener" in my richfaces 3.1.4GA jars

      Can any one help to know how should ajaxlistener be used ? :-(

      Not able to find much details here - http://livedemo.exadel.com/richfaces-demo/richfaces/ajaxListener.jsf?c=ajaxListener

      Thanks
      Sarav