Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > b1002f082322b58f411f2ec622ba7285 > files > 15

perl-Catalyst-Plugin-Prototype-1.330.0-2mdv2010.0.noarch.rpm

NAME
    Catalyst::Plugin::Prototype - Plugin for Prototype

SYNOPSIS
        # use it
        use Catalyst qw/Prototype/;

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

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

DESCRIPTION
    Some stuff to make Prototype fun.

    This plugin replaces Catalyst::Helper::Prototype.

  METHODS
   prototype
        Returns a ready to use L<HTML::Prototype> 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.