AddUserAction
Creates a new user in escenic based on the values defined in the form. It creates both the user and profiles
Struts config
<action path="/newUser" type="com.escenic.profile.presentation.struts.AddUserAction" name="UserForm" input="/newUser-input.jsp" validate="true"> <forward name="success" path="/newUser-success.jsp"/> </action>
Action Form
This action can be used with the following form:
com.escenic.profile.presentation.struts.AbstractUserForm
-
The form containing the userdata
Action Forwards
- input page
-
If the user couldn't be created.
success
-
If the user was successfully created
Action Error
If creating the user fails, an error will be logged, and the action will be forwarded to the input-page.
create_user_failed
-
(On the
global
property.) If creating user failes