Holy crap! This is exactly what I needed, and it just works. If I could suggest adding the keyword "programmatically" to those docs, as I searched extensively and didn't find it.
Thanks for the incredibly fast response. Casey Link Outskirts Labs { https://outskirtslabs.com } Technology for Changemakers On 05/04/2016 08:07 PM, Thiago H de Paula Figueiredo wrote: > On Wed, 04 May 2016 14:54:03 -0300, Casey Link > <ca...@outskirtslabs.com> wrote: >> Hi folks, > > Hi! > >> This is probably a long shot, but is it possible to render a component >> (and its template) to DOM and eventually a String of markup? > > Yes! Use the PartialTemplateRenderer service: > http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/services/PartialTemplateRenderer.html. > Example: > https://github.com/apache/tapestry-5/blob/master/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/PartialTemplateRendererDemo.java > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org