ProtoUser & Menu links.

Skip to first unread message

Aleph-1

unread,
May 22, 2013, 12:23:33 PM5/22/13
to lif...@googlegroups.com
So we're in the process of customizing some of the features for our user management and I have kinda hit a point where I am confused. Here is a sample line of code from ProtoUser:
Full(Menu(Loc("CreateUser" + menuNameSuffix, signUpPath, S.??("sign.up"), createUserMenuLocParams ::: globalUserLocParams)))
So the part that troubles me is; how does Lift know what "page" to call? What binds this menu to the actual code in ProtoUser? Whats the glue? Is it done via LocParams? I looked at createUserMenuLocParams and it calls Template() & I know thats where its coming from; but apart from this intuition I don't understand how it works. Any insight into this would be helpful.
Thanks.

Aleph-1

unread,
May 22, 2013, 12:54:06 PM5/22/13
to lif...@googlegroups.com
Well so the answer is staring me in the face and I just couldn't recognize it.
So when we use LocParams to 'glue' the Loc() to the Template(); are there any caveats? Time to revisit LocParams :)

Thanks.
Reply all
Reply to author
Forward
0 new messages