Liftweb "Sign Up" menu item
Does anyone happen to know what the name is used for the sign up menu item? I've tried <lift:menu.item name="Signup" name="sign.up" name="sign_up"
all to no ava开发者_StackOverflow社区il. name="Login"
produces a Log In link just fine.
What am I actually doing wrong here?
It should be name="CreateUser"
.
The definition is like this (somewhere in ProtoUser.scala in Lift 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)))
精彩评论