Cutter (CFRelated) wrote:
> Use Firebug to watch the request. Those requests should show on your
> 'Console' tab, and when expanded you can view the 'Post' variables. I'm
> betting you have a casing issue. JS is picky like that, and I've been
> caught more than a few times over the years.
Thanks guys for the response. Here's what I've learned...
I did a dump of Arguments and my value is still zero in there.
Definitely no misspelling or case issues (it's all lowercase).
I watched the requests in Firebug and the value IS showing up. In fact,
get this... this is happening in two different CFCs. In one, I pass in
a userid value (checking for private messages -- this is a forum package
I wrote). Since I couldn't get it working, I cheated and just accessed
cookie.userid. That got that one at least usable, if not ideally.
Now on this next one, I'm passing in threadid, but I have no other way
to get it in. I tried setting request.threadid just before the call,
but that didn't seem to work.
So anwyay, back to Firebug. Here's what I see under the Console tab,
Params sub-tab:
argumentCollection {"threadid":44841}
Likewise, in the previous one that handles PMs, I look in there and I
see the proper userid too. But for whatever reason, the CFC is
completely blind to it.
Rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298344
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4