Re: [Newbie] Visit

2006-01-20 Thread Kent Tong
Pierre Gilquin bluewin.ch> writes: > In my page, when trying to access the visit object (Visit visit = > (Visit)getVisit();), I get a ClassCastException > I can see in the debugger that _visit object is null. > > Is it correct to use Visit mecanism for having data different for each > sess

Re: [Newbie] Visit

2006-01-19 Thread Vincent
Hi Pierre, visit object can get from the following ways. MyVisit visit = (MyVisit)getPage().getVisit(); ... visit.doSomething(); For reference I suggest you have a look at the following document. http://jakarta.apache.org/tapestry/3.0.3/doc/TapestryUsersGuide/state.visit.html best regards,

[Newbie] Visit

2006-01-19 Thread Pierre Gilquin
Hello, I would like to push data in a session-like object in order to exchange data between pages. I use a very simple Visit class : import java.io.Serializable; public class Visit implements Serializable{ private String texte; public Visit() { } public String getTexte() { return texte

RE: Newbie Visit Question

2005-05-27 Thread Schulte Marcus
ognl: page.visit.whatever > -Original Message- > From: Tim Sawyer [mailto:[EMAIL PROTECTED] > Sent: Friday, May 27, 2005 2:40 PM > To: tapestry-user@jakarta.apache.org > Cc: Tim Sawyer > Subject: Newbie Visit Question > > > Hi, > > I have a component,

Newbie Visit Question

2005-05-27 Thread Tim Sawyer
Hi, I have a component, which I've written myself, which takes parameters. I now want to call that component multiple from another, and get the values for the parameters from the Visit. I can't see how to do this, but I'm sure it must be simple! My new component contains