QFController processing
| From: | Mike Carter | Date: | Fri, 19 Dec 2003 09:46:56 +0000 |
| Subject: | QFController processing | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9701@lists.php.net to get a copy of this message | ||
Hi,
I have a process method defined which I call direct by linking a submit
button to a $this->getButtonName('process').
The process runs but I don't seem to have access to all the variables from
the pages.
I copied the following from the 'next' action class to ensure that the last
pages form values are placed in to the container before I then try to export
them.
$page->isFormBuilt() or $page->buildForm();
$pageName = $page->getAttribute('name');
$data =& $page->controller->container();
$data['values'][$pageName] = $page->exportValues();
$data['valid'][$pageName] = $page->validate();
I then call $values = $page->controller->exportValues(); but '$values'
doesn'tcontain everything from the previous page.
Why would this be? I could not find any information in the manual for the
'process' action requirements.
Regards,
--
Mike Carter
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________