you should set _and_ reset it. otherwise a different thread could accidentially use your property value. also objects connected to your properties will not be garbage collected (for example a string-property).
regards Peter > --- Ursprüngliche Nachricht --- > Von: Dan Adams <[EMAIL PROTECTED]> > An: Tapestry users <[email protected]> > Betreff: Re: how to init a property in the code? > Datum: Thu, 22 Sep 2005 09:39:27 -0400 > > what about implementing PageAttachListener? would that be more > appropriate if all you want to do is set your properties before > rendering? > > On Thu, 2005-09-22 at 15:40 +0300, Ron Piterman wrote: > > implement PageDetachListener > > > <ציטוט Patrick Casey: > > > *boggle* > > > > > > How am I supposed to reset the contents of a page before it goes > > > back into the pool then? > > > > > > --- 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]
