If you look at the code generated by the Verity wizard in CF Studio, it
stuffs most of the CFINDEX attributes using CFSET, but it simply inserts the
values of the ACTION and URLPATH attributes without first setting it in a
variable. For example:
<CFSET IndexCollection = "CollectionName">
<CFSET IndexDirectory = "c:\...">
<CFINDEX
collection = "#IndexCollection#"
action = "REFRESH"
key = "#IndexDirectory#\"
urlPath = "http://some_path_here"
>
Is there a reason for generating the code that way? When I code the CFINDEX
tag by hand I can use CFSET for all the variables with no problem. I ask
because I'm working on an extension for macromedia UltraDev and I don't know
why the CF Studio wizard would create the code this way.
Regards,
Marc Garrett
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists