2011-12-22 11:21, Bo Gao:
> I have a page, how can I get the page's HTML source as a String in another 
> page or Service method?

You can get the real Source by Class#getResourceAsStream(String), e.g.
Index.class.getResourceAsStream("/test/Index.tml");

If you want to generate content of your template to send it via email
you can use:
http://tapestry.formos.com/nightly/tapx/tapx-templating/

-- 
Chris

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

Reply via email to