0 Replies Latest reply on Sep 27, 2013 2:25 PM by kt03

    bind

    kt03 Level 1

      Hi,

      Both of 1 and 2 are basically the same and should be working, but # 1 is not working. Can someone please tell me why # is not working?

       

      <cfset variables.objq  = createObject("component","cfc.query").init(compID=request.compID)>

       

      1. NOT WORKED. <cfselect name="custName" id="custName" multiple="false" bind="cfc:variables.objq.getCustName()"  bindonload="true" value="t_bpid"display="name"/>


      2. WOKRED <cfselect name="custName" id="custName" multiple="false" bind="cfc:cfc.getCustName(compID=request.compID)"  bindonload="true" value="t_bpid"display="name"/>

       

      Thanks