Marcos Placona Blog

Programming, technology and the taming of the web.

Month: February 2010

The unreliable Internet Explorer

Reading time: 1 – 2 minutes

The unreliable IE
(Photo: BlubrNL)

I was stuck with this problem today, and thought I should write a blog post about it, so should anyone encounter the same thing, they won’t waste time trying to track exactly what’s happening.

Basically it was flagged to me this morning by my project manager that when you tried to submit a form that calls for a report generation using the enter key, the report would not be generated.

I then tried the same pattern (on Firefox), and obviously got results. Project managers are known to use Internet Explorer, so I dusted off my IE 8, and tried the same thing. Continue reading

CFML 101 – Grouping arrays for column presentation

Reading time: 1 – 2 minutes

This is an idea I got from a Ruby on Rails extension called in_groups_of.
Basically the idea behind this method, is to be able to get an array of any size, and split it up in groups of arrays with smaller sizes.
One application that keeps coming back over and over again, is the ability to display tabular data in columns instead of rows.
Imagine the following array as an example:

<cfset ArrFruits = ["Orange", "Apple", "Peach", "Blueberry",
"Blackberry", "Strawberry", "Grape", "Mango",
"Clementine", "Cherry", "Plum", "Guava",

Continue reading

CFEclipse 1.3.5 – Bug found + workaround

Reading time: 1 – 2 minutes

Bug found on CFEclipse 1.3.5
(Photo: slowdown)

Earlier today, I posted about CFEclipse 1.3.5 being released. Right after doing that, I found this and tried reporting on track, but it wouldn’t let me register for some reason.

This will only work for newly installed CFE 1.3.5, as if you’ve already tweaked your install, you most likely “fixed” it.

After updating to 1.3.5, I’ve noticed that whenever I copied and pasted a tag, a bloody space (indent) would be added before the tag. While this helps, it’s a bit annoying when you’re pasting things that are not supposed to be indented.

Let say you have:
<cfset tmp = true />

Continue reading

CFEclipse 1.3.5 Released

Reading time: 1 – 2 minutes

CFEclipse 1.3.5 Release news
(Photo: TalkingTree)

It just came to my attention that CFEclipse 1.3.5 has been released, and as usual I am a bit late announcing it.
From the what’s new page, we can see that loads have been added to it, but the highlights in my opinion are:

  1. Proposal Categories
  2. Function Proposals
  3. An option to automatically format code
  4. Occurrence marking, which will automatically highlight all the occurrences of a selected string
  5. Opening Files from the OS (CFEclipseCall)
Well done to the CFEclipse team!