Hi,

I'm struggling with an initialization problem. I guess it's not
particularly JSF related. It's more dependency injection related. However,
I hope someone could still assist me.

I'm developping a small application that leverages the JSP managed beans /
managed properties facilities in a recursive way. Too be precise: I have a
bean called 'editor' which has managed property which is a map called
'subcomponents'. This map again refers to diverse managed beans.

As soon as the editor is needed all subcomponents are automatically
created by the ManagedBeanBuilder and placed in the map. It all works
fine, I can  even nest further if I want to, no problems.

However, now it turns out that my 'editor' needs an initialization step
prior to its usage. This initialization should only be performed once, but
no sooner than the whole tree is built.

How can I pull this trick off ? Is there anything in the framework that
allows me to ask if a particular tree was completely built ?

Help is much appreciated !
Walter Snel

Reply via email to