Hello,

I'm trying to setup basic CRUD and I almost did it.
Problem is when creating menus:
Here is Menu builder in Boot.conf

Menu(Loc("home", List("index"), "Home")) :: User.sitemap ::
MyModelWithCRUD.menus

If I remove one of them (User.sitemap) - everything works but when I
have both "autogenerators"
I got following error:
[INFO] use java command with args in file forced : false
Boot.scala:30: error: type mismatch;
 found   : List[Product]
 required: List[net.liftweb.sitemap.Menu]
def menu: List[Menu] =  Menu(Loc("home", List("index"), "Home")) ::

If I remove MyModelWithCRUD.menus and leave only User.sitemap -
everything works - they don't work together :( Why ?

In API docs I can see that both of them are returning the same type  -
        List[Menu].

Probably solution is simple but I can't find it ..

Best regards,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to