Sun Java System Portal Server Mobile Access 7.1 Developer's Guide

Adding a Group

The address book allows users to place multiple contacts into named groups. To create a new group, users select the “Add group” option, which passes control from the current page (the list.jsp file) to the add group page (the addGroup.jsp file).

The add group page prompts users for the name of the group, then passes control to the members options page (the addMembersOption.jsp file), which presents the following menu:

Search

The Search option allows users to find a specific contact or group, or a list of contacts or groups, by entering search criteria and choosing the contacts or groups from the list of results.

When users select this option, control passes from the addMembersOption.jsp file to the searchMemberChoices.jsp file, then to doSearchMemberChoices.jsp file, and finally to the pickMemberChoices.jsp file. The pickMemberChoices.jsp file displays the results in the form of a choice list, from which users can select the contacts or groups to be added to the group.

Browse

The browse option allows users to scroll through the complete list of stored contacts and groups, without having to explicitly perform a search. When users select this option, control passes from the addMembersOption.jsp file to the browseMemberChoices.jsp file.

After fetching all of the contacts and groups, the browseMemberChoices.jsp file forwards control to the pickMemberChoices.jsp file. Again, this file displays the results in the form of a choice list, from which users can pick and select the contacts or groups to be added to the group.

Enter Member

The Enter Member option allows users to enter a contact or group directly if the exact name is already known.