Entries Tagged as 'ajax'

Railo Ajax 0.5.1.4

Posted By Andrea Campolonghi | Posted in railo , cfml , Railo Ajax , javascript , ajax | Posted on Oct

7

This version of RailoAjax starts the support of functions not strictly related to a tag or to a UI object like tabs or windows.

Firsts functions to be supported are:

Railo.Ajax.submitForm
(formId,url,callbackhandler[,errorhandler,httpMethod,asynch,returnFormat,beforeSend])

You can use this fucntions to ask a form to be ajax submitted at any time with no need to trigger the submit event.

Railo.Ajax.ajaxForm
(formId[,target,callbackhandler,errorhandler,returnFormat,beforeSend])

This function is used to configure a form to be submitted in ajax mode. The main difference with the previous one is that in this case the form will be submitted in ajax mode in any case, and not only when invoked by the function itself.

Railo.Ajax.navigate is on development stage.

RailoAjax core is jquery free.

Posted By Andrea Campolonghi | Posted in railo , cfml , Railo Ajax , javascript , ajax | Posted on Sep

To make library lighter, especially for core usage, I have removed the jQuery dependency from the core RailoAjax library. What does this mean ??

Core tags like cfajacproxy or cfdiv do not use any UI lib and they rely on the lonely RailoAjax library. Up to version 0.5.1 some task like binding and xhr calls where made with the jQuery help and we were forced to load jQuery in any page.

From version 0.5.1.1 ( already available ) RailoAjax is free from jquery dependency:

XHR

You can now use RailoAjax as a XHR utility:

var x = new Railo.XHR() ;
x.request({
url : url,
success:....
});

DOM Events

Dom event binding can be added like this:

]Railo.Util.addEvent(dom element, event, callback );

Btw I decide to keep one dependency in RailoAjax that is Sizzle.js.

Sizzle is the most powerfull selector engine out there. Sizzle is fast, flexible and come from jQuery core.

Check out docs if you like.

You can use sizzle just as you were used to use jQuery selector:

var element = Sizzle('#myId');

Of course Sizzle return array of dom elements and not jQuery Objects.

Railo Ajax 0.5.0.3

Posted By Andrea Campolonghi | Posted in railo , Railo Ajax , coldfusion , ajax | Posted on Sep

I have just updated the RailoAjax extension provider with the new release. Many bugs have been fixed and a started cflayout ( just for tab up to now ) has been added to the demo page. Please let me have yur feedbacks, bugs, suggestions etc...

You can grab a copy from svn repository or use the following extension provider:

Svn

AndreaCfm Extension Provider : http://www.andreacfm.com/railoEx/andreacfm.cfc

From Railo preview server : http://preview.getrailo.org/ExtensionProvider.cfc

Change log:

0.5.0.3
-------------------------------
* Cflayout-tab binding.
* Added support for tab add,hide,remove.
* Support for tab custom styling.
* Defined demo structure
* Bug fixing.
* Started docs in wiki.getrailo.org.

0.5.0.2
-------------------------------
* Added cflayout tab initial support.

0.5.0.1
-------------------------------
* New examples in demo pages.
* Support for context root deployment.

Railo Ajax Extension Provider

Posted By Andrea Campolonghi | Posted in railo , Railo Ajax , ajax | Posted on Aug

I have created a Railo extension provider from my website. For the moment the only application you can install is the Railo Ajax Project that is also available from the http://preview.getrailo.org/ExtensionProvider.cfc provider.

So now you have more choice... and I had the occasion to go deeper into railo extensions programming...

Just add this url in the providers list of your Railo Admin ( server or web ) :

http://www.andreacfm.com/railoEx/andreacfm.cfc

Verify the provider and then you will find the Railo Ajax application available in the applications list. Run the install thread that will also install some demo into yoru webroot.

IMPORTANT:

If you have already installed the extension from the http://preview.getrailo.org/ExtensionProvider.cfc provider stay with that. I will update both the providers with new versions at the same time but as the providers are different and the extension have the same id some conflict is possible. Just choose one provider.

Railo Ajax Extension 0.5 now available from Railo Admin

Posted By Andrea Campolonghi | Posted in railo , ajax | Posted on Aug

Some moths ago I started to work on a project to create Railo support for ajax tags. The idea was to implement CfAjaxProxy using the new custom tag based on cfc format that Railo makes available.

We decided to use jQuery as library to work on. I have a good feeling with it and we kept the door opened also for UI tags implementation. Things went quite well and I am particulary happy of the Bind system that manage cfc/url and javascript bindings.

I have also added support for cfdiv and for testing purposes also of cfwindow and cfajaximport ( this is really more as internal use for now ). Installing the Railo Ajax Extension you will also have the option to install a demo page that I will make more explicative in the next days. New examples, comments and notes are on the way.

You can find install isntructions here while project is actually hosted here. Please use assembla site for tickects and any other support needs. You can also post on the railobeta Google Group.

A special thanks to the Gert that hepled me a lot in writing the Railo Extension ( a post/tutorial is on the way ).