Em Sat, 25 Jul 2009 10:43:48 -0300, Angelo Chen <angelochen...@yahoo.com.hk> escreveu:

Hi,

Hi!

I have quite a number of page classes that simply returns a
TextStreamResponse in onActivate, is there a way to omit the tml file?

When you always return a StreamResponse in onActivate() or any other event handler method, you don't need a template. No need to use MarkupWriter. One of my projects has a page class that loads images from a database and it doesn't have a template (nor it would make sense to have one). Works like a charm. :)

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to