parent rendering phases: must be called explicitly
Is it ok that parent render phases must be called explicitly from my components? I.e. I must create DerivedComponent.java: protected void beginRender() { super.beginRender(); } otherwise BaseComponent beginRender() is not called. This behaviour seems to contradict http://tapestry.apache.org/tapestry5.1/guide/rendering.html, Parents before Child Regards, Sergey. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: parent rendering phases: must be called explicitly
On Thu, Jun 25, 2009 at 12:26 PM, Sergey Didenkosergey.dide...@gmail.com wrote: This behaviour seems to contradict http://tapestry.apache.org/tapestry5.1/guide/rendering.html, Parents before Child It doesn't: When a sub-class overrides an render phase method of a base class, the method is only invoked once, along with any other base class methods. The subclass can change the implementation of the base class method via an override, but can't change the timing of when that method is invoked. -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: parent rendering phases: must be called explicitly
Sorry, that was the other bug. It works as it is documented. On Thu, Jun 25, 2009 at 6:34 PM, Thiago H. de Paula Figueiredothiag...@gmail.com wrote: On Thu, Jun 25, 2009 at 12:26 PM, Sergey Didenkosergey.dide...@gmail.com wrote: This behaviour seems to contradict http://tapestry.apache.org/tapestry5.1/guide/rendering.html, Parents before Child It doesn't: - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org