I have a form which contains a multi-value enabled numeric field. I would like to display it on an xpage in a combobox when it has multiple value. However I get the error 500 message.
When I try to achieve the same thing with a multi-value text field the xpage got rendered.
What am i doing wrong?
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
<xp:this.data>
<xp:dominoDocument var="doc" formName="test"
action="editDocument">
</xp:dominoDocument>
</xp:this.data>
<xp:table>
<xp:tr>
<xp:td>
<xp:label value="Label:" id="lb"
for="label1">
</xp:label>
</xp:td>
<xp:td>
<xp:comboBox id="cbLabel" value="#{doc.label}">
<xp:selectItems>
<xp:this.value><![CDATA[#{javascript:return doc.getItemValue("label")}]]></xp:this.value>
</xp:selectItems>
</xp:comboBox>
</xp:td>
</xp:tr>
<xp:tr>
<xp:td>
<xp:label value="Price:" id="pr"
for="price1">
</xp:label>
</xp:td>
<xp:td>
<xp:comboBox id="cbPrice" value="#{doc.price}">
<xp:selectItems>
<xp:this.value><![CDATA[#{javascript:return doc.getItemValue("price")}]]></xp:this.value>
</xp:selectItems>
</xp:comboBox>
</xp:td>
</xp:tr>
</xp:table>
</xp:view>