$criteria = array();
$this->getFrontController()->setParam('noViewRenderer', TRUE);
$view = $this->getView();
$form = $this->getForm('detail');
$form->setAction('update');
$view->form = $form;
$request = $this->getRequest();
$criteria['id'] = $request->getParam('id');
// You didnt supply $criteria['id'] as an argument into
findDetailMailData(). Instead you supplied the whole Array. Change this line
to $mailDataArray = $mailDelivery->findDetailMailData($criteria['id')
instead.
$mailDataArray = $mailDelivery->findDetailMailData($criteria);
$view->detail = $mailDataArray;
Hope this helps :)
-----
dee
--
View this message in context:
http://www.nabble.com/hidden-form-value-null-problem-tp21155700p21156967.html
Sent from the Zend Framework mailing list archive at Nabble.com.