题
有没有人知道发生什么名字用于注册菜单项?我试过<lift:menu.item name="Signup" name="sign.up" name="sign_up"
都无济于事。 name="Login"
产生登录链接就好了。
什么我其实做错了?
解决方案
应该name="CreateUser"
。
的定义是这样的(在ProtoUser.scala在电梯2.1某处):
/**
* The menu item for creating the user/sign up (make this "Empty" to disable)
*/
def createUserMenuLoc: Box[Menu] =
Full(Menu(Loc("CreateUser", signUpPath, S.??("sign.up"), createUserMenuLocParams)))
不隶属于 StackOverflow