I Usually avoid this kind of initialization by making it happen lazy,
If you would share the scenario... maybe there is a nice solution...
Cheers,
Ron
ציטוט Leonardo Quijano Vincenzi:
Something like:
ParentComponent.java:
@InjectComponent("ChildComponent")
public abstract ChildComponent getChildComponent();
...
public void pageBeginRender(PageEvent event) {
...
getChildComponent().pageBeginRender(event);
}
??
the child's pageBeginRender() would be called by the parent
pageBeginRender implementation, and also, by the usual Tapestry listener
cycle (it iterates over every listener and calls everything that
implements PageBeginRenderListener.
Correct me if I'm wrong.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]