Em Thu, 05 Nov 2009 22:06:28 -0200, Angelo Chen <angelochen...@yahoo.com.hk> escreveu:

Hi,

Hi!

If we generate the image in the event, and return the link, then we need to store the image somewhere in the file system, and clean it up later after
the image got rendered, any idea how to handle this ?

Do not generate the image in the event nor store the image. I suggest you to try the approach I've already suggested: create a page that generates the image and returns a StreamResponse of it in its onActivate() method. In your page, just use an <img src="imageLink"/> tag, with a getImageLink() method that returns a Link to your image page.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to