Thank you,
yes problem is in Form. I do not know how to switch off persistence of
validation so I will use standard <form> tag.
Meta did not work, because I can't use it on component variable. It can
be used only to @Target(TYPE). Maybe you have different version.
Also thanks to Andreas Andreou for Session listener. Great tool to find
out why session is created.
Tomas
Thiago H. de Paula Figueiredo napsal(a):
Em Tue, 27 Jan 2009 19:40:13 -0300, Tomas Kolda <ko...@web2net.cz>
escreveu:
is there a simple way to detect which part or component of my page
forces Session creation? I do not have @Persist or @ApplicationState
in page class and it still create session.
I wish I knew, but, by default, the Form component uses the session to
store validation info.
Try putting @Meta("tapestry.persistence-strategy=client") in your page
classes or in your components instances. Something like
@Component
@Meta("tapestry.persistence-strategy=client")
private Form form;
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org