David,

Thanks for your previous example - I tried the following code:

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

  def demo: NodeSeq = <html></html>

}

And then i get this error:

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

Whats all this Either[] business about?

Cheers

Tim


> Tim,
>
> I've already written example code for ViewDispatchPF.  Please look at the
> code I've supplied.
>
> Once you've got some code that's kinda-sorta working, I'll be glad to help
> you address issues or debug.
>
> Thanks,
>
> David
>
--~--~---------~--~----~------------~-------~--~----~
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