Does that mean that for every persistent variable you have to write a

if (field == null) field = new Anything();

in the SetupRender? Is there no easier way?

Cheers,
Tobias

Marcel Sammut schrieb:
I had the same problem when moving to 5.0.16.  It was pretty simple for me,
since what I was doing was initializing my persistant variables in the
declaration.  What I did was move the initialization to the SetupRender
phase of the cycle.

Hope that works for you too.
Cheers,
Marcel


Eric Ma wrote:
Why was this restriction introduced in 5.0.16?  It completely breaks our
application.  If the benefit is marginal, can we roll back to the original
behavior? Or alternatively, what is a "better" practice under 5.0.16?
Thanks,




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

Reply via email to