Hi, I'm new to Lift and I've been fooling around with all it's cool features.
At the moment, I'm trying to access MyView that I have defined in the view package. When I try to access the view via the URL:" http://localhost:8080/MyView/hi " I get the following message: The requested page was not defined in your SiteMap, so access was blocked. According to the view chapter (3.7) in the book(Exploring Lift August 12, 2009) I downloaded from Github, it should work this way. I'm a bit lost... what is it that I'm doing wrong? thanks, Michel P.S snippets,and comets do work package net.mkl.zooloretto.view import ... class MyView extends LiftView{ override def dispatch = { case "hi" => doRender _ } def doRender () : NodeSeq = { <lift:surround with="default" at="content"> <b>hai!</b> </lift:surround> } } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
