0 Replies Latest reply on Mar 19, 2008 9:53 AM by gerix gerix

    Writing a custom AJAX component

    gerix gerix Newbie

      Hi,

      I have to write a JSF component which have action that rerender itself.

      I write a the component class extending AjaxActionComponent, and implementing AjaxComponent interface. My renderer class extend AjaxComponentRendererBase.

      Rerender are set to my component ID. I generate Ajax action which create an ActionEvent. The broadcast function does this when action event is brodcast:

      AjaxContext.getCurrentInstance(getFacesContext()).addComponentToAjaxRender(this);


      When I debug it, I go into all rendering function on the component, bu when I take a look to the Ajax log on the client side, I see an error indicate that my id is not in response. And when I look the response, there's nothing inside the body elements.

      What I have forget on my component ? Please help ?

      Gerix