0 Replies Latest reply on Oct 6, 2009 7:18 PM by RedOctober57

    Populating a combobox list with XML returned from a CF9 function.

    RedOctober57 Level 1

      In the training video "Introducing data retrieval and handling using HTTPService", a combobox is having it's drop down list populated from an XML file.  I want to do the same thing, except I want to populate from XML stored in a CF9 function.  The following function does not allow FB4 to use it as a data source for the combo box in FB4, in design time. The "Configure return type" wizard always says that it returns an Object, which can't be used as a data source for the combo box.  What am I doing wrong?


      The CF9 Function:


          <!--- Fetch the list of custom search functions --->
          <cffunction name="getSrchFncNms" output="false" access="remote" returntype="any">
              <cfxml variable= "xmlFncs">
                  <?xml version='1.0' encoding='utf-8' ?>
          <cfreturn xmlFncs>


      Thanks in advance.