/ / Element menu „Zarejestruj się” Liftweb - xml, scala, xhtml, lift

Pozycja menu "Rejestracja" Liftweb - xml, scala, xhtml, lift

Czy ktoś wie, jak nazwa jest używana w pozycji menu rejestracji? Próbowałem <lift:menu.item name="Signup" name="sign.up" name="sign_up" wszystko bezskutecznie. name="Login" produkuje link Zaloguj się dobrze.

Co tu właściwie robię źle?

Odpowiedzi:

2 dla odpowiedzi № 1

Powinno być name="CreateUser".

Definicja jest taka (gdzieś w ProtoUser.scala w 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)))