I also think that you're over-complicating this. To me this sounds like a
very normal use case, looping over items and creating a form for each one.
It should "just work". And it shouldn't be too many lines of complicated
code either, so the code listed here confuses me a bit.

Someone should post the rather simple code needed to do this. I don't have
the time right now :)

On Mon, Feb 15, 2010 at 12:06 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> 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