2 Replies Latest reply on Sep 16, 2014 10:13 PM by MAHI

    CFGRID with bind to CFC for an incorrect JAVAScript

    MAHI

      Hi,

       

      I am using CF11 with SQL server 2012 & IIS8.0 on windows server 2012.

       

      When I am using a CFGRID bind to a CFC and passing 2 or more than 2 parameters from a FORM, it fails for an incorrect JavaScript.

       

      Using the below code:

       

      <cfgrid attributeCollection="#args#"

      bind="cfc:MaintenanceMenuComponent.getLookUpData({cfgridpage},{cfgridpagesize},{cfgridsortcolum n},{cfgridsortdirection},{appl},{search})"

             onchange="cfc:MaintenanceMenuComponent.editLookUpData({cfgridaction},{cfgridrow},{cfgridchanged})"

             onerror="errorHandler" bindOnLoad="true">

       

      Getting Result:

       

      JavaScript Error for:

       

      SyntaxError: missing ; before statement

      ...id'] = 'applid,appl,,value;'search,search,,value';var _cf_gridDataModel = Ext.cr...

       

       

      I have checked the Adobe blog and found that this type of bug (Bug ID# 3759630) is already reported and fixed in ColdFusion 11 Update 1 (Suggested by Anit Kumar Panda Ref: https://bugbase.adobe.com/index.cfm?event=bug&id=3759630).

       

      I have sent update request to 'cfinstal@adobe.com' but did not receive any update from them yet.

       

      As this update is still not available on Adobe site, can anyone send me that link of the update or let me know if there any workarounds.


      Thanks in advance