Click here to close now.


You will be redirected in 30 seconds or close now.

ColdFusion Authors: Yakov Fain, Maureen O'Gara, Nancy Y. Nee, Tad Anderson, Daniel Kaar

Related Topics: ColdFusion

ColdFusion: Article

Activedit 2.5 by

Activedit 2.5 by

Some time ago, when Homesite 1.0 was still my editor of choice (yes, that long ago), I had a problem with a client. A small-town newspaper editor wanted a wider audience - the Web.

Naturally, she knew nothing about HTML or FTP, and she wasn't about to learn. I thought, "Create a database." I could use an HTML form to collect the text and, voilà, instantly updated pages. But how could she format the text without learning <br> and <b>?

The boss nixed the idea as too expensive and time-consuming. I probably wasted enough time converting her text to do the database option twice. But I'm not paid to make the Big Decisions.

Actually, I couldn't get the problem out of my mind. A client with no other knowledge (except how to get online and how to use a word processor) needed to be able to create and edit HTML documents on a remote server. The only solution is a Web-based WYSIWYG editor that can save in HTML.

Problem solved. Activedit 2.5 from does the trick. You get a fully functional HTML editor that you just plug into a form.

Installing Activedit
If you have access to your own server, or if your Web space provider is nice enough to install it, you'll be in business fast. Note: To use the spell-check feature, you'll need a Java Virtual Machine (the documentation recommends the Java 2 Runtime                        .Environment, available at

Even if you don't have access to your server's custom tags folder, you can still use Activedit. Simply upload the activedit.cfm file to the folder where you'll be using it. You'll also need to upload the /inc folder that contains support files.

In my test I used the nonserver method at my host. As far as I could see, there was no discernible difference in performance.

Using Activedit
Activedit is a CF custom tag that you include in any CF form page. It creates a text editor inside your form. Activedit, at its simplest, looks like this:

<cf_activedit fieldname="contents"

To explain what you're seeing: "fieldname" is simply that - the name of the form field. That fieldname gets passed, HTML code and all, into your form handler; "inc" is the folder containing Activedit's components and image files. If you want to include some predefined input, it can be inserted via a CF variable. Other attributes allow you to modify the toolbar or enable and disable different options.

From this point, assuming you don't need to allow image uploading or spell checking, you can use the basic tag as if it were a <textarea> form tag. Add an appropriate CFFILE tag in your form handler, like so:

<cffile action="write" file="#destination_dir#\content.html" nameconflict="overwrite" output="#form.contents#">

Now you have a perfectly usable HTML editor inside your form that writes to a static HTML page. Of course, you can also save the results into a memo field in your database or to an e-mail. You may want to include a validator to extract any potentially harmful code. I was able to paste a little JavaScript into my form. Setting "alloweditsource=no" would probably take care of it.

On the other hand, your more savvy clients may appreciate being able to add tables and hyperlinks.

Unfortunately, space doesn't permit me to go into all the details of this product. I haven't even touched on the Java-based spell checker or image uploading.

Who can best use this? Honestly, if you maintain a Web site, whether your own or a few dozen for your clients, Activedit can dramatically alter the way you do business. Imagine a Web site like the one I mentioned at the outset: a newspaper editor needs weekly (maybe daily) updates. Imagine she can edit her site online and you never have to hear from her (except for the checks). Or imagine sending formatted HTML e-mails using your client database. Imagine a Web site where users can browse and create and maintain their own personal Web pages without ever calling or e-mailing you.

Is Activedit worth it? If you want hassle-free content management and reduced customer hand-holding, it's the way to go. But to me, just the "wow" factor would be worth the money.

Activedit 2.5
Address: 181 Genesee Street
Suite 500
Utica, NY 13501
Phone: 800 791-1916
Test Environment: NT4 server with IIS and CF4.5
Pricing: I tested an open source version with spell checker for $475. The basic ColdFusion version is $99 ($175 with spell checker).

More Stories By Carey Lilly

Carey Lilly is an associate with a Web site– development firm based in the New York area. He has been developing with ColdFusion since 1997 and has 10 years’ experience with relational databases.

Comments (4) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Most Recent Comments
Alexandru COSTIN 11/27/03 08:23:43 AM EST

We have a very powerful editor that works perfectly on MAC, and also include a lot of improvements over the ActiveState editor
- we have live property inspector like in Dreamweaver (change image and table properties visually)
- we have intuitive image management
- we have spellchecker
- we support MACs

Our product has also a better pricing scheme.


cam 03/12/03 11:27:00 AM EST

Does 3.0 work on Mac? CF Dev has very little updated on the new version in terms of documentation on its site.

Matt 12/23/02 10:43:00 AM EST

currently, nope

Tom Durkin 08/30/02 04:30:00 PM EDT

Will it work on a Mac?

@ThingsExpo Stories
Countless business models have spawned from the IaaS industry – resell Web hosting, blogs, public cloud, and on and on. With the overwhelming amount of tools available to us, it's sometimes easy to overlook that many of them are just new skins of resources we've had for a long time. In his general session at 17th Cloud Expo, Harold Hannon, Sr. Software Architect at SoftLayer, an IBM Company, broke down what we have to work with, discussed the benefits and pitfalls and how we can best use them to design hosted applications.
The Internet of Everything is re-shaping technology trends–moving away from “request/response” architecture to an “always-on” Streaming Web where data is in constant motion and secure, reliable communication is an absolute necessity. As more and more THINGS go online, the challenges that developers will need to address will only increase exponentially. In his session at @ThingsExpo, Todd Greene, Founder & CEO of PubNub, exploreed the current state of IoT connectivity and review key trends and technology requirements that will drive the Internet of Things from hype to reality.
Two weeks ago (November 3-5), I attended the Cloud Expo Silicon Valley as a speaker, where I presented on the security and privacy due diligence requirements for cloud solutions. Cloud security is a topical issue for every CIO, CISO, and technology buyer. Decision-makers are always looking for insights on how to mitigate the security risks of implementing and using cloud solutions. Based on the presentation topics covered at the conference, as well as the general discussions heard between sessions, I wanted to share some of my observations on emerging trends. As cyber security serves as a fou...
With all the incredible momentum behind the Internet of Things (IoT) industry, it is easy to forget that not a single CEO wakes up and wonders if “my IoT is broken.” What they wonder is if they are making the right decisions to do all they can to increase revenue, decrease costs, and improve customer experience – effectively the same challenges they have always had in growing their business. The exciting thing about the IoT industry is now these decisions can be better, faster, and smarter. Now all corporate assets – people, objects, and spaces – can share information about themselves and thei...
The cloud. Like a comic book superhero, there seems to be no problem it can’t fix or cost it can’t slash. Yet making the transition is not always easy and production environments are still largely on premise. Taking some practical and sensible steps to reduce risk can also help provide a basis for a successful cloud transition. A plethora of surveys from the likes of IDG and Gartner show that more than 70 percent of enterprises have deployed at least one or more cloud application or workload. Yet a closer inspection at the data reveals less than half of these cloud projects involve production...
Discussions of cloud computing have evolved in recent years from a focus on specific types of cloud, to a world of hybrid cloud, and to a world dominated by the APIs that make today's multi-cloud environments and hybrid clouds possible. In this Power Panel at 17th Cloud Expo, moderated by Conference Chair Roger Strukhoff, panelists addressed the importance of customers being able to use the specific technologies they need, through environments and ecosystems that expose their APIs to make true change and transformation possible.
Microservices are a very exciting architectural approach that many organizations are looking to as a way to accelerate innovation. Microservices promise to allow teams to move away from monolithic "ball of mud" systems, but the reality is that, in the vast majority of organizations, different projects and technologies will continue to be developed at different speeds. How to handle the dependencies between these disparate systems with different iteration cycles? Consider the "canoncial problem" in this scenario: microservice A (releases daily) depends on a couple of additions to backend B (re...
Too often with compelling new technologies market participants become overly enamored with that attractiveness of the technology and neglect underlying business drivers. This tendency, what some call the “newest shiny object syndrome” is understandable given that virtually all of us are heavily engaged in technology. But it is also mistaken. Without concrete business cases driving its deployment, IoT, like many other technologies before it, will fade into obscurity.
Container technology is shaping the future of DevOps and it’s also changing the way organizations think about application development. With the rise of mobile applications in the enterprise, businesses are abandoning year-long development cycles and embracing technologies that enable rapid development and continuous deployment of apps. In his session at DevOps Summit, Kurt Collins, Developer Evangelist at, examined how Docker has evolved into a highly effective tool for application delivery by allowing increasingly popular Mobile Backend-as-a-Service (mBaaS) platforms to quickly crea...
The Internet of Things is clearly many things: data collection and analytics, wearables, Smart Grids and Smart Cities, the Industrial Internet, and more. Cool platforms like Arduino, Raspberry Pi, Intel's Galileo and Edison, and a diverse world of sensors are making the IoT a great toy box for developers in all these areas. In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists discussed what things are the most important, which will have the most profound effect on the world, and what should we expect to see over the next couple of years.
Growth hacking is common for startups to make unheard-of progress in building their business. Career Hacks can help Geek Girls and those who support them (yes, that's you too, Dad!) to excel in this typically male-dominated world. Get ready to learn the facts: Is there a bias against women in the tech / developer communities? Why are women 50% of the workforce, but hold only 24% of the STEM or IT positions? Some beginnings of what to do about it! In her Day 2 Keynote at 17th Cloud Expo, Sandy Carter, IBM General Manager Cloud Ecosystem and Developers, and a Social Business Evangelist, wil...
PubNub has announced the release of BLOCKS, a set of customizable microservices that give developers a simple way to add code and deploy features for realtime apps.PubNub BLOCKS executes business logic directly on the data streaming through PubNub’s network without splitting it off to an intermediary server controlled by the customer. This revolutionary approach streamlines app development, reduces endpoint-to-endpoint latency, and allows apps to better leverage the enormous scalability of PubNub’s Data Stream Network.
Apps and devices shouldn't stop working when there's limited or no network connectivity. Learn how to bring data stored in a cloud database to the edge of the network (and back again) whenever an Internet connection is available. In his session at 17th Cloud Expo, Ben Perlmutter, a Sales Engineer with IBM Cloudant, demonstrated techniques for replicating cloud databases with devices in order to build offline-first mobile or Internet of Things (IoT) apps that can provide a better, faster user experience, both offline and online. The focus of this talk was on IBM Cloudant, Apache CouchDB, and ...
Today air travel is a minefield of delays, hassles and customer disappointment. Airlines struggle to revitalize the experience. GE and M2Mi will demonstrate practical examples of how IoT solutions are helping airlines bring back personalization, reduce trip time and improve reliability. In their session at @ThingsExpo, Shyam Varan Nath, Principal Architect with GE, and Dr. Sarah Cooper, M2Mi’s VP Business Development and Engineering, explored the IoT cloud-based platform technologies driving this change including privacy controls, data transparency and integration of real time context with p...
I recently attended and was a speaker at the 4th International Internet of @ThingsExpo at the Santa Clara Convention Center. I also had the opportunity to attend this event last year and I wrote a blog from that show talking about how the “Enterprise Impact of IoT” was a key theme of last year’s show. I was curious to see if the same theme would still resonate 365 days later and what, if any, changes I would see in the content presented.
Cloud computing delivers on-demand resources that provide businesses with flexibility and cost-savings. The challenge in moving workloads to the cloud has been the cost and complexity of ensuring the initial and ongoing security and regulatory (PCI, HIPAA, FFIEC) compliance across private and public clouds. Manual security compliance is slow, prone to human error, and represents over 50% of the cost of managing cloud applications. Determining how to automate cloud security compliance is critical to maintaining positive ROI. Raxak Protect is an automated security compliance SaaS platform and ma...
The Internet of Things (IoT) is growing rapidly by extending current technologies, products and networks. By 2020, Cisco estimates there will be 50 billion connected devices. Gartner has forecast revenues of over $300 billion, just to IoT suppliers. Now is the time to figure out how you’ll make money – not just create innovative products. With hundreds of new products and companies jumping into the IoT fray every month, there’s no shortage of innovation. Despite this, McKinsey/VisionMobile data shows "less than 10 percent of IoT developers are making enough to support a reasonably sized team....
Just over a week ago I received a long and loud sustained applause for a presentation I delivered at this year’s Cloud Expo in Santa Clara. I was extremely pleased with the turnout and had some very good conversations with many of the attendees. Over the next few days I had many more meaningful conversations and was not only happy with the results but also learned a few new things. Here is everything I learned in those three days distilled into three short points.
DevOps is about increasing efficiency, but nothing is more inefficient than building the same application twice. However, this is a routine occurrence with enterprise applications that need both a rich desktop web interface and strong mobile support. With recent technological advances from Isomorphic Software and others, rich desktop and tuned mobile experiences can now be created with a single codebase – without compromising functionality, performance or usability. In his session at DevOps Summit, Charles Kendrick, CTO and Chief Architect at Isomorphic Software, demonstrated examples of com...
As organizations realize the scope of the Internet of Things, gaining key insights from Big Data, through the use of advanced analytics, becomes crucial. However, IoT also creates the need for petabyte scale storage of data from millions of devices. A new type of Storage is required which seamlessly integrates robust data analytics with massive scale. These storage systems will act as “smart systems” provide in-place analytics that speed discovery and enable businesses to quickly derive meaningful and actionable insights. In his session at @ThingsExpo, Paul Turner, Chief Marketing Officer at...