开发者

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)))
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜