in a view i'm trying to modify the content of a window with ajax
$.updateWindowContentWithAjax("gendocumento","<?php echo $this->url(array('module' => 'contratistas','controller'=>'Personal','action'=>'generarDocumento' ,'id'=> $this->personal['id']),NULL,true)?>");
the 'generarDocumento' action should print the id in the terminal with the 'error_log()' method
public function generarDocumentoAction(){
$this->_helper->layout->disableLayout();
$this->_helper->viewRenderer->setNoRender();
error_log($this->_getParam('id'));
}
but it doesn't do anything and in the terminal i get
[404]: /contratistas/Personal/generarDocumento/id/177