DataGrid with QFC (Page Controller) how-to?

From: Date: Fri, 15 Jul 2005 05:45:12 +0000
Subject: DataGrid with QFC (Page Controller) how-to?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20016@lists.php.net to get a copy of this message
Hi, maybe someone solved this problem. After submiting form and getting results in the grid, clicking column order links and paging links redirect me to file.php (see below - original form for querying) so, how to keep form values needed by DataGrid to work properly? file.php <?php class PageFirst extends HTML_QuickForm_Page { ... } class PageTwo extends HTML_QuickForm_Page { ... } class ActionProcess extends HTML_QuickForm_Action { function perform(&$page, $actionName) { /* DO logic, DataGrid logic */ $dg->bind($aCustomDataObject, array('formbuilder_integration' => true)); $dg->render(); echo $dg->renderer->getPaging(); } } // ActionProcess /* QFC instantiation logic */ $cont =& new HTML_QuickForm_Controller('test'); $cont->addPage(new PageFirst('page1')); $cont->addPage(new PageTwo('page2')); $cont->addAction('process', new ActionProcess()); $cont->run(); ?> Hernán _______________________________________________________________ Share diaries and photos with your friends and family. http://www.homemaster.net - Homemaster. Come Together. Online.

« previous php.pear.general (#20016) next »