Skip to content
Snippets Groups Projects
Commit 8239d75e authored by Mike Bayer's avatar Mike Bayer
Browse files

doc fixes including [ticket:89]

parent fa8f1b4b
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ To achieve this, the target def is invoked using the `<%call>` tag instead of th
</table>
</%def>
<%call expr="buildtable">
<%call expr="buildtable()">
I am the table body.
</%call>
......@@ -212,7 +212,11 @@ Produces (whitespace formatted):
<table>
<tr>
<td>Body data: 1</td><td>Body data: 2</td><td>Body data: 3</td>
</tr>
<tr>
<td>Body data: 4</td><td>Body data: 5</td><td>Body data: 6</td>
</tr>
<tr>
<td>Body data: 7</td><td>Body data: 8</td><td>Body data: 9</td>
</tr>
</table>
......@@ -235,7 +239,7 @@ You don't have to stick to calling just the `body()` function. The caller can d
</%def>
## calls the layout def
<%call expr="layout">
<%call expr="layout()">
<%def name="header()">
I am the header
</%def>
......
......@@ -131,7 +131,7 @@ This is because `somedef()` fully executes before the expression returns the res
Mako provides two ways to work around this. One is by applying buffering to the `%def` itself:
<%def name="somedef()" buffered="true">
<%def name="somedef()" buffered="True">
somedef's results
</%def>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment