The MultiProfileUpdateFormHandler updates or deletes sets of profiles. Because the profiles are items that already exist in the repository, each one is identified—for update or deletion—by its unique repositoryId. These identifiers can be accessed in the handler’s repositoryIds property .

Form data is stored in the value Dictionary, pending a form submit operation such as update or delete. On form submission, all values in the dictionary are written to the selected user profiles as a single transaction. To clear the value Dictionary after an update, invoke the handler’s clear property at the beginning of a form:

<dsp:setvalue bean="MultipleProfileUpdateFormHandler.clear" value=""/>

For more information about setting values in profiles, see Setting Profile Values earlier in this chapter.

 
loading table of contents...