that structure type method doesnt work  in pre cf5
:P
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Mark Mandel
Sent: Wednesday, May 11, 2005 2:15 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Passing arrays in custom tags

Just to be pedantic -
<cfset caller[attributes.return] = attributes.MyArray>

Just a bit neater (and less evaluation required)

Mark

On 5/11/05, Shane Farmer <[EMAIL PROTECTED]> wrote:
Chad,
 
Personally I would use <cf_myCustomTag return="varName"> and then in the custom tag use
 
 
<cfset "caller.#attributes.return#" = ArrayNew(2)>
<cfset "caller.#attributes.return#" = attributes.MyArray>
 
This is just a guess and I'm not sure if it is best practice either.
 
HTH
Shane

--
E: [EMAIL PROTECTED]
W: www.compoundtheory.com
ICQ: 3094740 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to