Skip to main content
Inspiring
September 27, 2013
Question

bind

  • September 27, 2013
  • 0 replies
  • 347 views

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

    This topic has been closed for replies.