在Lotus Notes中,有一种简单的方法可以访问目录,从names
字段中选择某些人/用户:(此字段Use Address dialog for choices
为Choices
< / p>
我创建了一个<xe:namePicker>
来打开(本地)names.nsf
,我可以从中选择/添加一些用户:
<xe:namePicker id="namePicker1" for="djTextarea5">
<xe:this.dataProvider>
<xe:dominoNABNamePicker groups="false"
nameList="peopleByLastName" addressBookDb="names.nsf"
addressBookSel="db-name">
</xe:dominoNABNamePicker>
</xe:this.dataProvider>
</xe:namePicker>
我是否有机会在XPage中选择上述xe:namePicker
上述Lotus Notes场所/目录?
谢谢你的时间。
答案 0 :(得分:2)
使用xe:namePickerAggregator
将地址簿添加到名称选择器中显示为下拉列表的列表中:
<xe:namePicker id="namePicker1" for="djTextarea5">
<xe:this.dataProvider>
<xe:namePickerAggregator>
<xe:this.dataProviders>
<xe:dominoNABNamePicker groups="false"
nameList="peopleByLastName" addressBookDb="names.nsf"
addressBookSel="db-name">
</xe:dominoNABNamePicker>
<xe:dominoNABNamePicker groups="false"
nameList="peopleByLastName" addressBookDb="namesOther.nsf"
addressBookSel="db-name">
</xe:dominoNABNamePicker>
...
</xe:this.dataProviders>
</xe:namePickerAggregator>
</xe:this.dataProvider>
</xe:namePicker>