Created
April 8, 2009 20:06
-
-
Save dougal/91971 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The error | |
Namespace prefix f on title is not defined | |
// View | |
<table> | |
<lift:Show.posts> | |
<tr> | |
<td><f:title>Title</f:title></td> | |
<td><f:body>Body</f:body></td> | |
</tr> | |
</lift:Show.posts> | |
</table> | |
// Snippet | |
class Show { | |
def posts(html: NodeSeq) = | |
Post.findAll.flatMap(post => | |
bind("f", html, | |
"title" -> post.title, | |
"body" -> post.body)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment