But the prerender() is called before the tag being processed. when the
prerender()  is called, the reference is still null if this is an initial
request. Tree hasn't been constructed, when  the prerender()  is called.
I guess maybe if I want to set a initial value of a component when the page
is viewed the first time, the reference to the component must be assigned
using a *new* keyword.


2006/5/4, Craig McClanahan [EMAIL PROTECTED]:

No ... if the getter method returns null, the tag handler will create a
new
component instance, just as if you hadn't declared a binding attribute ...
but then it will call the setter so your backing bean still has access to
the component instance actually being used.

--
> Wang Zeng
>
> Craig




--
Wang Zeng

Reply via email to