PopulateUserAction

Populates a form with data of the currently logged in user. This action does not lock the user when loaded.

Struts config
<action path="/populateUser"
  type="com.escenic.profile.presentation.struts.PopulateUserAction"
  name="UserForm"
  input="/populateUser-input.jsp"
  validate="true">

  <forward name="success"
           path="/populateUser-success.jsp"/>

  <forward name="not-logged-in"
           path="/populateUser-not-logged-in.jsp"/>
</action>
Action Form

This action can be used with the following form:

com.escenic.profile.presentation.struts.AbstractUserForm

The form is populated with data from the user

Action Forwards

input page

If the user couldn't be loaded.

success

If the user was successfully loaded

not-logged-in

If user is not logged in

Action Error

If loading the user fails, an error will be logged, and the action will be forwarded to the input-page.

user_error

(On the global property.) If loading user failes failes