3 Replies Latest reply on Nov 10, 2009 4:42 AM by nikos101

    Issues with ColdFusion template generated by DCD

    SrinivasAnnam Adobe Employee
      Data Centric Workflow (DCD), the new exciting feature in Gumbo allows you to connect Flex applications to your backend services easily. As a part of this workflow, the wizard allows you to generate CFC Stub file with sample CRUD & Paging operations.

      There is a small known issue in this template and its as follows:

      Problem : deleteItem() & getItem() accepts "itemID" of type "Object" as parameter. But, SQL statement treats itemID as single property.

      Solution : Change the argument name to "item" and SQL statement to something like below

      "WHERE ITEMID = <CFQUERYPARAM CFSQLTYPE="CF_SQL_INTEGER" VALUE="#ARGUMENTS.item.itemID#""

      Please feel free to discuss any other issues that you have related to DCD & templates in this posting.

      Thanks.

      Regards
      Srinivas Annam, Adobe Flex Team.