Migrated issue, originally created by Anonymous
This raises a problem when the defname contains uppercase letters as the closing tag won't match the opening tag meaning you have to fall back to using call to call the method.
=== Example ===
<%def name="renderPanel(panel)">
<div class="x-panel">
<h1 class="x-panel-title">${panel.title}</h1>
<div class="x-panel-content">
</div>
</div>
</%def>
<%def name="renderTablePanel(panel)">
<%self:renderPanel panel="${panel}">
${self.renderTable(panel.table)}
</%self>
</%def>
=== Error ===
SyntaxException: Closing tag does not match tag: <%self:renderpanel> in file 'panels.mao' at line: 46 char: 2
Attachments: fix-namespacedef.patch
Migrated issue, originally created by Anonymous
This raises a problem when the defname contains uppercase letters as the closing tag won't match the opening tag meaning you have to fall back to using call to call the method.
=== Example ===
=== Error ===
SyntaxException: Closing tag does not match tag: <%self:renderpanel> in file 'panels.mao' at line: 46 char: 2Attachments: fix-namespacedef.patch