Hi All,
I have a lot of cflocations in my application and I want to modify the URL
attribute
from:<cflocation url="#ATTRIBUTES.url#" addtoken="no">
to: <cflocation url="#urlSessionFormat(ATTRIBUTES.url)#" addtoken="no">
first off, any one know of an easy why to do it?
I am in the process of writing a cf script that gets all the files, reads
the files and then was planning on doing a regex find and then some funky
string manipulation to drop in the function.
I have got to the refind part, but am struggling with the expression. This
is what I have
<cfset x = refindNoCase("<CFLOCATION[^>]*>", fileContents, 0,true) />
but it seems to only be finding the first occurrence.
Any one got any tips or pointers?
TIA
Andrew
--
If you are not living on the edge,
You are taking up too much space.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269486
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4