Re: QuickForm labels (again)
| From: | Alexey Borzov | Date: | Sun, 27 Apr 2003 05:22:39 +0000 |
| Subject: | Re: QuickForm labels (again) | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15591@lists.php.net to get a copy of this message | ||
Greetings!
Jon Wood wrote:
I probably was unclear, please excuse me. I essentially meant that I can add the changes from your HTML_QuickForm_Renderer_Default_Labels directly to current HTML_QuickForm_Renderer_Default (but without template changes). I need a usage example (which should include changing the templates) to illustrate new functionality.This looks good. I don't want to add this as a separate file, but if you have some usage examples ready, then I can patch current Default renderer and add matching functionality to ITDynamic.What would be the "standard" method of changing the default renderer, I'm using a class that wraps QuickForm, and overrides defaultRenderer to return a custom Default renderer, which has _elementTemplate and _headerTemplate set in it, instead of the normal one, but I'm sure there must be a less hacked way of doing it.