Reputation: 913
This shouldn't work:
page:
#{extends 'master.html'/}
#{set parameter:foo.bar/} //foo is passed from contoller
master.html:
#{list items:parameter, as item}
...
#{/list}
Is there any way to do this trick?
Upvotes: 2
Views: 243
Reputation: 1360
I had to play with this a bit, but the #{set} tag does not work well for lists. Try this in your page (not master.html):
%{ parameter = foo.bar; }%
Hope that helps.
Upvotes: 3