template inheritance question

1 view
Skip to first unread message

Roberto Saccon

unread,
Oct 14, 2009, 10:23:19 AM10/14/09
to nitro-devel
I have successfully used the template inheritance / expansion
mechanism for using variables in the parent template

{.meta-left}myVar{.meta-right}


But what is the best way to bring some logic into the parent
template ? E.g. how can I include fragments in a parent template,
whereby the name of the fragment will depend on the value of a
variable ? Or is there a complete different way to achieve this ?

--
Roberto

Roberto Saccon

unread,
Oct 14, 2009, 10:38:52 AM10/14/09
to nitro-devel
Sorry for the noise, after looking again at the gae-blog source, I
realized that the answer is there already ...

George Moschovitis

unread,
Oct 14, 2009, 11:57:08 AM10/14/09
to nitro...@googlegroups.com
OK.

-g.
Reply all
Reply to author
Forward
0 new messages