I am developing an application using lots of layout-tabs and cfgrids. The app was working fine but then suddenly it started to behave in a strange way: all layoutareas in the tabs had 10 lines of whitespaces at the top, and cfgrid broke down completely - but only those using cfc component binding, showing nothing but the headers and navigation bars (the others using queries worked as usual).
I google'd for hours trying to find a solution; I even tried to use different tables from different databases just to see if it was a corrupted database or .js files that caused the trouble. But everything worked fine under those circumstances. Finally I had to manually remove each function from the component, one by one, to locate the culprit. And guess what I found. A single <br /> tag in the component file, outside of any function tags. Once I removed the line break everything worked again. Apparently it was the <br/> tag that put all those spaces in each layoutarea and stopped a component binding cfgrid from working. I was even able to reproduce it everytime. You can try this yourself: create a component, then a function with a query that a binding cfgrid depends upon, put a <br/> tag anywhere between the component tags but outside any functions, and the cfgrid will stop working. Of course it was stupid of me to leave un-necessary tags in un-wanted places, but does this classify as a bug, an anomaly or a 'feature'? And has anyone experienced this? lawrencem49 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309005 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

