sfJqueryReloaded jq_remote_function callbacks

53 views
Skip to first unread message

ashton

unread,
Sep 13, 2010, 9:44:09 PM9/13/10
to sfJqueryReloadedPlugin
jq_remote_function does not seem to support many of the callbacks
listed in the documentation, specifically 'failure' (not
update_failure), and all status code callbacks (401, 404). I have
committed a working implementation of the 'failure' callback to
http://trac.symfony-project.org/log/plugins/sfJqueryReloadedPlugin/1.2/branches/ahonnecke.

It currently emulates the behavior that was in there for
update_success, in that the failure callback will overwrite the
update_failure callback.

Tom Boutell

unread,
Sep 13, 2010, 10:18:37 PM9/13/10
to sfjqueryrel...@googlegroups.com
You are welcome to add support for missing features of the original
prototype helpers, provided your code is well tested and does not
break compatibility with the current behavior of the jquery helpers.
Feel free to apply to be a developer on the plugin via its page on the
symfony site.

In the long run we encourage people to move away from using the
helpers at all, but we, like everyone else, have a lot of code we
haven't migrated yet (:

--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

ashton

unread,
Sep 15, 2010, 1:45:12 PM9/15/10
to sfJqueryReloadedPlugin
I've created a branch to develop in:
http://trac.symfony-project.org/browser/plugins/sfJqueryReloadedPlugin/1.2/branches/ahonnecke

I've committed changes to allow the 'failure' callback to work
(matching behavior against the documentation).
http://trac.symfony-project.org/changeset/30904

thanks!
ashton

On Sep 13, 8:18 pm, Tom Boutell <t...@punkave.com> wrote:
> You are welcome to add support for missing features of the original
> prototype helpers, provided your code is well tested and does not
> break compatibility with the current behavior of the jquery helpers.
> Feel free to apply to be a developer on the plugin via its page on the
> symfony site.
>
> In the long run we encourage people to move away from using the
> helpers at all, but we, like everyone else, have a lot of code we
> haven't migrated yet (:
>
> On Mon, Sep 13, 2010 at 9:44 PM, ashton <ahonn...@gmail.com> wrote:
> > jq_remote_function does not seem to support many of the callbacks
> > listed in the documentation, specifically 'failure' (not
> > update_failure), and all status code callbacks (401, 404).  I have
> > committed a working implementation of the 'failure' callback to
> >http://trac.symfony-project.org/log/plugins/sfJqueryReloadedPlugin/1.....
Reply all
Reply to author
Forward
0 new messages