|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.stripes.examples.bugzooky.BugzookyActionBean
net.sourceforge.stripes.examples.bugzooky.RegisterActionBean
@Wizard public class RegisterActionBean
ActionBean that handles the registration of new users.
Constructor Summary | |
---|---|
RegisterActionBean()
|
Method Summary | |
---|---|
String |
getConfirmPassword()
The 2nd/confirmation password entered by the user. |
Person |
getUser()
The user being registered. |
net.sourceforge.stripes.action.Resolution |
gotoStep2()
|
net.sourceforge.stripes.action.Resolution |
register()
Registers a new user, logs them in, and redirects them to the bug list page. |
void |
setConfirmPassword(String confirmPassword)
The 2nd/confirmation password entered by the user. |
void |
setUser(Person user)
The user being registered. |
void |
validate(net.sourceforge.stripes.validation.ValidationErrors errors)
Validates that the two passwords entered match each other, and that the username entered is not already taken in the system. |
Methods inherited from class net.sourceforge.stripes.examples.bugzooky.BugzookyActionBean |
---|
getContext, populateBug, setContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegisterActionBean()
Method Detail |
---|
public void setUser(Person user)
public Person getUser()
public void setConfirmPassword(String confirmPassword)
public String getConfirmPassword()
@ValidationMethod public void validate(net.sourceforge.stripes.validation.ValidationErrors errors)
public net.sourceforge.stripes.action.Resolution gotoStep2() throws Exception
Exception
@DefaultHandler public net.sourceforge.stripes.action.Resolution register()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |