News by Clint Willard

This feed does not validate. (details)

Coldbox Framework and Ajax: cfajaxproxy

17 Oct 02:19
After working in Coldbox for a while I know your first instinct is to make a cfajaxproxy call to a cfc event just like all the other Coldbox events. However, using cfajaxproxy is just a little different. Here is an example to show you one simple way of doing it, not the only way but one of them. First let me note that I am using Coldspring version of IOC. It should work the same though with any form of IOC.

Coldbox beanfactory populatebean method

5 Jun 12:20
I have to say I love this automatic bean population thing going around. Model-Glue does it also but since I mostly use Coldbox, that's what I'm showing here. WTF, you may ask? Well, you know how when you submit a form to edit a user account for example, and then you have to pass all those form elements to your user bean object's getters and setters one by one. userObj.setUsername(form.username), userObj.setUserpassword(form.password) and so on.. well you can forget about ever doing this again.

ColdSpring ColdboxFactory: DSN and Mail settings

26 May 23:06
My second day into figuring out Coldbox, here's a little something cool. Putting it simply, using ColdSpring, in the CS.xml you can define a 'coldboxFactory' bean to use in creating other beans that define this factory's methods as beans also, then pass that bean into a class bean's property as a bean reference. Actually, that doesn't sound simple as it is, so here's an example. Remember that I'm a newbie, so be nice. coldbox.xml.cfm mail.urserver.

cflayout and CSS styles

19 Jan 13:49
I could not find any information on how to use an actual CSS class in a cflayout or cflayoutarea attribute like so: .layoutStyle{..} ... I guess it's simply not possible, but I have a work around, sort of. Not really using a css file but basically declaring the class name as a variable equal to the style attributes desired. Then use that variable in the layout style attribute: ...

MVC - Listeners of the model

18 Dec 11:27
Listeners in the MVC observer pattern style framework would fit in the controller because they do in fact control pieces of the model and must stay seperate from the model to maintain decoupling. The model layer along with the understood data layer must maintain encapsulation within the application code.

Flex Builder 2 CFEclipse error: ClassNotFoundException CFMLEditor

17 Dec 05:47
Are you getting errors trying to open .cfm and .cfc files like the following: java.lang.ClassNotFoundException: org.cfeclipse.cfml.editors.CFMLEditor Looking for a solution I came across many recommendations to update JVM to 1.5 or greater. Which I did, up to 1.6x now, which did not solve the delima. Honestly I think there is a version conflict with the Eclipse included with Flex Builder and the latest CFEclipse available.

Coldfusion MX 7 Certified!

1 Dec 11:26
I took my Certified Coldfusion MX 7 Developer Exam today and passed! Score: 98% Advanced Certified Coldfusion MX 7 Developer Flex and Java certs are planned early 2008.

Can't load a null.

26 Nov 04:26
Coldfusion error - "Can't load a null." The error for my particular situation was caused by trying to pass a param into a function within a cfm file, it doesn't work this way. The error: catch.cfm (a custom tag) *condensed* The error in the above code was trying to use #maxFileSize# as a default value for a cfargument. I changed it to the actual value '500' and it worked.
Pages   ← previous   next
1 2