beyanet.com wrote:
Hi,
I am trying to create a form selection box as follows:
Ok,
so I have done the following:
flow:
data.cityList = new Array(2); data.cityList[0] =
{value:"AL", label:"Alabama"}; data.cityList[1] = {value:"AK",
label:"Alaska"}; form.showForm("accountDetails1.xml",
{"msg":Accountsmsg, "userGlobal":userGlobal}, data);
form:
<fd:field id="flist" required="true">
<fd:label>Previous orders</fd:label> <fd:datatype
base="string"/> <fd:selection-list type="flow-jxpath"
list-path="cityList" value-path="value" label-path="label" />
</fd:field>
jx:
<ft:widget id="flist"><fi:styling class="keyinbox"/></ft:widget>
An empty selection box is being rendered to the page minus a label
and any select options. What am I missing here?
Ah,
problem solved! functionality only available in 2.1.7 and i'm on 2.1.6. hmmmmmm
Upgrade here I come...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]