Hi Thiago,

Thanks a lot for the hint. This was indeed the problem. When the session times 
out and the user submits the form, the set is null. Using onPrepare() solved 
the problem.

Best,
Thilo

________________________________________
From: Thiago H de Paula Figueiredo <thiag...@gmail.com>
Sent: Monday, May 26, 2014 13:52
To: Tapestry users
Subject: Re: [T5.4] Component Rendering / Form Events

On Mon, 26 May 2014 04:41:07 -0300, Thilo Tanner
<thilo.tan...@reprisk.com> wrote:

> Hi all,

Hi!

> I'm a bit puzzled how the component rendering and form events play
> together.

Most of form events are completely independent from component rendering.

I have a component class with the following code:

> Is this a bug? I wonder how onSuccess is being called, without a
> setupRender phase.

Nope, this is expected behavior. setupRender is called when the page or
component is being rendered. Form submissions are *not* rendering, they're
event requests, so setupRender() isn't called.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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


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

Reply via email to