> Just return it in the page's onActivate() method. Just be careful of this approach, its fine for an image or two, but anything more may generate a lot of requests and cause performance problems in larger pages.
----- Original Message ----- From: "Thiago H. de Paula Figueiredo" <thiag...@gmail.com> To: "Tapestry users" <users@tapestry.apache.org> Sent: Wednesday, 21 July, 2010 01:22:31 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: directly return an image from Tapestry On Tue, 20 Jul 2010 19:15:33 -0300, Chuck Kring <cjkr...@pacbell.net> wrote: > Hi everybody, Hi! > I don't want to handle this as an event on the watched page because I'm > not sure how Tapestry will handle the event if the server has restarted. It will, no doubt about that. > So, it is possible for a Tapestry page to return a streamresponse? Just return it in the page's onActivate() method. -- Thiago H. de Paula Figueiredo Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate Coordenador e professor da Especialização em Engenharia de Software com Ênfase em Java da Faculdade Pitágoras http://www.arsmachina.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org