i am using Zend_Navigate like
http://code.google.com/p/anderson-sec-ims/source/browse/trunk/application/configs/navigation.php
...
$categories = new Zend_Navigation_Page_Mvc(array(
'label' => 'Categories',
'module' => 'lab',
'controller' => 'categories',
'action' => 'index',
'pages' => array($catAdd, $catEdit, $catDelete, $items)
));
$deptAdd = new Zend_Navigation_Page_Mvc(array(
'label' => 'Add',
'module' => 'lab',
'controller' => 'departments',
'action' => 'add'
));
$deptEdit = new Zend_Navigation_Page_Mvc(array(
'label' => 'Edit',
'module' => 'lab',
'controller' => 'departments',
'action' => 'edit',
'params' => array('id' => null)
));
$deptDelete = new Zend_Navigation_Page_Mvc(array(
'label' => 'Delete',
'module' => 'lab',
'controller' => 'departments',
'action' => 'delete',
'params' => array('id' => null)
));
$departments = new Zend_Navigation_Page_Mvc(array(
'label' => 'Departments',
'module' => 'lab',
'controller' => 'departments',
'pages' => array($deptAdd, $deptEdit, $deptDelete, $categories)
));
$lab = new Zend_Navigation_Page_Mvc(array(
'label' => 'Lab',
'module' => 'lab',
'pages' => array($departments),
'id' => 'lab'
));
$home = new Zend_Navigation_Page_Mvc(array(
'label' => 'Home',
'module' => 'default',
'id' => 'home'
));
$nav = new Zend_Navigation(array(
array(
'label' => 'IMS',
'controller' => 'index',
'action' => 'index',
'pages' => array(
$home, $lab, $library, $media, $misc, $reports
)
)
));
i cannot go to pages with params like edit and delete but i can go to pages
with params like categories.
please someone help!
--
View this message in context:
http://www.nabble.com/Zend_Navigation---Request-Parameters-tp23461294p23461294.html
Sent from the Zend Framework mailing list archive at Nabble.com.