0 Replies Latest reply on Nov 15, 2007 4:28 AM by Rene Rattur

    Proper way for using HtmlAjax components in custom component

    Rene Rattur Newbie

      I would like to find out what is the proper way for programmatically creating and using Ajax4jsf HtmlAjax components in my own custom components, so they would also work in a4j:repeat.

      For example, lets say that I have a component that needs to create 5 HtmlAjaxCommandLink's. Currently on each invocation of encodeBegin, I clear all the children, and re-create the ajax links each time. Somehow I have a feeling that this is not the proper way, cause it doesn't work at all in a4j:repeat.