CF/Flex Connectivity in Flex Builder : Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.

On June 8, 2010, in ColdFusion, Flex Builder, Flex, Mac, by Anuj Gakhar

I was setting up a new Project in Flex Builder with Application Server Type as ‘ColdFusion’. I had the default values in the Flex Builder wizard. But the Wizard wont let me go past the second screen. I kept getting this error :- Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml. And […]

Tagged with:  

Enabling AutoFilters on an Excel Template Dynamically

On June 1, 2010, in ColdFusion, Web Development, by Anuj Gakhar

I had a requirement to generate an Excel report based on some filter criteria. Since I am using ColdFusion for the project, I will be using ColdFusion code to demonstrate what I did but this can pretty much apply to any language that can run loops and write files. My requirement was to have Excel’s […]

Tagged with:  

Installing ColdFusion 9 on MacOSX with Apache : Broken Apache Config

On January 22, 2010, in ColdFusion, Mac, by Anuj Gakhar

I had to re-install ColdFusion 9 on my MacOS today and having installed CF approx. a million times before, I thought it would only take few minutes. Here is what I did :- 1) Went to /Applications/ -> Moved existing “ColdFusion 9” folder to Trash. 2) Ran the CF Installer and everything went well. But […]

Tagged with:  

Easiest way to get Twitter Statuses with ColdFusion

On August 25, 2009, in ColdFusion, by Anuj Gakhar

This post of mine is coming after a long time, I know. The reason for this has been lack of time, being very busy with other things etc. I will try to be more frequent here hereafer. Anyways, in a recent project, I had the requirement to show Twitter statuses on the homepage of the […]

Tagged with:  

Removing NameSpaces from XML using XSLT and ColdFusion

On April 22, 2009, in ColdFusion, by Anuj Gakhar

If you are using ColdFusion XPath functions to search/parse XML strings, you will probably have come across this one at some point.  Not all, but most of the XML files have namespaces in them e.g. xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”. If you use Xpath on a string that contains namespaces, chances are that you will get back the namespaces […]

Tagged with:  

The Processing Instruction Target Matching “[xX][mM][lL]” is Not Allowed

On February 17, 2009, in ColdFusion, by Anuj Gakhar

This post is just a little tip that I think can take a lot of time in trying to solve. I was building a variable , using cfsavecontent, to process later on and there was absolutely nothing wrong with the code according to me, as below :-

Tagged with:  

Populating cftextarea richtext with Javascript

On February 11, 2009, in ColdFusion, Javascript, by Anuj Gakhar

I had a cftextarea with richtext enabled and I had another dropdown which was supposed to change the value of the cftextarea when selected. So, I was doing it the old way as I would have imagined.

Tagged with:  

Railo Support Added to coldfusiondocs.com

On February 7, 2009, in ColdFusion, Flex, Railo, by Anuj Gakhar

I have just released an update to coldfusiondocs.com . As the title says, I have added Railo support to the documentation, so now you get a new tab for Railo tags and functions and just like before, you can search and view the documentation. I think it makes sense to add this as part of […]

Tagged with:  

CRUD with cfgrid html format – Part 2

On August 14, 2008, in ColdFusion, by Anuj Gakhar

In response to reader’s comments from my previous post, I have updated the code for this little thingy. Here are the updates in this version. 1) Added the ability to change pagesize dynamically (I did a separate post on this one earlier) 2) Made the grid rows double clickable. On double click, a window opens […]

Tagged with:  

cfpop and gmail

On May 18, 2008, in ColdFusion, by Anuj Gakhar

I know this has come up with a few times before but its something I want to blog more for myself so I could easily refer to it when required. By default, cfpop does not support ssl and if you are trying to access your gmail account via cfpop, you wouldnt be able to do […]

Tagged with:  
© 2011 Anuj Gakhar