Calling a method before page rendering begins

I'm new to JSF. I'm looking for a way to get a method from my backing bean called AFTER page contents are initialized but BEFORE the page is rendered. I want to initialize some components dynamicaly and add them as children of an existing component, and then get everything rendered. How can it be done?

[312 byte] By [Wilka] at [2007-11-26 12:55:49]
# 1
Create a PhaseListener and do your thing before (or even after, it's possible) the render response.
BalusCa at 2007-7-7 16:49:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
What about binding a bean property to your component you wish to add to dynamically?Could you describe a little more of what you are trying to do? There may be a more elegant way of solving the problem.
siefert.davida at 2007-7-7 16:49:48 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...