Using Custom Objects and Custom Display Objects for Data Sources in Mura Form Builder

That title is a mouthful. And many might not be familiar with what it means. Check out this video to learn more about Mura's Form Builder, or you can go to this link which goes directly to the section of the video that I had an issue with.

In the video, Sean demonstrates the basics of creating a dropdown where you can manually enter the options for the dropdown. He does gloss over the fact that you can also get the data for the dropdown from other sources. Unfortunately, this is the extent of the currently existing documentation for this feature. So when I wanted to use this feature of the form builder to feed in data from another part of the site, I had to figure it out on my own. Here is what I came up with. Hopefully it is right(ish). Oh, you can also use this stuff to populate checkbox and radio button sets.


CFSummit 2013

CFSummit happened this past week at Mandalay Bay in Las Vegas. Overall, I thought the event went fantastically. The venue, food, hotel, sessions, attendees, and pretty much everything else were fantastic. I really had a great time and would like to thank Adobe, The Crawford Group, my fellow speakers, and the amazing group of attendees for being there and making the event the best it could be.

I presented twice at CFSummit. For those that asked, here are links to my presentations and to those of the other speakers who have uploaded theirs to the public DropBox.

Application Security Best Practices - Part 1 Application Security Best Practices - Part 2 CFSummit Presentations Public DropBox

Now, to get ready for cf.Objective() 2014.

Making JEE Session Tokens "Domain Cookies" in Tomcat

This post is not ColdFusion specific, but this came about while using ColdFusion 10 with the Tomcat servlet container that comes with it.

Ray was asking today about making Domain cookies with Tomcat and CF10 while using JEE Session Tokens (JSESSIONID). When using ColdFusion Session Tokens (CFID/CFToken) this is a trivial matter, because we have complete control over the cookies which are set.


New, unofficial MuraCMS channel (chatroom) on IRC Freenode

Internet Relay Chat (IRC) has been around for a LOOONG time. I have fond memories of logging into IRC (for embarrassing amounts of time) when I first logged onto the internet in 1995. I have been using IRC ever since.

The are many server choices on IRC, but the one I keep finding myself coming back to is Freenode.

"freenode provides discussion facilities for the Free and Open Source Software communities, for not-for-profit organizations and for related communities and organizations."

Seems like a perfect place for a Mura channel.


Installing ColdFusion 9 on OSX Snow Leopard, Lion, and Mountain Lion 64-bit


I upgraded some of my Macs to Lion and Mt. Lion over the last week and had problems when trying to Install ColdFusion 9.0.2. When trying to connect CF to Apache (during the install) no errors were reported, but the connection did not work.

The Problem

At first the problem was that when trying to browse to /CFIDE/administrator/index.cfm the browser would prompt me to download index.cfm instead of rendering it. This got me looking at /etc/apache2/httpd.conf. There I saw that the JRun settings had not been added. They look something like this:


ColdFusion, CFML, Open Source, and Friends

This is a blog post I have been contemplating for a long time, and I want to make sure I pick my words carefully so as not to send the wrong message.

I am currently an Adobe Community Professional and have been involved in the ColdFusion community for some time. I have been seen by my peers as an Adobe Fanboy, and, for the most part, I have been OK with that. I still like Adobe, I still support Adobe, and I actively use Adobe ColdFusion. But the part I need to get off my chest is that I am NOT against the Open Source CFML alternatives (specifically Railo and OpenBD). In fact, I believe that Railo and OpenBD, along with other open source projects like Mura CMS, ColdBox and ContentBox, FarCry, Slatwall, Razuna, and many others are vitally important to CFML's future.

Let's face it. ColdFusion and CFML do not have a great reputation. It's unfortunate that so many ignorant assholes spout off about ColdFusion because they once had a bad experience, or because they used it 10 years ago and assume that nothing has changed but them. But however you slice it, ColdFusion is looked down upon by much of the rest of the web development world. I believe that much of the disdain over Adobe ColdFusion is because it is a commercial, proprietary, closed-source system. I also believe that much of the reason our current community is becoming divided is for that same reason.


The importance of Mura (and Plugins)

What I've been thinking about

I've been thinking a lot lately about Blue River Interactive's Mura Content Managent System (hence forth referred to as Mura CMS or just Mura), probably because I have been working a lot with it lately. I am in the process of converting a large, mostly static, web site to Mura, and I have been amazed by its power, versatility and ease-of-use. I have been especially pleased with how easy it is for me to make plugins for it.

While thinking about Mura, I have realized something important. Mura CMS is an incredible products with the potential to change the way that ColdFusion and CFML are viewed. And this needs to be recognized. It also has the potential to become a very popular, open source product used outside of the ColdFusion/CFML community.


cf.Objective() 2012 call for speakers and topic suggestions (with voting) now open

Last week our benevolent dictator of the cf.O() Content Advisory Board (CAB) announced that the Call for Speakers and Topic Suggestion application is now open and ready for our submissions. I know I have started adding my suggestions already and have started voting as well. You should too.

As a member of the CAB I can tell you that this application was a HUGE part of the success that cf.O(0 saw last year in brining the attendees a fantastic line-up of sessions. It makes the planning process SOOOOOOOO smooth. Please, take the time to vote. You, the attendees of the conference, are the audience. We care about what you want to see. So if you want to have a hand in planning this stellar event, then get going.

From Bob's Blog:

The Topic Suggestion Survey and the Call for Speakers for next year's cf.Objective() are both now officially open. For more details please check out the announcement at the cf.Objective() site, or if you're keen to get started, visit the Engage app right now to suggest and vote on topics or to propose to speak.

Accessing FORM and URL variables via $.event() from an admin-side plugin page in Mura

I have been learning a lot about Mura the last couple of weeks while building my first Mura plugin, but I have also had a lot of frustration because some things work differently when you are developing for a front-end page vs. a back-end (admin) page.

In the Mura Developer Documentation it states:

The Event scope simply wraps the current request's event object which contains merged data from both the CFML FORM and URL scopes.

If then goes on to say that the following code should return values from those scopes.

<cfset $.event('property') />

So if I have a URL variable like ?test=123, then this code should return the value '123':

<cfset $.event('test') />

This seems to work fine on pages I create for Mura display objects for the front end of the website, but for pages in the admin area of the site, this method only produces [empty string].


Call for speakers - cf.Objective()

Hey, in case you didn't notice, the call for speakers for the super-awesome-fantastic-amazing cf.Objective() conference is now open.

you can submit your proposals here:

Even if you don't submit a proposal, you should definitely come to cf.Objective(). It is best ColdFusion conference there is. And remember that cf.Objective isn't JUST for advanced/enterprise developers. cf.Objective() is also about becoming an advanced/enterprise developer. So even if you feel like cf.Objective() might be over your head, if you're an experienced developer who wants to take the next step in your learning, cf.Objective() is the place for you!

So get on it!

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.1. Contact Blog Owner