Shaun Mccran

My digital playground

12
A
U
G
2008

Using if and else in Cfscript

Every CF developer is intimately familiar with the code. I was recently re-writing something that was entirely CfScript based, apart from a large chunk of 'IFS' in the middle of the template. So I thought I'd re-write it into CfScript. Turns out its very easy!

[ More ]

07
J
U
L
2008

Init method for coldfusion cfc's

I'm lucky enough to be working in an environment that is small enough to allow me access to our whole suite of coldfusion cfc's. So i generally know pretty much what they all do, but what if your interrogating unknown cfc's?

Well you can use the init() method.

[ More ]

01
J
U
L
2008

Flex - Coldfusion Remoting, passing an Object usefully

Ever noticed that with the increase in scale of a Flex application, the amount of data that you pass around seems to grow exponentially? Well I was fed up with passing multiple values back and forth from CF to flex, so after some digging here's the first article in using objects in remoting.

[ More ]

24
J
U
N
2008

Method for populating a flex combo box from cfc

Many of the flex form elements can be populated directly from the data output from a coldfusion cfc, as long as you get the format right!

Here's the best way I've found to painlessly populate a combo box in flex.

[ More ]

_UNKNOWNTRANSLATION_ /