House of Fusion
Home of the ColdFusion Community
Hostmysite Dedicated Hosting

Search cf-talk

July 20, 2008

<<   <   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 30 31     

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

List order mess-up with cfc and ajax

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
05/12/2008 02:46 PM

What's the odd ball.  Form has dynamic elements with each starts with the letter of "A" (e.g., A1, A2, A..n) among other elements, form is passed to cfajaxproxy/cfc/js combo and submitted multiple times (specifically submitted at each element level, intended). On the cfc end, partially code looks like this: <cfset AList = ""> <cfloop item=i collection="#arguments#">              <cfif Left(i,1) IS "A">   <!-- or <cfif Left(i,1) IS "A" AND !ListFind(AList,"arguments.#i#")> --->      <cfset AList = ListAppend(AList,"arguments.#i#")>    </cfif>   </cfloop> ListLast(AList) does not always return the last appended item, how come? Envs: OS = Windows XP; CF = CF8 Stardard. Thanks.

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Don L
05/12/2008 04:22 PM

Resolved by using another technique.


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists