0 Replies Latest reply on Apr 4, 2012 3:36 AM by ramram888

    HtmlAjaxSupport  replacement in Richfaces 4.x

    ramram888

      Hi all,

       

      I have the following in Richfaces 3.3.3:

       

      HtmlAjaxSupport onchangeEvent = new HtmlAjaxSupport();

      onchangeEvent.setEvent("onchange");

      onchangeEvent.setAjaxSingle(true);

      onchangeEvent.addActionListener(handler);

      onchangeEvent.setActionExpression(context.getApplication().getExpressionFactory().createMethodExpression(context.getELContext(), "#{myBeanBB.myMethod}", String.class, new Class[0]));

      nameSearchFld.getFacets().put("a4jsupport", onchangeEvent);

       

      can anybody give me the replacement code that i should use in Richfaces 4.x