this is not possible because includes and extends must be resolved before compilation, not at runtime
On Jan 17, 4:44 pm, "[email protected]" <[email protected]> wrote: > Hello Everybody, > > when trying to compile an application an error occurs, which seems to > be caused by dynamic arguments of {{include ...}} statements within a > view template e.g.: > > {{if session.language!=None:}} > {{include 'pageheader_%s.html' % session.language}} > {{else:}} > {{include 'pageheader_%s.html' % session.preferredLanguage}} > {{pass}} > > I would appreciate being able to compile an application even with such > dynamic {{include}} statements. Any suggestions are welcome. > > Thanks, > Toni > > ---- > [email protected] > > http://www.chartup.de

