[Cppcms-users] Template name "render()"
Brought to you by:
artyom-beilis
|
From: <cn...@gr...> - 2010-09-04 15:11:32
|
Hi!
The compiled program "hello-tmpl" stops working if I change
<% template render() %>
to
<% template output() %>
in file "first.tmpl" under "~/examples/templates/" extracted from cppcms source tarball. I suspect this is because the template system demands that the exact member function
virtual void render(){ ... }
exist in order to be able to write out stuff. If I am right, it would be nice to see this mandatory template name "render()" be documented (preferably in page "Templates: Top Level Blocks (v 1.x)").
Regards,
CN
|