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.

--
Ing. Leonardo Quijano Vincenzi
Director Técnico
DTQ Software


Ron Piterman wrote:
just curious, why would it be called twice?
Cheers,
Ron



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to