Ver Mensaje Individual
  #10 (permalink)  
Antiguo 10/02/2011, 14:50
xtian87
 
Fecha de Ingreso: abril-2009
Ubicación: Lima
Mensajes: 108
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: Problema al mostrar mis vistas

estoy llamando asi:
http://project.zend/admin/Guestbook/index
este en mi controlador:
GuestbookController.php
Cita:
class GuestbookController extends Zend_Controller_Action
{

public function init()
{

}

public function indexAction()
{

}

public function signAction()
{
$request = $this->getRequest();
$form = new Application_Form_Guestbook();

if ($this->getRequest()->isPost()) {
if ($form->isValid($request->getPost())) {
$comment = new Application_Model_Guestbook($form->getValues());
$mapper = new Application_Model_GuestbookMapper();
$mapper->save($comment);
return $this->_helper->redirector('index');
}
}
$this->view->form = $form;
}
}
y en mi vista, index.phtml solo tengo esto: <p>jhkjhjkhjkhkj</p>