Each of the following handle methods calls the corresponding method in the MultiProfileForm class and extends that method. The handleCancel method does not call any method in the MultiProfileForm class. The handle methods in the MultiProfileAddForm class do the following:

handleCreate

The handleCreate method take the current set of user profiles and, if there were no errors submitting the form, creates a new profile for each one by combining the common set of property values with the values specified for each new user. The preprocessing and post-processing methods preCreateUser() and postCreateUser() are provided to extend the functionality in the MultiProfileAddForm class.

handleCancel

The handleCancel method clears out the current list of per-user and common property values.

handleClear

The handleClear method is identical to the handleCancel method: it clear the current list of per-user and common property values. You can use handleClear() for greater readability within a form.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices