Railo Ajax changes in 3.1.2.009

March 24, 2010 · By webrat · 4 Comments

This is a great example of how a project moves from the community into the core of Railo. Starting with version 3.1.2.009 (Bleeding Edge Release), Railo will include the core ajax tags and javascript library. This means that the following tags will be available by default:

  • CFAJAXPROXY
  • CFAJAXIMPORT
  • CFDIV

Railo Ajax project has been broken into what we call CORE and UI. Core means that it will ship with the Railo codebase. UI means that you will be able to further extend your Railo server by downloading additional extensions (cfwindow, cfmap, cflayout) from http://railoajax.org/provider.cfc or http://railoajax.org/extensionProvider.cfc. Please note, when you use the providers listed, you will see 2 Railo Ajax Projects. One is for Railo builds prior to 3.1.2.009 and the other is for builds 3.1.2.009 and after.

So, the recommend steps for upgrading is:

  1. Upgrade to Railo 3.1.2.009
  2. Remove any previous railoajax instance.
  3. Restart Railo ( http://{your host name}/railo-context/admin/server.cfm?action=services.restart )
  4. Re-install Railoajax (UI, if needed) from http://railoajax.org/extensionProvider.cfc USING VERSION >=3.1.2.009

Please give Andrea Campolonghi feedback on the Railo-Beta mailing list!

Tags: Community · Railo 3.1.2 · Testing

4 responses so far ↓

  • 1 Sebastiaan // Mar 25, 2010 at 2:08 PM

    Andrea, maybe an idea to test the CFImagemanager:

    Coldfusion Image Manager Version 1.0 - http://www.cfimagemanager.com - © 2009
    Developed by Tony Bentley - http://tonybentley.com

    with this new version of Railo and see if it works. I couldn't get it to work and I think it's a combination of my setup and not fully supporting all the tags used in cfimagemanager.
  • 2 Sebastiaan // Mar 25, 2010 at 2:09 PM

    Here's an example:

    <cfajaximport tags="cfajaxproxy">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "getCategories">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "getrow">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "postimg">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "delete_entry">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "postcat">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "catImages">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "PicSort">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "newCat">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "CatSort">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "CatEdit">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "imgDims">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "Rotate">
    <cfajaxproxy cfc = "#client.compath#" jsclassname = "cropimg">
  • 3 Andrea Campolonghi // Apr 12, 2010 at 8:37 PM

    @Sebastian
    Sorry for answering so late.
    I will test teh example in the next days and I will confirm.

    Andrea
  • 4 Andy Sandefer // Apr 12, 2010 at 9:21 PM

    This is a real game changer! I had avoided putting any of our clients on Railo due to my extremely heavy use of CFAJAXPROXY. I will definitely be looking into using Railo as soon as I've had a chance to install and test. Thanks a lot for this and keep up the great work!

Leave a Comment

Leave this field empty: