QuickFormController jump not working properly for me :(
| From: | James Carr | Date: | Fri, 13 Jan 2006 15:03:30 +0000 |
| Subject: | QuickFormController jump not working properly for me :( | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22516@lists.php.net to get a copy of this message | ||
Although I'm hoping to work down a path to have one object that I
parameterize for next/back actions, right now I am fiddling with how QFC
works by adding actions that are consistent of whole classes. With no luck.
the back action works, but if I try to make a next action command class much
like the one found in the statemachine.php example, the damned thing just
keeps reloading the current page. If I change the nextPage handle method to
'display' rather than 'jump', it does work though. I'm confused because I
am
operating under the assumption that it isn't valid to just display the page,
that I must jump to it (as shown in the statemachine example).
What gives? My Next/Back classes are almost a carbon copy of the ones found
in statemachine.php, but with validation logic (of course) removed. I also
call get_class on the object reutrned by
$page->controller->getPage('assets') and it is indeed the correct page
object I was expecting.
I'm just frustrated... there is obviously SOMETHING I am missing.
Thanks,
JC