Home » Tag Archives: Ajax

Tag Archives: Ajax

How To Uninstall NetBeans On Ubuntu

Netbeans

The uninstallation process for NetBeans are very easy-1. Shut down the IDE.2. In the IDE installation directory, run the uninstall.sh file.3. To uninstall GlassFish and Tomcat together with the IDE, at the Summary page make sure that the correct versions are listed and check the appropriate checkboxes.4. At the Summary …

Read More »

How AJAX calls work with TWIG

Twig can load a template through AJAX.. The following details are below /var/www/html/my-project/src/AppBundle/Controller/DefaultController.php namespace AppBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; class DefaultController extends FrontendController { /** * Fetch data from ajax call. * @param Request $request * @Route("/xyz/{id}", methods={"GET"}) */ public function proAjaxAction(Request $request){ $this->view->id = $request->get('id'); } } …

Read More »

Custom Route in Pimcore 5

Pimcore

Custom routes are an alternative to Symfony’s routing functionalities. The following details are below /var/www/html/my-project/src/AppBundle/Controller/DefaultController.php namespace AppBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; class DefaultController extends FrontendController { /** * Fetch data from ajax call. * @param Request $request * @Route("/xyz/{id}", methods={"GET"}) */ public function proAjaxAction(Request $request){ $this->view->id = $request->get('id'); …

Read More »