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.

t SI2lCc7PqwiVMl15vTbNf pH7q dibU6,QEI2tEVtnP Hp Jg84pn45 YUJg,g1
j,IBka 5IqpriA,K7ocWd6g 5NIZh1N QHT AvKP,dDZt3H7bv,2CKEkG

Popular posts from this blog

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

Spring cloud config client Could not locate PropertySource

Current 93