bind xPages combobox not working properly

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


bind xPages combobox not working properly



I have a simple combobox that is bind to some combobox field on Notes form.
The problem is that if I open a document with value that is not in the list it sets the xPage combobox to first available instead of blank. I.e. notes document has value e.g. "Done" in the field. But the combo shows "New" instead of blank when I open it in web.


<xp:comboBox value="#{document1.Status}" id="Status">
<xp:selectItems id="selectItems1">
<xp:this.value><![CDATA[#{javascript:var arr = new Array(" ");
arr.push("New");
arr.push("Opne");
arr.push("Cancel");
arr.push("In Progress");
arr.push("Done");

return arr;
}]]>
</xp:this.value>
</xp:selectItems>
</xp:comboBox>









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

SDOhgrJZxNj,EBe 6FCGKrdKRJYqgdqFvQBS5lC0wdIJ5F1Cmatsu06V,P 61ykrp8 2w4D22oM7Vm
R5g5l pV c1qgaxs,6vnH5hmf,V LPnjtORfpmZ1P6vuXbIsISOTcE7oBKLEghHM3HI 9ghJ9Bce,a7EwSgeeo8idO9ab2mPUPlN

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results