In continuation to my previous post on Richfaces 4 Why and How!
Creating dynamic Richfaces 4 components:
Adding dynamic components to the page is little bit tricky now! Though it's a temporary solution which I am going to post, but later it will work as it used to work before!
The issue is when we create a dynamic component it does not appear in the first go, or may appear with the only texts but no styling! Then we would wonder what's gone wrong!
The reason for this I found in Richfaces forum is: Actually it's just JSF 2 problem which I believe should be solved at some point by the Oracle and Apache guys. Dynamically rendering of the components (which was at component tree before but just not rendered) works fine in JSF as it pre-renders resources for all the components even for those...