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?
Err, that didn't quite work
outputs
[table class="fancy"][tr] ... [/tr][/table]
when the page first loads.
However, when recordTable is rerendered by an a4j:commandButton or what have you, it just outputs:
[table][/table]