Re: Anyone used Quickform with the "dispatch" model - one page with conditional includes ?
| From: | arnaud sellenet bodin | Date: | Fri, 21 Oct 2005 15:33:51 +0000 |
| Subject: | Re: Anyone used Quickform with the "dispatch" model - one page with conditional includes ? | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21580@lists.php.net to get a copy of this message | ||
First I want to thank you for your help I can see you're very active on this list but...
I'm not sure to understand what you mean.
Instead of updating the action attribute inside each page object (as shown in my last message), I tried to do it in the actiondisplay object :
class ActionDisplay extends HTML_QuickForm_Action_Display
{
function _renderForm(&$pg)
{
global $page;
$pg-updateAttributes(array("action"=>"?".PAGE_DISPLAY_VAR."=".$page));
.......
But it makes no change. The only way I found for the moment to make it work is hack the HTML_QuickForm_Action_Jump object in the original distribution, which is obviously very bad.