By default sitemap will only show submenus "nearby" the current page. You can show the entire expanded menu by using <lift:Menu.builder expandAll="true />
You should try navigating to the "Author List" page and ensure that the "Author Test" menu shows up then. -Ross On Jan 6, 2010, at 9:20 AM, Jean-Luc wrote: > Hi liftweb-list ! > > Happy New Year to all ! > > Well, I have an issue with sitemap submenus. > > Using the following code : > val entries = SiteMap(Menu(Loc("Home", "index" :: Nil , ?("Home"))), > Menu(Loc("Authors", "authors" :: "list" :: Nil, ?("Author > List")), > Menu(Loc("Test", "authors" :: "test" :: Nil, > ?("Author Test")))), > Menu(Loc("Add Author", "authors" :: "add" :: Nil, ?("Add > Author"), Hidden)), > Menu(Loc("Books", "books" :: "list" :: Nil, ?("Book List"))), > Menu(Loc("Add Book", "books" :: "add" :: Nil, ?("Add Book"), > Hidden)), > Menu(Loc("BookSearch", "books" :: "search" :: Nil, ?("Book > Search")))) > > Expected result : > - the menu is displayed and a "Author Test" entry is present > * Home > * Author List > * Author Test > * Book List > * Book Search > > Current result : > - the menu is displayed but no "Author Test" entry is present > * Home > * Author List > * Book List > * Book Search > > Before the last mvn -U xxx my submenis where displayed correctly. > > Is there a known issue or am I missing something ? > > To reproduce the problem : > - http://github.com/jlcanela/scalajpademo > - change Boot.scala (line 53) and use the modified "entries" sitemap > > > -- > Jean-Luc Canela > jlcane...@gmail.com > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en.--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.