> 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" <[email protected]> To: "Tapestry users" <[email protected]> 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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
