Re: [Cppcms-users] Template name "render()"
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2010-09-04 18:09:35
|
To make it more clear: when you call render("view_name",some_content) What happens that `base_content::render()` is called, you need to override it in your view (class) in order to make your view useful. Of course you can have many templates, that may be rendered using <% include template_name() %> but all should begin render(). Artyom >Hi! Artyom, > > >Thank you for pointing me to that documentation! > > >I am confused. Does the following excerpt indicate that the template name >"render()" is mandatory? > > >"Each skin should implement render() virtual member function, unless it is >already implemented in its parent." > > >Regards, > |