Sorry, the code should have been:

object ExampleLoader {
  def template: LiftRules.ViewDispatchPF = {
    case "badger" :: Nil => () => demo
  }

  def demo: Can[NodeSeq] = Full(<html></html>)

}


[INFO]  found   : () => net.liftweb.util.Can[scala.xml.NodeSeq]
[INFO]  required: Either[() => net.liftweb.util.Can
[scala.xml.NodeSeq],net.liftweb.http.LiftView]
[INFO]     case "badger" :: Nil => () => demo
[INFO]                                ^



Cheers, Tim
--~--~---------~--~----~------------~-------~--~----~
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