Re: potentially serious issue with QFC Jump action - hopefully I'm wrong
| From: | Alexey Borzov | Date: | Mon, 17 Nov 2003 09:22:01 +0000 |
| Subject: | Re: potentially serious issue with QFC Jump action - hopefully I'm wrong | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8983@lists.php.net to get a copy of this message | ||
Hi!
Greg Beaver wrote:
Any ideas on how to do the html display? It seems odd to do this in the buildForm() method, but I can't think of any other option.If you are asking where to display the page header, I'd say do this in custom subclass of HQA_Display, in _renderForm() method.
One thought that comes to mind is the possibility of adding a new public method to Quickform_Controller called preprocess() (or something) which would be called at the top of the page, and do any redirection that is needed. This would allow the display to happen at the run() point, without fear of headers being borked. If you like it, I'll open a feature request.You can open the feature request, but (looking at the crystal ball) it will most probably be closed with "Won't fix". ;] The problem with this preprocess() method is that it will behave exactly like run().