Re: @Broadcast annotation

2011-04-13 Thread Josh Canfield
> I don't think this is correct with regard to services that don't use > HttpServletRequest or HttpServletResponse directly or indirectly. If I'm > right, you can use most of your Tapestry services on them, speciallyl the > singleton ones. Ah yes, of course you are right. The proxy will get/create

Re: @Broadcast annotation

2011-04-13 Thread Thiago H. de Paula Figueiredo
On Wed, 13 Apr 2011 19:27:06 -0300, Josh Canfield wrote: When you receive a broadcast you are not in the Tapestry stack. You might think it would be cool to use your @Inject'd services when you get a broadcast, but you'll get an NPE because the thread that executes the broadcast is not a thre

Re: @Broadcast annotation

2011-04-13 Thread Taha Hafeez
nks you're done with the request and starts > >> cleaning up all the injectable services that you probably still need > >> to finish your suspended request. > >> > >> I did this all about 6 months ago and haven't had a chance to get into > >> the tapes

Re: @Broadcast annotation

2011-04-13 Thread Josh Canfield
did this all about 6 months ago and haven't had a chance to get into >> the tapestry source to work out a way to teach it about suspended >> requests. >> >> Josh >> >> On Tue, Apr 12, 2011 at 4:48 AM,   wrote: >> > Hello again! >> > >>

Re: @Broadcast annotation

2011-04-13 Thread Taha Hafeez
t you probably still need > to finish your suspended request. > > I did this all about 6 months ago and haven't had a chance to get into > the tapestry source to work out a way to teach it about suspended > requests. > > Josh > > On Tue, Apr 12, 2011 at 4:48

Re: @Broadcast annotation

2011-04-13 Thread Josh Canfield
gt; Hello again! > > Is there any way to get the @Broadcast annotation from Atmosphere: > > http://atmosphere.java.net/nonav/apidocs/org/atmosphere/annotation/Broadcast.html > > working inside of a Tapestry5 page or component? > > Or are there any general, architectural restr

Re: @Broadcast annotation

2011-04-12 Thread Thiago H. de Paula Figueiredo
On Tue, 12 Apr 2011 08:48:59 -0300, wrote: Hello again! Hi! Is there any way to get the @Broadcast annotation from Atmosphere: http://atmosphere.java.net/nonav/apidocs/org/atmosphere/annotation/Broadcast.html working inside of a Tapestry5 page or component? I never tried Atmosphere, but

@Broadcast annotation

2011-04-12 Thread tmarx78
Hello again! Is there any way to get the @Broadcast annotation from Atmosphere: http://atmosphere.java.net/nonav/apidocs/org/atmosphere/annotation/Broadcast.html working inside of a Tapestry5 page or component? Or are there any general, architectural restrictions why this can not work in