In my project we wanted to use custom componets and with the same flow, we wanted to have a custom implementaion of a4j:commandButton and a4j:commandLink.
I was able to create non ajax supported components easily with the help of online forums etc but for "Ajax" enabled components, I am not able to proceed, basically not able to get any help from internet.
Actually I tried creating the custom button following the same pattern the way I have created the h:commnad button but its not working. I am getting Named Object not found etc.
After all trial and error, I thought let me get a help from here.
Can you please point to some example or pointer so that I can proceed.