The path of your page, represented by the List in the Loc, should
decompose all path item as list item.
I.e. Menu(Loc("Test"), List("test", "test"), "Test Page")) :: [...]


On Jan 8, 12:03 pm, Lagonn <[email protected]> wrote:
> Hi,
>
> I'm really new with lift.
> I wanted to create a new menu object, there is no problem to display
> this new object, but when i click on it, there is a error message...
>
> Here is what i did:
> - created the file: /src/main/webapp/test/test.html
> - in the file Boot.scala, i wrote:
>     // Build SiteMap
>     val entries = Menu(Loc("Home", List("index"), "Home")) :: Menu(Loc
> ("Test", List("test/test"), "Test Page")) :: User.sitemap
>     LiftRules.setSiteMap(SiteMap(entries:_*))
>
> Maybe somebody could explain me where are the mistakes, plz?
> Tank you
-- 
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