What do you have in log? (just a relevant snippet)
Jacques
From: "Foo Shyn Chung" <[email protected]>
Hi guys,
Just to check, anyone has an idea on how to populate a dropdown list with
the result from getAssociatedStateList in the Form Widget xml?
The scenario is that i just need the dropdown box to populate the states of
a particular country, thus i do not need the full ajax implementation as
mentioned in the example form.
Currently i have the Form in single mode and actions tag that calls the
service,
<form name="MembersForm" target="addMember" type="single"
default-title-style="tableheadtext" default-tooltip-style="tabletext"
default-widget-style="inputBox" >
<actions>
<service service-name="getAssociatedStateList" result-map="result">
<field-map name="countryGeoId" value="MYS"/>
</service>
</actions>
<field name="states">
<drop-down allow-empty="true">
<list-options key-name="countryGeoId" list-name="result.stateList"
description="${countryGeoId}" />
</drop-down>
</field>
....
</form>
I got an error that states "Not a map"
Anyone has any clue?
Thanx
FooShyn