>It seems the binding attribute is not getting set until the restore >view phase. For example if I have > ><component> > <attributes> > <set name="binding" value="#{foo.bar}" bindingType="VB"/> > ... > >setBar is not called until the view is restored. I would have thought >that I would have access to the component during the initial render >phase. > >What I would like to do is during render have getBar() return me a >reference to the UIComponent, but of course it returns null. > >Is this a bug or a misunderstanding on my part? >
I think you are correct. The create component command is not considering a "binding" property expression. It looks like UIComponentTag in the runtime looks for a binding attribute and one exists uses that component instance instead of creating a new one. Please create a bugzilla ticket on this one. >Thanks, >Ryan Gary