House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

ColdFusion 8 cfselect ajax features - what am I missing?

Author:
James Milks
03/21/2010 03:27 PM

Thank you - I was sure I tried trimming, but I guess not. James for some reason - maybe to do with data type of underlying db column - the values of options in your letterList cfselect have trailing spaces. hence the arguments passed to your getTeamsByLetter() cfc method look like this: |{"letter":"M|| ||"}|, and thus 'M %' is what your query tries to match. add trim() around arguments.letter and that should solve the problem: select * from teams where team_name like '#trim(Arguments.letter)#%' order by team_name asc Azadi On 21/03/2010 20:15, James Milks wrote: > Hi, > Have been away from CF for a long time. Retooling a site to use more modern features and I would like to use the CFSELECT bind features to link to select lists. > > I followed the example by Forta on the Adobe site, but it is just not > working.  have uploaded a page with the code here: > http://www.sihrhockey.org/cfc_tester.cfm > > Any help appreciated. > > James > >


Search cf-talk

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29