Boot.scala in lift..
Posted
by Dave
on Stack Overflow
See other posts from Stack Overflow
or by Dave
Published on 2009-10-08T15:48:57Z
Indexed on
2010/06/18
5:43 UTC
Read the original article
Hit count: 381
I'm trying to modify the boot.scala in lift and running into a funny error. This is what I currently have:
val entries = Menu(Loc("Home", List("index"), "Home")) ::
Menu(Loc("StudentLogin", List("studentlogin"), "Student Login")) ::
Menu(Loc("ProviderLogin", List("providerlogin"), "Provider Login"))
LiftRules.setSiteMap(SiteMap(entries :_*))
I get this error:
Boot.scala:29: error: value :: is not a member of net.liftweb.sitemap.Menu Menu(Loc("StudentLogin", List("studentlogin"), "Student Login")) ::
any ideas about what I might be doing wrong?
Thanks.
© Stack Overflow or respective owner