0 Replies Latest reply on Jun 30, 2008 6:48 AM by ben222

    Ajax4JSF Custom Component basics and a4j sources

      Hi all,

      I want to write a custom AJAX component for RichFaces and got a few questions:

      1) I was wondering about incomplete RichFaces/Ajax4JSF source code: I downloaded RichFaces-ui-3.2.1GA sources as tar.gz as well as from Anonymous SNV repository but they do not contain some A4J sources such as org.ajax4jsf.component.html.HtmlAjaxCommandLink or org.ajax4jsf.renderkit.html.CommandLinkRenderer. I wanted to use them as learning sample when writing the custom component and extending the AjaxActionComponent class. Isn't this open source? Or where can i get it from?

      2) Is there a tutorial for Ajax4JSF Custom Components? (i.e. the basics: which classes/interfaces do i have to overwrite, how do IDs have to be passed so that certain components are executed/rendered, how does the (JSON?)-response have to be rendered).
      If not, does anyone have a sample or can give me some hints of necessary steps?

      Thx,
      Ben