namePicker - Name Picker

Displays a modal dialog containing name choices. Applies selected names to an associated control.

Category

Extension Library

Syntax

<xe:namePicker attributes>content</xe:namePicker>
Table 1. Essential properties
Property Description
id Defaults to namePicker1, namePicker2, and so on.
for Specifies the control to which selected names are applied.
dataProvider Specifies choices for the name selection.

Usage

When the user clicks this control, a modal dialog appears with a choice of names. The user can select names. The selected names are applied to the associated control.

See Value and name pickers for additional information.

For accessibility, the user can click the Up Arrow, Down Arrow, Enter, Space, and Tab keys to navigate through buttons and lists, select items, and click buttons.

Examples

This name picker provides a choice of names for an input box from the local names.nsf database.
<xp:this.data>
	<xp:dominoDocument var="document1" formName="main"></xp:dominoDocument>
</xp:this.data>
<xp:inputText id="inputText3" value="#{document1.subject}"></xp:inputText>
<xe:namePicker id="namePicker1" for="inputText3">
	<xe:this.dataProvider>
		<xe:dominoNABNamePicker addressBookSel="db-name"
			addressBookDb="names.nsf">
		</xe:dominoNABNamePicker>
	</xe:this.dataProvider>
</xe:namePicker>