tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Lewis Ship" <hls...@gmail.com>
Subject Re: [T5] If component / else
Date Sat, 13 Jan 2007 04:40:20 GMT
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 <kent@cpttm.org.mo> 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: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>


-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message