The ProfileFormHandler supports the following operations that can be specified for form submission:
Operation | Function |
---|---|
| Cancels any changes the user has made to values in the form but has not yet submitted. |
| Changes the password property of the profile to the new value entered by the user. |
| Clears the |
| Creates a permanent profile and sets the profile properties to the values entered in the form. |
| Deletes the current profile. |
| Uses the |
| Resets the profile to a new anonymous profile and optionally expires the current session. |
| Modifies the properties of the current profile. |
For example, when a user logs into a site, a form can invoke the login operation as follows:
<dsp:input bean="ProfileFormHandler.login" type="submit" value="Submit"/>
Each operation is associated with a handler method. For example, the previous example calls handleLogin()
. For detailed information about ProfileFormHandler methods, see WorkingwithUserProfiles in the ATG Personalization Programming Guide for information.