> I would like to create a collection if it is not already
> defined.  How can I do that?
>  
> i.e.
> <cfif NOT isDefined(collection.mycollection)>
>     <cfcollection ...>
> </cfif>

The easiest way would be to simply wrap your CFCOLLECTION tag within
CFTRY/CFCATCH.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to