[Cppcms-users] View skin
Brought to you by:
artyom-beilis
From: Jan V. <jan...@ap...> - 2012-03-20 07:52:09
|
Hi, I would like to ask whether there is a way of specifying only one skin for all views. I found an example in the message_board but these views are dynamically linked and I need them static. When I try and remove the config section "views" and run the application, it does not produce any output (blank page). The specific view is rendered by: render("view_name", model) The view looks like this: <% c++ #include "model.h" %> <% xhtml %> <% skin %> <% view view_name uses Model %> <% template render() %> ......... <% end template %> <% end view %> <% end skin %> Thank you Jan Vlasak |