xpages - Cannot load multiple values in Dojo Name Text Box -


Using a name picker to select multiple values ​​from my NAB, and want to load the values ​​that the user chooses in the Dojo name text.

box I can load many values ​​in the dojo list text box, but they load with a hierarchical name, e.g. Brian Smith / Acme only receives first value while using the Dojo name text box.

My code is below

Any help would be greatly appreciated.

  & lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Xp: visible xmlns: xp = "http://www.ibm.com/xsp/core" xmlns: xe = "http://www.ibm.com/xsp/coreex" & gt; & Lt; XP: this.data & gt; & Lt; Xp: Domino's document var = "document1" formName = "operating market" & gt; & Lt; / XP: dominoDocument & gt; & Lt; / XP: this.data & gt; & Lt; Xe: name picture id = "name picture 6" dialog title = "please" pickerIcon = "/ iconSearch16.png" select = "djextNameTextBox1" & gt; & Lt; XE: this.dataProvider & gt; & Lt; Xe: DominoNAB picture addressbook cell = "db-name" group = "false" name = list = "people" & gt; & Lt; Xe: this.addressBookDb & gt; & Lt ;! [CDATA [# {Javascript: var Server: string = @ ("[CN]", session.getCurrentDatabase (.) GetServer ()); Return Server + "!!" + "Names.nsf";}]]] & gt; & Lt; / Xe: this.addressBookDb & gt; & Lt; / XE: dominoNABNamePicker & gt; & Lt; / XE: this.dataProvider & gt; & Lt; XE: this.dojoAttributes & gt; & Lt; Xp: dojo attribute name = "maxwau" value = "1000" & gt; & Lt; / XP: dojoAttribute & gt; & Lt; / XE: this.dojoAttributes & gt; & Lt; / XE: namePicker & gt; & Lt; XP: br & gt; & Lt; / XP: br & gt; & Lt; XP: br & gt; & Lt; / XP: br & gt; & Lt; Xe: djextListTextBox id = "djextListTextBox1" value = "# {document1.ACHApprovers}" multiple trim = "true" & gt; & Lt; XE: this.multipleSeparator & gt; & Lt; [CDATA [# {Javascript: "\ n"}]]]! & Gt; & Lt; / XE: this.multipleSeparator & gt; & Lt; / XE: djextListTextBox & gt; & Lt; XP: br & gt; & Lt; / XP: br & gt; & Lt; XP: br & gt; & Lt; / XP: br & gt; & Lt; Xe: djextNameTextBox id = "djextNameTextBox1" multiple trim = "true" & gt; & Lt; XE: this.multipleSeparator & gt; & Lt; [CDATA [# {Javascript: "\ n"}]]]! & Gt; & Lt; / XE: this.multipleSeparator & gt; & Lt; / XE: djextNameTextBox & gt; & Lt; / XP: View & gt;  

This is something I've experienced before, with the addition of the dodge name text box "," many Separator will not work with

The value of the picker store, but returns the value as a feature for a period in the component widget. Therefore \ n or the location will not work anyway. But it will not work with other characters like ";", "|" e.t.c.

For the first part, the catalog prints printwork values ​​as they are. NameTextBox works almost like ListTextBox, except that it removes the CN component from the values ​​of the name. To do this on ListTextBox, add displayLabel = "true" attribute.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -