RE: [PEAR] Template-based renderers with QuickForm_Controller?(PART III)

From: Date: Wed, 07 Apr 2004 17:14:06 +0000
Subject: RE: [PEAR] Template-based renderers with QuickForm_Controller?(PART III)
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11719@lists.php.net to get a copy of this message
Bertrand you are the men! Thank you very much for your help and patience. "Try harder!" was the key :-) $page->accept($renderer) BEFORE $page->assign(); Indeed worked! -----Original Message----- From: Bertrand Mansion [mailto:bmansion@mamasam.com] Sent: Wednesday, April 07, 2004 11:08 To: mvolkov@amplifiedinc.com; pear-general@lists.php.net Subject: Re: [PEAR] Template-based renderers with QuickForm_Controller?(PART III) <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 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#11719) next »