This forum has moved to a new location and is in read-only mode. Please visit to access the new location.


I want to create an AJAX handler function for updating only the user password "onUpdatePassword". What I'm trying to do right now is this:

  UserAccount::extend(function($component) {
        $component->addDynamicMethod('onUpdatePassword', function()  {

What should I do next? How do I pass form data and access components attributes and methods?

Last updated


You can simply override the AJAX handler in your page code, or from another component:

function onUpdatePassword()
    // Do custom stuff

    // Call the parent handler of the account component

1-2 of 2

You cannot edit posts or make replies: the forum has moved to