if you use jsf 1.1, it should be like that because, the rendering and component tree creation are processed at the same time. In jsf 1.2, first, the tree is created, then it is rendered.
So, if you refer with 'for' to the component that is not in the component tree, it will not work.
Ok I see the problem.
Im using WTP 2.0, Tomcat 5.23 and myfaces 1.1.6
I already tried to migrate to myfaces 1.2, but without success.
what about JSF 1.2 RI?
I tried, but didnt get it to work. Seems like I mixed up some jars.
I always get this error: