src-dev/Mouf/Controllers/MoufAjaxInstanceController.php
public function index($name, $selfedit = false) {
		$this->initController($name, $selfedit);

		$this->template->getWebLibraryManager()->addLibrary(new WebLibrary(["vendor/mouf/javascript.ace/src-min-noconflict/ace.js"]));
		
		$this->contentBlock->addFile(dirname(__FILE__)."/../../views/instances/viewInstance.php", $this);
		$this->rightBlock->addText("<div id='instanceList'></div>");
		$this->template->toHtml();	
	}
public function index($name, $selfedit = false) {
		$this->initController($name, $selfedit);

		$this->template->getWebLibraryManager()->addLibrary(new WebLibrary(["vendor/mouf/javascript.ace/src-min-noconflict/ace.js"]));
		
		$this->contentBlock->addFile(dirname(__FILE__)."/../../views/instances/viewInstance.php", $this);
		$this->rightBlock->addText("<div id='instanceList'></div>");
		$this->template->toHtml();	
	}
public function index ( $ name , $ selfedit = false ) { $ this -> initController ( $ name , $ selfedit ) ; $ this -> template -> getWebLibraryManager ( ) -> addLibrary ( new WebLibrary ( [ "vendor/mouf/javascript.ace/src-min-noconflict/ace.js" ] ) ) ; $ this -> contentBlock -> addFile ( dirname ( __FILE__ ) . "/../../views/instances/viewInstance.php" , $ this ) ; $ this -> rightBlock -> addText ( "<div id='instanceList'></div>" ) ; $ this -> template -> toHtml ( ) ; }
Displays the page to edit an instance.

@Action
@Logged

@param string $name the name of the component to display
@param string $selfedit If true, the name of the component must be a component from the Mouf framework itself (internal use only)
Displays the page to edit an instance .