|
I have searched through the archives and docs to no
avail.
In the scenario where I have a selection list built
up in _javascript_
var states = [
{ key: "AL", value: "Alabama" }, { key: "AK", value: "Alaska" }, { key: "WY", value: "Wyoming" } ]; I pass it into the form:
form.showForm(uri, { "states" : states }); and in the field I have the following
element:
<wd:selection-list type="flow-jxpath"
list-path="states" value-path="key" label-path="value"/>
How can I select a value eg "AK":
form.getWidget("myStateDropDown").setValue("AK");
does not work...
Joe
|
- Re: Selecting the correct value in a selection-list Joe Latty
- Re: Selecting the correct value in a selection-list Antonio Gallardo
- Re: Selecting the correct value in a selection-list Bruno Dumon
- Re: Selecting the correct value in a selection-l... Joe Latty
- Re: Selecting the correct value in a selecti... Bruno Dumon
- Re: Selecting the correct value in a sel... Joe Latty
- Re: Selecting the correct value in ... Bruno Dumon
- Re: Selecting the correct value... Joe Latty
