namePicker - Name Picker
Displays a modal dialog containing name choices. Applies selected names to an associated control.
Category
Extension LibrarySyntax
<xe:namePicker attributes>content</xe:namePicker>
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. |
Category | Properties |
---|---|
basics | binding, dataProvider, dialogTitle, for, id, listHeight, listWidth, loaded, pickerIcon, pickerText, rendered, rendererType |
dojo | dojoAttributes, dojoType |
styling | disableTheme, themeId |
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 localnames.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>