On Sun, 14 Feb 2010 17:33:43 -0200, Nathan Kopp <nathan0...@nathankopp.com> wrote:

Even with your suggested change, this would still generate a null pointer
exception (NPE) in the same place, since the problem lies with "fooLoopVar" being null when the eventlink is click is processed by Tapestry.

You simply can't use it in the EventLink method handler.

The NPE
happens before I even get to rendering the description text field.

Never forget that T5 uses redirect after post, so the event handling request is not the same as the render request.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, 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