...by the way, I forgot to say:
use a4j:support or a4j:commandLink. pass different f:param's to server. call the panel on oncomplete after reRendering.
example of one panel for different data editing in our richfaces-demo sample. you should chekc-out fom svn latest code and build it. Then look through dataTable sample (3-rd tab)
Thanks - I'll try that.
Aha... oncomplete starts after reRender finishes?
I could find this nowhere in the docs (maybe I just don't know where to look).
Thanks for answering a long-standing question of mine too.
we have three main event attributes:
onsubmit (or onclick for link and button) - before sending request
onbeforedomupdate (before reRender)
oncomplete (after all the activities including reRender done.)