Saturday, 15 February 2014

Grails adding user register GSP - Beginner -



Grails adding user register GSP - Beginner -

i used next code add together security application.

s2-quickstart com.app.user user role userrole

attributes in user class

string username string password boolean enabled = true boolean accountexpired boolean accountlocked boolean passwordexpired string firstname string lastname date dateofbirth

i want know how register user? controller of class ?

i added link in gsp class <g:link controller="register" action='index'>sign up</g:link>

but when link clicked page gets redirected view. looking /myproject/register/ can't find class name. should ?

thanks

grails

No comments:

Post a Comment