Re: Template-based renderers with QuickForm_Controller?(PART III)
| From: | Bertrand Mansion | Date: | Wed, 07 Apr 2004 15:07:38 +0000 |
| Subject: | Re: Template-based renderers with QuickForm_Controller?(PART III) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11705@lists.php.net to get a copy of this message | ||
<mvolkov@amplifiedinc.com> wrote :
> $page->accept($renderer);
>
> Did not make any difference.
Just look at the code you wrote without the controller and do the same in
the _renderForm() method of the display action, by using $page instead of
$form.
For example, you will notice that $page->accept($renderer) is placed before
assign()... I think you should try harder ;)
FYI the renderer is using the visitor pattern.
Bertrand Mansion
Mamasam