2 Replies Latest reply on Mar 25, 2008 11:11 AM by FAIZPURUA

    multiple bind parameters in <cfselect>

    Sanjay_k
      hi all,
      i'm trying to populate <cfselect> values using bind which takes more than one parameter.

      code:
      <cfselect name="selectCode"
      value="selectCode"
      display="selectCode"
      bind="cfc:related_select.getSelectCode(pId={periodId},rCode={respCode})"
      bindonload="false">

      where periodId and respCode comes from another two <cfselect> dropdowns which uses bind 'ng too. which works well

      problem:
      when i do this <cfselect> is binding to database as many times as the number of parameters i'm passing in bind,
      so if i want to bind it with 10 <cfselect> dropdown values, it is trying to bind 10 times, and because of which browser hangs

      questions:
      1. am i doing it in the right way?
      2. is there any other way to pass multiple parameters to bind attribute

      any help would be greatly appreciated

      Thank you
      Sanjay