Creating modal popup’s in ColdFusion
by Ryan French on Jun.09, 2010, under ColdFusion, Javascript, Programming
One of the great things about my new job is that I am constantly running into little problems that I am having to figure out, and some of them are interesting enough that I’m going to try and post what solutions I can here, so that hopefully it can help other people with similar problems.
One issue I came across recently was creating modal popup’s in ColdFusion, so that a user could click on a button, fill out a form, then when they submitted the appropriate part of the form was reloaded, and they never had to navigate away. The example that I am going to use is a standard select box with a list in it and a button that opens the window to modify the contents of that list.
To do this we will be using a cfwindow. For this example I’ll assume you already have the page that you would like to display in the window, and have some basic CFML and Javascript knowledge.
New job, old city.
by Ryan French on Mar.23, 2010, under Uncategorized
This is a quick update on a fairly major decision that I made a couple of months ago. Back in early Febuary I resigned from my position as Business Analyst and Lead Developer for TechCertain, and at the start of March, I started a new position at LayerX, working with an old friend of mine, Mike Lowen.
The main reason for this change is that the position is much closer to what I enjoy about working with computers. The work is varied and challenging, and I feel the decision was a very good one. I have already worked on a couple of interesting projects, with the main one being theCloud, a hosted services platform that we will be releasing in May. I hope to post a few things about stuff that I am working on or things that I have learnt (without revealing any work secrets of course) but I will leave those for another day.
This also means that I will be moving back to Hamilton sometime in the next few weeks, so hopefully I have a chance to keep updating through the move, but things dont always go to plan.
Website Update
by Ryan French on Feb.12, 2010, under Techy Stuff
Yesterday I spent the morning updating my website. I customised a new theme for it, added some new widgets, integrated it with Twitter, and upgraded to the latest version of WordPress. I’m pretty happy with the result, now if only I could learn to start posting more again.
Problems with booting after upgrading to Ubuntu Karmic Koala
by Ryan French on Nov.21, 2009, under Techy Stuff
So yesterday I decided to upgrade my installation of Ubuntu from 9.04 -> 9.10 on my file server at home. This system has no screen attached to it and no keyboard so I just ssh’d in and followed the how-to on the Ubuntu website for doing the distribution upgrade.
Everything went smooth until I rebooted the system, and after a while when I tried to get back into it I noticed it hadnt come back online. I plugged a monitor a keyboard into the system and rebooted it to see what the issue was and I saw this screen.
mountall: /proc: unable to mount: Device or resource busy
mountall: /proc/self/mountinfo: Not such file or directory
mountall: root filesystem isn’t mounted
init: mountall main process (2025) terminated with status 1
General error mounting filesystems.
A maintenance shell will now be started.
So I hit the internet and tried to figure out wehat was going on, and found out this appears to be a problem for a lot of people, but none of the solutions I found worked for me, mostly because my fileserver has no cd drive and booting from a flash drive doesnt seem to work either.
From what I can gather the main reason this issue is happening is becase Grub is broken during the update process and is pointing at the wrong drive/kernel. Most solutions involved booting into a live cd and fixing menu.lst from there or using grub-update. Eventually I managed to fix the problem by going into grub and manually editing the boot command to point at the correct drive and the correct kernel. The easiest way to do this for your system is to use tab completion as it will tell you all the options and using a little trial and error you can get it going.
Hopefully this saves someone else from hours of torture.