Actually, I have (of course, right after I ask the world!) found this
which helps. But if anyone can share more I'd appreciate it.

http://tapestry.apache.org/tapestry5/tapestry-core/guide/request.html



-----Original Message-----
From: Bruce Petro [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 06, 2007 11:31 AM
To: Tapestry users
Subject: T4/T5 and Session/Visit

OK, I'm new but trying to learn this stuff...  As I understand it:

T4 exists within servlet lifespan / T5 utilizes Filter and therefore is
outside the servlet lifespan.

Therefore I believe various things in T4 such as getting to the session
will have to be handled differently.

Is that correct?  I have a fair understanding of servlet work, but very
little about the context a filter has.

Is there any summary of the contextual differences anywhere?  

Not so much the simple syntax changes in the html, but an overview of
the contextual and architectural changes.

A nice overview of the differences/similarities might be very helpful
right now.

If some of this exists please let me know.

 

But to ask a more-simple basic question - how in T5 do we create and
access a session specific Visit object?  Is it simply defining something
like this in the start page:

@ApplicationState

private Visit thisVisit;

And then defining the same @ApplicationState variable in each page
needing it?

 

Thanks for any answers you can spare!

 

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to