You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Lance Java <la...@googlemail.com> on 2013/11/16 11:25:41 UTC

Render component markup to HTML string for use in javascript etc.

I've seen the following question asked countless times in this forum:
"How do I render the HTML for my component into a string for use in
javascript"

I've added a 'capture' component to tapestry stitch and a demo which
demonstrates capturing markup during page render and ajax update.

Demo here:
http://tapestry-stitch.uklance.cloudbees.net/capturedemo

Comments & feedback welcome


Cheers,
Lance.