我有一个简单的名称选择器:
<xe:namePicker id="namePicker1" for="myNameEditBox">
<xe:this.dataProvider>
<xe:dominoNABNamePicker
valueNameFormat="common"
people="true"
nameList="people"
groups="false"
addressBookSel="all">
</xe:dominoNABNamePicker>
</xe:this.dataProvider>
</xe:namePicker>
,但它仅带来服务器名称(.fs)中可能没有人员的名称(应用运行的服务器)。所以我需要使其像在Notes Client中一样工作
答案 0 :(得分:0)
您可以使用xe:namePickAggregator查找多个通讯录
<xe:namePicker
id="namePicker1"
for="inputText1">
<xe:this.dojoAttributes>
<xp:dojoAttribute
name="maxRowCount"
value="10000">
</xp:dojoAttribute>
</xe:this.dojoAttributes>
<xe:this.dataProvider>
<xe:namePickerAggregator>
<xe:this.dataProviders>
<xe:dominoNABNamePicker
addressBookDb="server!!nab1.nsf"
addressBookSel="db-name"
groups="false"
people="true"
valueNameFormat="common">
</xe:dominoNABNamePicker>
<xe:dominoNABNamePicker
addressBookDb="names.nsf"
addressBookSel="db-name"
groups="false"
people="true"
valueNameFormat="common">
</xe:dominoNABNamePicker>
</xe:this.dataProviders>
</xe:namePickerAggregator>
</xe:this.dataProvider>
</xe:namePicker>