Archive for January, 2008

Unfuddling my projects

I’m definitely a list person. I find that unless I keep things in order then my productivity goes downhill as I sit and wonder what I’m supposed to be doing rather than actually doing it. Recently I’ve been reading David Allen’s excellent “Getting things Done” book and have been keeping all my tasks and projects in order with the recently released OminFocus. This works really well for day to day things, but isn’t so great at managing client projects as I’m the only one that can see the tasks and it doesn’t provide me with detailed enough information when it comes to billing.

I’ve been using ProWorkFlow for a couple of years for managing projects, CVSDude.com for hosting Subversion offsite, and occasionally Lighthouse Pro for issue tracking. Each one works quite well although I do find myself digging around in ProWorkFlow trying to get out the information that I want. The real problem though is that there’s too many systems. Surely there must be one product that can do all this…

…well, I could use Trac but I just don’t find it user friendly, so there is no way I could get a client to be enthusiastic about it.

So after some more research and reading a blog post by Peter Bell, I too thought I’d try to Unfuddle my projects. So far it’s going well, and I’m really liking the interface. Much more user friendly. I have projects, milestones, issues, notepad (wiki), and a subversion repository all in one place. I can add other developers and clients, and it has a nice shiny “Web 2.0″ interface. Let’s hope it continues to shine.

Styling a cftooltip

cftooltip is a handy tag for quickly creating some tooltip text, however, the style of it didn’t fit in with my application. After a little digging around I found the class in yui.css that styles it, .yui-tt. You need to put the style inline with the html so the browser reads it after the default style, like so:

<style type="text/css">
  .yui-tt {
    color: #444;
    font-size:110%;
    border: 1px solid #444;
    background-color: #FFC;
    padding: 10px;
    width:250px;
  }
</style>

Strange error - missing “cfmessage_en_US_.js”

I just moved a site from staging to the live server and ran into this strange CF error:

Security: The requested template has been denied access to
C:\Inetpub\wwwroot\CFIDE\scripts\ajax\messages\cfmessage_en_US_.js.

The following is the internal exception message: access denied (java.io.FilePermission
C:\Inetpub\wwwroot\CFIDE\scripts\ajax\messages\cfmessage_en_US_.js read)

I knew it was related to the CF AJAX tags I’d been using, but I just couldn’t figure out why. I tried it on Windows and everything worked just fine, but not on a Mac, in any browser or even with IE7 in Parallels. And this wasn’t some client side error, it actually stopped page processing. After, lots of emails back and forth with the hosting company and I was still no closer. The weirdest thing was that the “cfmessage_en_US_.js” file doesn’t even exist!

I figured it could be down to some locale info being sent by my machine in the HTTP Header. So I tried setting the locale in Application.cfc and that did the trick. Must be some strange bug in CF as I can’t think of any other explanation.

<cfset SetLocale("English (UK)") />

I’d be interested to hear if anyone else has run into this.