Thanks.

But the way I see it then, is that my class needs access to
MyApplicationServlet. The way I see it is with a singleton which is
called in the constructor.
Then I can call MyApplicationServlet.get() in my class and get the
registry. However this seems kind of dirty as my class gets a dependency
on an the whole Tapestry library.

On Thu, 2006-01-12 at 11:28 +0100, Norbert Sándor wrote:
> You can subclass ApplicationServlet and make it accessible depending on your 
> needs. For example I usually put it in a ThreadLocal (and of course remove 
> it at the end of the request).
> 
> Maybe there are better solutions...
> 
> BR,
> Norbi
> 
> ----- Original Message ----- 
> From: "Stijn Christiaens" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, January 12, 2006 11:23 AM
> Subject: Tapestry and Hivemind
> 
> 
> > Hello everybody.
> >
> > Thanks for working on Tapestry, it has been difficult,
> > but now more of a pleasure to work with it.
> >
> > My question: is it already possible to access the Hivemind registry that
> > the Tapestry ApplicationServlet manages?
> >
> > Thanks in advance,
> >
> > Ciao,
> >
> > Stijn
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > -- 
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.371 / Virus Database: 267.14.17/227 - Release Date: 2006. 01. 
> > 11.
> > 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to