You can find some info on this at this post:

http://blog.cutterscrossing.com/index.cfm?mode=entry&entry=924FD535-3048-71C2-1732C7C676604ABE

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com

Michael Grove wrote:
> I am trying to us a CFgrid, Format HTML using a CFC and Bind. The grid 
> renders fine, but I want to include a few columns that either display a small 
> image or a static X. Each of these columns should point to a specific url and 
> pass the parameter.
> 
> First off I cannot figure out for the life of me how to pull in a simple 
> variable to pass in the href portion fo teh tag.
> 
> <cfform name="test">
> <cfgrid name="data" bindonload="true" appendkey="yes" selectmode="single" 
> striperows="yes" format="html" 
> bind="cfc:cfc.AdminProducts.getProducts({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})"
>  pagesize="30" autowidth="no" width="800">
> <cfgridcolumn name="productid" display="no" />
> <cfgridcolumn name="title" header="Title" width="315"  
> href="../Product_Details.cfm" hrefkey="productid" />
> <cfgridcolumn name="typename" header="Type" width="90" />
> <cfgridcolumn name="Price_Our" header="Price" width="60" />
> <cfgridcolumn name="start1" header="Start Date" width="90" />
> <cfgridcolumn name="x" header="Copy" values="x" valuesdisplay="x" 
> href="../Product_Details.cfm?productid=#productid#"  hrefkey="productid" 
> width="60" />
> </cfgrid>
> </cfform>
> 
> Everytime I run this I get Variable PRODUCTID is undefined.
> 
> I have tried placeing everything I can think of in front of the productid 
> viarable but it alwasy tells me that it is undefined.
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:295545
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to