implement PageBeginREnderListener and then in pageBeginRenderListener you should do initialization
2005/9/6, Leonardo Quijano Vincenzi <[EMAIL PROTECTED]>: > Seems like initialize() is deprecated. What's the correct way of > initializing instance variables for T4? > > -- > Ing. Leonardo Quijano Vincenzi > Director Técnico > DTQ Software > > > Patrick Casey escribió: > > > Each thread gets its own unique copy of a page. It's not guaranteed > >to be the *same* page each time a given user hits a page, but it's unique > >within the context of that request so there are no problems with concurrent > >access. > > > > That being said, I make all my variables concrete because of my > >innate, unnatural, and fogeyish fear of "fing magic" solutions that > >automatically enhance my classfiles. The only gotcha is that you have to > >re-initialize your instance variables to defaults when the page goes back > >into the pool. So just make sure you implement the initialize() method on > >your page. > > > > --- Pat > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
