There'll be a component for that ... I think it looks like:
@ComponentClass
public class Delegate
{
@Parameter
private Object _value;
Object beforeRender() { return _value; }
boolean beforeRenderBody() { return false; }
}
On 1/12/07, Kent Tong <[EMAIL PROTECTED]> wrote:
Howard Lewis Ship <hlship <at> gmail.com> writes:
> Anyway, this replaced a lot of stuff from Tapestry 4: The Block and
> RenderBlock components. It's easier and more typesafe.
I don't understand how it replaces RenderBlock, if the parameter block
is to be rendered somewhere in the middle of the template.
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
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]