I share Lance's preference for generating markup server-side. Have you 
considered putting a Zone in the modal and having the server-side return that 
instead of a JSONObject?


On 11/03/2014, at 7:24 AM, Lance Java wrote:

> I'm not entirely sure what you're doing but this might help.
> 
> http://tapestry-stitch.uklance.cloudbees.net/capturedemo
> 
> As you can see, I render a block in an AJAX action and call alert(...). You
> could do anything you like with the rendered markup.
> 
> Note: I hate rendering dom in javascript and always prefer rendering my
> markup serverside. I'm bucking the trend a bit here.


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

Reply via email to