dan, behavior is ok, please take look at the tapestry wiki and docs a bit: http://wiki.apache.org/tapestry/Tapestry5HowTos
I've put a page describing this problem because it also happend to me first time I created a component. http://wiki.apache.org/tapestry/Tapestry5HowToNotMakeCustomComponent Davor Hrg On 7/13/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
I think the behavior is correct and the documentation may be wrong. If you don't have a body to render, I don't see when or why Tapestry should fire the before/after render body phase events. On 7/13/07, Dan Adams <[EMAIL PROTECTED]> wrote: > I have a component with a template and a beforeRenderBody() method. I've > two uses of it in a test page: one with some content between the start > and end tags and one without. For the first instance, beforeRenderBody() > gets called and for the second it doesn't. Is the the correct behavior? > The documentation seems to suggest otherwise. > > -- > Dan Adams > Senior Software Engineer > Interactive Factory > 617.235.5857 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship TWD Consulting, Inc. Independent J2EE / Open-Source Java Consultant Creator and PMC Chair, Apache Tapestry Creator, Apache HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]