NAME

Catalyst::Plugin::Ajax - Plugin for Ajax

SYNOPSIS

# use it
use Catalyst qw/Ajax/;

# ...add this to your tt2 template...
[% c.ajax.library %]

# ...and use the helper methods...
<div id="view"></div>
<textarea id="editor" cols="80" rows="24"></textarea>
[% uri = base _ 'edit/' _ page.title %]
[% c.ajax.observe_field( 'editor', uri, 2, 'view', 'body' ) %]

DESCRIPTION

Some stuff to make Ajax fun.

This plugin replaces Catalyst::Helper::Ajax.

METHODS

ajax

Returns a ready to use L<HTML::Ajax> object.

SEE ALSO

Catalyst::Manual, Catalyst::Test, Catalyst::Request, Catalyst::Response, Catalyst::Helper

AUTHOR

Sebastian Riedel, sri@oook.de

LICENSE

This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.