1 Reply Latest reply on Jul 13, 2007 3:28 AM by Garett Harnish

    Custom JSF Components & Ajax4JSF

    Garett Harnish Newbie

      This isn't exactly an Ajax4JSF issue, I believe it has something to do with how the custom component is written, but when it is rerendered by an ajax4jsf event, it breaks. Namely, it loses all the passed parameters. Take for example a fragment like this:

      <a4j:outputPanel id="recordTable">
      <gh:recTable styleClass="fancy" data="#{Phone.data}" />
      </a4j:outputPanel>

      outputs
      ...
      when the page first loads.

      However, when recordTable is rerendered by an a4j:commandButton or what have you, it just outputs:


      That data isn't passed and the class isn't passed. Does anyone know what I forgot to do when I made my custom components?