RE: CFLOOP, another way?

2003-03-24 Thread Dave Watts
 When you use the cfhttp tag to post information to a web 
 page, at the same time as you are using the cfloop tag, the 
 page will submit the wrong number of variables to the page 
 depending on which iteration you are going through in the 
 loop. For example, if you are on the second iteration of the 
 loop, the page will post two sets of variables, if you are on 
 the third iteration it will submit three sets of variables. 
 IĆ¢EUR(tm)m not sure why. It may be a problem with one of the cf 
 tags, or a problem that occurs when the two tags interact. 
 I'm not sure if there is another possible way to perform the 
 same functionality as the cfloop, iteration, without using 
 the cfloop tag or maybe there is another possible solution 
 to this?

I haven't run into this problem, but it seems to me that you may be able to
avoid the problem by putting your CFHTTP stuff in a custom tag (or CFC, in
CFMX), then looping over that.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: CFLOOP, another way?

2003-03-24 Thread Sean A Corfield
On Monday, Mar 24, 2003, at 08:44 US/Pacific, [EMAIL PROTECTED] 
wrote:
 When you use the cfhttp tag to post information to a web page, at the 
 same time as you are using the cfloop tag, the page will submit the 
 wrong number of variables to the page depending on which iteration you 
 are going through in the loop.

Yup, I've hit that problem. See my blog for a possible solution 
(courtesy of Brandon Purcell):

http://www.corfield.org/blog/archives/2003_01.html#41

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4