[Cppcms-users] foreach
Brought to you by:
artyom-beilis
From: Sergey <dan...@gm...> - 2012-01-02 08:45:18
|
data/ std::vector<some_class *> some; apps/ data::some_content c; c.success.push_back(&some); tmpl/ <% foreach s in some %> <% item %><%= s.key() %><% end %> <% end %> Of course i need like that <%= s[i].key() %> Anyway it does not work Anybody have solution? |