Community Member Profile
- Profile: /members/229-Tom-K.htm
- URL: http://www.oxalto.co.uk
- Comments: 3
- Points: 21
Recent Blog Comments By Tom K
-
How Do You Populate Shared Views In A Complex Layout Using MVC?
Posted on Jul 12, 2012 at 11:11 AM
@Ben, Yes, but you have the option of doing it once in the master controller.cfc (which all other controllers extend) and using super.init() OR, using it in each controller's own init(). With filters you can specific 'except' or 'only' if you only want to specify a subset of views.... read more »
-
How Do You Populate Shared Views In A Complex Layout Using MVC?
Posted on Jul 12, 2012 at 11:02 AM
In cfWheels, I'd use a filter() in the controller's init() function, which gets the data required for the sub sections. i.e getSidebar() Then use includePartial() to include the sidebar; the joy of this is this can be cached seperately to the main content in cfwheels :)... read more »
-
Preventing Spam Bot Form Submissions With ColdFusion (Revisited)
Posted on Aug 28, 2007 at 4:57 AM
You're forgetting accessibility - what if I have images turned off? what if I'm using a Braille reader (which may not bother with loading images)? :)... read more »



