Re: Session creation

2009-01-28 Thread Tomas Kolda
Yes restarted. I deleted all from Index, but form. What am I doing wrong? Using 5.0.18, Jetty, Eclipse 3.4. Index.java: @Meta("tapestry.persistence-strategy=client") public class Index { @Property private String query; } Index.tml: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>

Re: Session creation

2009-01-28 Thread Kalle Korhonen
Layout's still a component (unless you have a page named Layout), need to be in the page class. I can verify the meta annotation works ok. Kalle On Wed, Jan 28, 2009 at 10:48 AM, Tomas Kolda wrote: > Hmm, I do not know what I'm doing wrong, but it does not work. It still > create session. > >

Re: Session creation

2009-01-28 Thread Thiago H. de Paula Figueiredo
Have you put this annotation in all pages with Form components and restarted you application (to clear the session)? -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago -

Re: Session creation

2009-01-28 Thread Tomas Kolda
Hmm, I do not know what I'm doing wrong, but it does not work. It still create session. @Meta("tapestry.persistence-strategy=client") public class Layout { @Component private Form queryForm; .. Thiago H. de Paula Figueiredo napsal(a): Em Wed, 28 Jan 2009 15:04:35 -0300, Tomas Kolda

Re: Session creation

2009-01-28 Thread Thiago H. de Paula Figueiredo
Em Wed, 28 Jan 2009 15:04:35 -0300, Tomas Kolda escreveu: 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. Put it in the page class at which the Form component is used. I was wrong when I suggested to

Re: Session creation

2009-01-28 Thread Tomas Kolda
Thank you, yes problem is in Form. I do not know how to switch off persistence of validation so I will use standard 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 f

Re: Session creation

2009-01-27 Thread Andreas Andreou
Use httpsessionlistener http://www.xyzws.com/servletfaq/when-do-i-use-httpsessionlistener/7 In the sessionCreated method, just create an Exception and log it to examine the traces - or even throw it if you don't want any sessions at all and want to be 100% sure :) On Wed, Jan 28, 2009 at 1:49 AM

Re: Session creation

2009-01-27 Thread Thiago H. de Paula Figueiredo
Em Tue, 27 Jan 2009 19:40:13 -0300, Tomas Kolda 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

Re: Session Creation...

2008-01-02 Thread Norman Franke
I had similar issues changing from an HTTPs login page to a normal HTTP session for speed. I gave up in the end (for now.) I was using Tomcat, and it kept randomly creating a new session when switching back and forth. But, I'd bet it's really your servlet container that's doing this, not