tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Quijano Vincenzi <leona...@dtqsoftware.com>
Subject Re: [jira] Created: (TAPESTRY-733) Tapestry should call listeners (such as PageBeginRenderListener) in some predefined order
Date Tue, 01 Nov 2005 16:46:44 GMT
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message