Or toSeq instead of toList. And if it still doesn't work surround it with
NodeSeq.fromSeq(toSeq)
-
David Pollak wrote:
try tacking a .toList on after the flatMap() expression.
On Tue, Oct 6, 2009 at 3:19 PM, rstradling wrote:
>
> Hello everyone,
> I ha
try tacking a .toList on after the flatMap() expression.
On Tue, Oct 6, 2009 at 3:19 PM, rstradling wrote:
>
> Hello everyone,
> I have the following code...
> case class item(name : String)
> class demo {
> def exampleFour(xhtml : NodeSeq) : NodeSeq = {
>val map = Map("Test" -> List(item("