This content has been marked as final.
Show 1 reply
-
1. Re: AMF and combo box
peterent Sep 30, 2006 2:12 PM (in response to Ronsweb)First off, are you certain the cffunction is returning anything? If not, you can either use a network sniffer or use a result event handler on the RemoteObject. Using a result event handler you can set a break-point or use a trace statement or output the contents of the result to a TextArea - anything to let you know what are getting from the cffunction call.
If you are getting something, then try using {myService.qacademicyears.lastResult}" for the dataProvider. The ComboBox is expecting the dataProvider to have either simple elements (eg, Strings) or if Objects, each Object to have a property named "label". If you have Objects, but no label property, then add labelField= to the ComboBox and specify the name of the property you want to show up in the ComboBox dropdown.

