Dale,
Yes that is what I am trying to do.
bind="cfc:example3.getParks({cfgridpage},{cfgridpagesize},{cfgridsortcolumn}
,{cfgridsortdirection},{YOURCFVARNAME})"
Throws an error, and when I look at the JSon being passed to CF it is there
but set as null.
Anyway I found out that a coldfusion variable is not passable unless it is
already bound to the form. So in my case where I wanted to grab a url
variable I have to cfinput type="hidden" name="BoundName" value="BoundValue"
for it to work.
Seems stupid but logical in the same breathL
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Dale Fraser
Sent: Friday, 21 December 2007 11:38 AM
To: [email protected]
Subject: [cfaussie] Re: CFGrid stupid question I should know:-(
What do you want to do exactly.
Your title says CFGrid but your message says pass a CF var to the binded
cfc.
I think you just want an extra variable in the bind.
Ie insted of this
<cfgrid format="html" name="parkGrid" selectonload="false"
pagesize="10" selectmode="row"
bind="cfc:example3.getParks({cfgridpage},{cfgridpagesize},{cfgridsortcolumn}
,{cfgridsortdirection})">
Have
<cfgrid format="html" name="parkGrid" selectonload="false"
pagesize="10" selectmode="row"
bind="cfc:example3.getParks({cfgridpage},{cfgridpagesize},{cfgridsortcolumn}
,{cfgridsortdirection},{YOURCFVARNAME})">
Regards
Dale Fraser
http://learncf.com
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Andrew Scott
Sent: Friday, 21 December 2007 11:11 AM
To: [email protected]
Subject: [cfaussie] CFGrid stupid question I should know:-(
Has anyone passed a coldfusion variable to the binded cfc?
I for the life of me have done it once before, and do you think I can recall
how I did it?
Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---