So would <cfset caller.MyArray = attributes.MyArray>
work? And in my main template I called the customer tag from, how would I refer to the variable? variables.MayArray[1][1] ? Still trying to get my head around it. Chad who gets his head around too many things these days On 5/11/05, Steve Onnis <[EMAIL PROTECTED]> wrote: > > that structure type method doesnt work in pre cf5 > :P > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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/ --- 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/
