On 2/6/06, Ryan Wynn <[EMAIL PROTECTED]> wrote:
>
> 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?
The "binding" attribute is evaluated and reattached in the Restore View
phase of the request processing lifecycle, and I know this works correctly
for components in JSP pages (Creator 2 sets up bindings for *all*
components). Maybe there needs to be is something interesting going on
inside Clay for this attribute?
Thanks,
> Ryan
>
Craig