I ran into Fiddler a while back. Pretty freaking awesome. It has a FF plugin
as well.
http://www.fiddler2.com/fiddler2/

On Thu, Oct 1, 2009 at 7:31 AM, Doug Hyde <[email protected]> wrote:

>
> I am having trouble processing a post to a cf template using a jquery post.
> I have set up a template to dynamically evaluate the form fields being
> posted - it isn't working, however it uses the following basic syntax:
>
> <cfloop list="#FieldNames#" index="i">
>        <cfif i does not contain 'fieldnames'>
>        <cfset value = evaluate(i)>
>        #i# #value#
>    </cfif>
> </cfloop>
>
> One of the challenges I find with debugging coldfusion and jquery/ajax
> interactions is seeing what is going on. To address this, and as a way to
> debug what is going on with the jquery post, I decided to place the above
> code in a cfmail tag as follows:
>
> <cfmail to="[email protected]" from="[email protected]"
> server="localhost" subject="Test jquery form post">
>
> <cfloop list="#FieldNames#" index="i">
>        <cfif i does not contain 'fieldnames'>
>        <cfset value = form[i]>
>        #i# #value#
>    </cfif>
> </cfloop>
>
> </cfmail>
>
> When I post to this template, I find that this doesn't work either? Huh?
> Can anyone explain why? The code below does work (I get a message with the
> fieldnames and values) so jquery is posting...
>
> <cfmail to="[email protected]" from="[email protected]"
> server="localhost" subject="Test jquery form post">
>
> <cfloop collection="#form#" item="i">
>        <cfif i does not contain 'fieldnames'>
>        <cfset value = form[i]>
>        #i# #value#
>    </cfif>
> </cfloop>
>
> </cfmail>
>
> Any explanation why the first cfmail example wouldn't work? In the
> meantime, I am going to start recoding my template to use the second method.
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326805
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to