I think I've figured out how to add new pages to Lift:
1. Create a new HTML file under src/main/webapp/something.html
2. To add this to the sitemap, go to Boot.scala and add this:
val entries = Menu(Loc("Home", List("index"), "Home")) ::
Menu(Loc("Test", List("test"), "Test")) :: User.sitemap
My understanding is that :: is the concatenation operator in Scala, and we
are creating a new menu item.
3. Restart Jetty.
The new page should be added. Eclipse isn't terribly helpful is determining
errors. Is there a better IDE?
Now my question is - how would I add a new page into a Lift application that
I do not want integrated into the sitemap?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---