On Thu, 29 Mar 2012 04:33:41 -0300, Lance Java <lance.j...@googlemail.com> wrote:

I would probably give the side well an id in the HTML. Then you can inspect
the contents of the well in the afterRender method of your layout

void afterRender(MarkupWriter writer) {
  Element sideWell = writer.getDocument().getElementById("wellId");
  if (!sideWell.getChildren().isEmpty()) {
     // do stuff here
  }
}

Nice solution. :) In addition, you could use a block parameter instead of extension points.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to