0

CFEclipse Bug Fix (cflocation)

ColdFusion

If you are like me you don't like any errors in your code, let alone errors that are not really erros at all! Well this was happening to me with CFEclipse until today. You probably all know that CFEclipse has a handy debugging tool built in. If you are missing a required attribute the tag will be highlighted with a red squiggly line. This is very very very handy to have, however the squiggly line seemed to be broken on the tag. When trying to debug the squiggly line the message "URL is Compulsory for cflocation" would appear EVEN IF the URL attribute is populated.

After some searching I found the issue on the CFEclipse trac web site, http://trac.cfeclipse.org/cfeclipse/ticket/1. The trac web site mentioned that the issue had been fixed so I figured I needed a newer version. After downloading the latest version did not work I posted a question on the CFEclipse users list. Lucky for me Teddy Payne happend to be reading the list and produced replied with the following message.

Open up your Eclipse folder
Inside the Eclipse folder is the plguins folder
If you have 1.2.9, then open com.rohanclan.cfml_1.2.9 folder
Open the dictionary folder
If you are validationg for MX 7, then open up cfml7.xml
Do a search for "cflocation"
 
Each tag has a tag node and each attribute of the tag has a paramater child node
 
<parameter name="url" type="String" required="true">
  <help><![CDATA[
   URL of HTML file or CFML page to open.
  ]]></help>
 </parameter>
 
I am willing to bet that your name="url" is name="URL" in upper case.  Change it to lower case and the squiggly should disappear.
 
Teddy

Needless to say the directions above fixed my problem. No more red squiggly lines. I am one happy programmer. Many thanks to Teddy.

Good Day!
Ryan

tags:
ColdFusion
Teddy R Payne said:
 
Ryan,
Not a problem. Just let me know if you find more. I will be glad to assist. I have submitted bug fixes in the past for several squiggly issues.

Cheers,
Teddy
 
posted 1068 days ago
Add Comment Reply to: this comment OR this thread
 

Search