Note that RichFaces is based on Ajax4JSF, which currently does not support portlets.
Now that we are having Ajax support in JBoss Portal, http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035623#4035623 things could change. So far, no one from Portal or Ajax4JSF team had the time to look into how well it can integrate. If you investifate in that direction and bring back results that would be awesome :)
I've read the links you provided, as well as the development documentation for both A4J and RichFaces. One of the links you provided mentioned that there were several known problems that had to be overcome to support portlets within A4J. What are those problems? (I've identified 3 or 4, but want to make sure I know what I'm getting into)
I just know that it won't work out of the box, for the problems mentionned in the Wiki page.
But AFAIK, no one really had the time to tacke the integration problem, it would be great if someone step up and identify those. (and fix ;) )
Okay ... I'll dig into it over the next couple of weeks. I think this has the potential to be a great way to develop! (great modularity ... portal pages made of portlets made of JSF components).
If it looks promising, I'll need a branch to check the classes into (I'm thinking we'll need an AjaxPortletRender and some associated classes that takes care of resources and view/subview ordering).
I'll be in touch ... and thanks for the encouragement.
Have a ook at the very latest of JBoss Portal (trunk from SVN) that has some Ajax support. (Window refresh)