[Cppcms-users] rendering parts of a template
Brought to you by:
artyom-beilis
From: Pavel K. <un...@fu...> - 2011-02-05 01:48:22
|
hello Artyom and all, i would like to ask if there is a clean way to * render only part(s) of a template, for example determined by tag <% template foo() %>...<% end template %> * encapsulate them in json object and send it to browser background> i would like to (optionally) enable ajax support for this scenario: send form, process it, show page with form and changed parts of the page again. with ajax i would like to asynchronously send form, process, send back html "snippets" & then redraw only corresponding parts of the page. second question> do you have favourite libs for generating captcha or sending emails from cppcms? pavel. |