RE: [PEAR] QF Controller alternative renderer use
| From: | Mike Carter | Date: | Mon, 22 Sep 2003 15:19:35 +0000 |
| Subject: | RE: [PEAR] QF Controller alternative renderer use | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7975@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Alexey Borzov [mailto:borz_off@cs.msu.su]
>
> Hi!
>
> Mike Carter wrote:
> > Hi,
> >
> > What is the correct procedure for handling the definition of what
> > Quickform renderer I wish to use for my wizard?
>
http://pear.php.net/manual/en/package.html.html-quickform-controller.htm
l-quickform-action-display-summary.php
>
> Look at the tabbed.php file for an example.
Okay that seems fine, not as complicated as I expected.
Now that the rendering is all great and working I've found a problem
with the next/previous navigation.
Page 1 displays fine, click next, page 2 displays fine, click previous,
nothing is displayed. The 'ActionDisplay' doesn't even appear to get
called as my var_dump($page) within the _renderForm() is not outputting
anything.
What could cause this loss of page 1?
My $_SESSION['_registration_container'] contains:
array(4) { ["defaults"]=> array(0) { } ["constants"]=> array(0) { }
["values"]=> array(3) { ["step1"]=> array(3) {
["addressGroup"]=>
array(1) { ["address"]=> string(0) "" } ["postcodeGroup"]=>
array(1) {
["postcode"]=> string(8) "wa13 0el" } ["_qf_step1_next"]=>
string(6)
"Next >" } ["step2"]=> array(0) { } ["step3"]=> array(0) { }
}
["valid"]=> array(3) { ["step1"]=> bool(true) ["step2"]=>
bool(false)
["step3"]=> bool(false) } }
Does that hold any clues?
Regards,
Mike C
________________________________________________________________________
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
________________________________________________________________________