The way to do it in T4 is to use the ASO approach.
You can inject the visit ASO like this:
@InjectState("visit")
public abstract YourVisitObject getVisit();
On 6/1/06, Mário Lopes <[EMAIL PROTECTED]> wrote:
Hi.
I've been following Tapestry in Action to implement a Visit session
object but I was unable to make it work. Declaring a getVisit(); as
abstract and then calling it through Visit visit = (Visit) getVisit();
seems to be deprecated.
What's the correct usage for Visit on T4?
Thanks in advance.
-- Mário
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
~chris