有没有人知道发生什么名字用于注册菜单项?我试过<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)))
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top