this can be accomplished by Composite Components feature supported in JSF. Please refer to Core Java Server Faces 3rd edition in detail, how to create a such composite component, it will guide you in detail.
I looked at the Composite feature of JSF 2.0. Unfortunately I am using JSF 1.2 and could not move to 2.0 due to some issues. If I can make some changes
to the rich:dataList, basically the encode(), it would be great.
Take a look at this arcle:
If it won't fit your idea you should probably read this:
It is easier to use the existing code, and make a little changes. If anyone could point me to the encode() method and ajax reRender code for rich:dataList, it would be a big help.