DOH!  Thanks :)

----- Original Message -----
From: "Sharon Diorio" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, March 25, 2002 4:15 PM
Subject: Re: Passing Arrays to Custom Tags


| You need to evaluate the array.
|
| <cf_ShoppingCart Action="GET" Scope="CART" Value="ALL" varName="#myCart#">
|
| Sharon
| ----- Original Message -----
| From: "Jared Stark" <[EMAIL PROTECTED]>
| To: "CF-Talk" <[EMAIL PROTECTED]>
| Sent: Monday, March 25, 2002 6:07 PM
| Subject: Passing Arrays to Custom Tags
|
|
| > Hello all,
| > My Wrox ColdFusion book says that "arrays can be passed to custom tags
just like any other variable", but I am getting errors when I try it.  I
have the following:
| >
| > <cf_ShoppingCart Action="GET" Scope="CART" Value="ALL" VarName="myCart">
| >
| > which returns an array of shopping cart items into a variable called
'myCart'.  I can run:
| >
| > IsArray(myCart) and it returns YES
| >
| > then I pass it to another custom tag:
| >
| > <cfmodule template="addWorkingInvoice.cfm"
| >                   Cart=myCart
| >                   CustomerID="LDH000000">
| >
| > addWorkingInvoice.cfm checks to make sure that attributes.Cart is an
array, and it keeps failing.  Is this not the way to pass an array to a
custom tag?
| >
| > Thanks for your help.
| >
| > Jared
| >
| >
| >
| 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to