开发者

Liftweb "Sign Up" menu item

开发者 https://www.devze.com 2023-01-25 05:42 出处:网络
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=\"

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

精彩评论

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