Re: HTML_QuickForm_Controller, dynamic fields and templates
| From: | Alexey Borzov | Date: | Mon, 12 Sep 2005 07:01:17 +0000 |
| Subject: | Re: HTML_QuickForm_Controller, dynamic fields and templates | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20915@lists.php.net to get a copy of this message | ||
Hi,
Brad Hubbard wrote:
Questions: What is the best way to assign the template page to be used at runtime? Do I need to define my own ActionDisplay class or can I accomplish the template rendering from within the second page class? Any examples would be much appreciated.You actually won't be able to alter the output without creating a subclass of Action_Display, since it is the only place where form output is done within QFC. Examples are installed alongside the package, in particular regWizard.php and upload.php will be of interest. The latter uses ITDynamic renderer.