Does this code look ok?
def createDisplay(blogs:List[Blog]):NodeSeq = {
<span id="score"><table>
{
for {blog <- blogs} yield <tr><td><a href={blog.url}>{blog.url}</
a></td><td> {blog.title}</td></tr>
}
</table></span>
}
def render = { bind("joop" -> createDisplay(blogs)) }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---