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 <ko...@web2net.cz> wrote: > 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 <ko...@web2net.cz> >> 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 put the annotation in the component. I'm sorry. >> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >