Beispiel #1
0
 public function executeView(sfWebRequest $request)
 {
     $this->node_form = new EtvaNodeForm();
     $this->node_tableMap = EtvaNodePeer::getTableMap();
     // parent extjs container id
     $this->containerId = $request->getParameter('containerId');
     // $this->request->setParameter('id', 1);
     // $this->request->setParameter('method', 'list_vms');
     //  $this->dispatcher->notify(new sfEvent($this, 'updatedsoap'));
     // $this->forward('node','soap');
     // WORKING!!!
     // CAN BE USED TO PERFORM EXTRA STUFF
     // $action = sfContext::getInstance()->getController()->getAction('node','soap');
     // $action = $this->getController()->getAction('node','soap');
     // $result = $action->executeSoap($this->request,1);
     // END WORKING
     // return sfView::SUCCESS;
     //sfContext::getInstance()->getController()->dispatch('somemodule', 'someaction');
 }
Beispiel #2
0
 public function executeView(sfWebRequest $request)
 {
     //used to make soap requests to node VirtAgent
     $this->node_id = $request->getParameter('id');
     // used to get parent id component (extjs)
     $this->containerId = $request->getParameter('containerId');
     // used to build node grid dynamic
     $this->node_tableMap = EtvaNodePeer::getTableMap();
     //maybe deprecated
     //used to build form to create new server with default values
     $this->server_form = new EtvaServerForm();
     // used to build server grid dynamic
     $this->server_tableMap = EtvaServerPeer::getTableMap();
     $this->sfGuardGroup_tableMap = sfGuardGroupPeer::getTableMap();
 }