← Back to team overview

phpdevshell team mailing list archive

[Question #233054]: Reloading widget with viaAjax()

 

New question #233054 on PHPDevShell:
https://answers.launchpad.net/phpdevshell/+question/233054

My goal is to refresh a widget after a ajax call has been made.

Is it possible to (re)load a widget like this:

    public function viaAJAX() {
        $this->template->requestAjax('3279223325', 'widget1', 'data=Hello World&moredata=Foobar');
    }

If it is not possible: Is the best solution creating a new ajax request for it? Which doesnt have to be a problem at all, but I just want to prevent making more functions/calls as necessary.

Thanks in advance.

-- 
You received this question notification because you are a member of
PHPDevShell, which is an answer contact for PHPDevShell.