Re: CF 8 code analyzer question
Thank you both for the response. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297672 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF 8 code analyzer question
>> According to the article, CF 8 requires that > >This sounds like an error in the code analyzer. If your code works in CF8, >it's correct. > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ > >Fig Leaf Software provides the highest caliber vendor-authorized >instruction at our training centers in Washington DC, Atlanta, >Chicago, Baltimore, Northern Virginia, or on-site at your location. >Visit http://training.figleaf.com/ for more information! I concur, I get errors with the Code Analyzer with the GetUserRoles and IsUserLoggedIn system functions. It thinks that I am having a UDF under that name. Now I just ignore those particular errors since everything is running fine. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297662 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CF 8 code analyzer question
> According to the article, CF 8 requires that > ATTRIBUTECOLLECTION be the only attribute for the tag if > used. This is so in my case. Here is the code: > > attributecollection="#firepaystructure#"> > > For the "How to fix" from the code analyzer, it says "Change > name of attribute attributecollection". I'm not sure what to > change it to, or really why this is being flagged as an error. > > The site runs fine, BTW, but I would like to get my code as > "correct" as possible. This sounds like an error in the code analyzer. If your code works in CF8, it's correct. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297618 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CF 8 code analyzer question
I've just run the included code analyzer in cf administrator. Only four errors for five sites, but I'm not sure how to fix them. The one that has me stumped is the error thrown for the use of "ATTRIBUTECOLLECTION" on a tag call. I googled and read the article here: http://www.bennadel.com/blog/755-Learning-ColdFusion-8-Defining-Tags-With-AttributeCollection.htm According to the article, CF 8 requires that ATTRIBUTECOLLECTION be the only attribute for the tag if used. This is so in my case. Here is the code: For the "How to fix" from the code analyzer, it says "Change name of attribute attributecollection". I'm not sure what to change it to, or really why this is being flagged as an error. The site runs fine, BTW, but I would like to get my code as "correct" as possible. Any insight will be most appreciated. Thanks for any help. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297617 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4