I think so... Does it compile?
On Sun, Oct 18, 2009 at 7:13 PM, jack <[email protected]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---