Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

bind

Explorer ,
Sep 27, 2013 Sep 27, 2013

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

357
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources