I assume you mean in the wiki. J On Jul 21, 3:36 pm, Naftoli Gugenheim <[email protected]> wrote: > Check the section "A Note on Standard Imports." Helpers has a bunch of > implicits. > > ------------------------------------- > > Jeff McKenna<[email protected]> wrote: > > I am just running the liftwebapp tutorial and am running into a > confusion. > In section 2.1 a mechanism to extend the sitemap by changing a line in > Boot.scala > val entries = Menu(Loc("Home", "/", "Home")) :: Menu(Loc("Test", "/ > test", "Test Page")) :: User.sitemap > > When I do this, I get the following error when I run 'mvn jetty:run' > ....... > [INFO] [scala:compile {execution: default}] > [INFO] Checking for multiple versions of scala > [INFO] Compiling 1 source files to /Users/jmckenna/Lift/hello-lift/ > target/classes > [INFO] use java command with args in file forced : false > /Users/jmckenna/Lift/hello-lift/src/main/scala/bootstrap/liftweb/ > Boot.scala:28: error: type mismatch; > found : java.lang.String("/test") > required: net.liftweb.sitemap.Loc.Link > [net.liftweb.sitemap.NullLocParams] > Menu(Loc("Test", "/test", "Test Page")) :: User.sitemap > ^ > one error found > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > ....... > I kind of hope that tutorials work. :-) I tried a bunch of different > ways to concatenate the menus but nothing seems to fix things up. I > used List(...) in place of the strings and removed the compilation > errors. But the site does not see the test directory. The error is: > The Requested URL /test/ was not found on this server > Any suggestions? > Jeff
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
