Setting up name picker to use public NABs & another Db (the picker does show the 2 Dbs for selection):
<xe:namePicker id="namePicker1" for="fld_copyto_recipients">
<xe:this.dataProvider>
<xe:namePickerAggregator>
<xe:this.dataProviders>
<xe:dominoNABNamePicker addressBookSel="all"
nameList="peopleAndGroups">
xe:dominoNABNamePicker>
<xe:dominoViewNamePicker labelColumn="$1"
viewName="($VIMPeople)" databaseName="#{javascript:viewScope.personalNAB;}"
label="#{javascript:viewScope.personalNABTitle;}">
xe:dominoViewNamePicker>
xe:this.dataProviders>
xe:namePickerAggregator>
xe:this.dataProvider>
xe:namePicker>
Then in a different input control use typeahead using that picker, it's only presenting suggestions from the dominoNABNamePicker:
<xp:inputText id="copyto_typeahead">
<xp:typeAhead mode="partial" minChars="1"
preventFiltering="true" ignoreCase="true" var="typeAheadKey">
<xp:this.valueList>#{javascript:getComponent("namePicker1").getTypeAheadValue(this)}]]>xp:this.valueList>
xp:typeAhead>