> > I believe the typo is in listing 6.36, shown below. > > val menus = ... Menu(Loc(...)) :: Transaction.menus :: Nil > LiftRules.setSiteMap(SiteMap(menus : _*)) > > This should be using the ::: operator instead of :: because the CRUDify > menus are returned as Lists. Using the :: would assign a List[Product] > instead of the required Seq[Menu].
James, This is not an error - the difference between :: and ::: is that :: appends the new item to the given List[T] and ::: prepends to the given List[T] If you would like to know more about sitemap check out: http://wiki.liftweb.net/index.php?title=SiteMap Cheers, Tim --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
