The attributes is a list if your cfdump them in the tag you'll see what
I mean. So A listLen should surfice. But for what you are asking why not
pass them as either a list or associated array to begin with?

This method you are working on would end up requiring more work than is
really necessary.


-----Original Message-----
From: Shahzad.Butt [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, 7 February 2002 2:57 AM
To: CF-Talk
Subject: Custom Tag

How can I list the attributes passed by calling custom tag. say
 
<CFModule template="myTag" a ="" b ="" c ="">
 
in myTag.cfm
 
I want to set
<CFLoop from="1" To="#NumberOfAttributesPassed#" Index="Counter">
    <CFSet hdnValue#Counter# = Attributes.a>
    <CFSet hdnValue#Counter# = Attributes.b>
.................
</cfloop>
 
So i want exact list of attributes passed then i can play around with it
using arrays and stuff.
 
 
Shahzad Butt (Development Engineer)
 
JJ FastFood Distribution Ltd.
Office:  +44 (0) 1992 701 722
Mobile: +44 (0) 7763 114 328
Fax:     +44 (0) 1992 701 604
 
7 Solar Way, Innova Park, Enfield, London, EN3 7XY

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to