0 Replies Latest reply: Apr 4, 2012 3:36 AM by ram ram RSS

    HtmlAjaxSupport  replacement in Richfaces 4.x

    ram ram Newbie

      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