On Mon, 15 Sep 2014 19:25:21 -0300, Boris Horvat
<horvat.z.bo...@gmail.com> wrote:
Hi all,
Hi!
Answering the question in the subject:
Short answer: no.
Long answer: noooooooooooooooooooooooooooooooooo! :p
On the other hand, you can @Persist a field which is used as a parameter
to a component or mixin. This is very different from persisting the
parameter itself, though, as the field is the one being persisted, not the
@Persist
@Property
private Filter filter
As Lance said, never initialize a @Persist field in its declaration.
Example of something you should never do:
@Persist
@Property
private Filter filter = new Filter();
--
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