for a sample of RichFaces 3.2.0, running in a portlet, see this post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141171
the demo seems to run automatically with the last RichFaces version.
at least it is yet running with the 3.2.0 (as indicated in annotation in footer, etc...).