Just my 2 cents, but if you're having a problem with some code it helps to
explain what the problem is along with the code that you're sending.
Otherwise, it's like an interview question :)

On Sun, Oct 18, 2009 at 5:12 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.displayScore}</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
-~----------~----~----~----~------~----~------~--~---

Reply via email to