The ProfileFormHandler supports the following operations that can be specified for form submission:

Operation

Function

cancel

Cancels any changes the user has made to values in the form but has not yet submitted.

changePassword

Changes the password property of the profile to the new value entered by the user.

clear

Clears the value Dictionary.

create

Creates a permanent profile and sets the profile properties to the values entered in the form.

delete

Deletes the current profile.

login

Uses the login and password values entered by the user to associate the correct profile with that user.

logout

Resets the profile to a new anonymous profile and optionally expires the current session.

update

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.

 
loading table of contents...