Re: QuickForm 3.1 issue??
| From: | Mike Carter | Date: | Wed, 23 Jul 2003 08:49:56 +0000 |
| Subject: | Re: QuickForm 3.1 issue?? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6754@lists.php.net to get a copy of this message | ||
Quoting Bertrand Mansion <bmansion@mamasam.com>:
> I hope for you that $jumpMenu is an instance of HTML_QuickForm_Renderer
> because setFormTemplate() will be removed from HTML_QuickForm in the next
> release. At the moment, it is deprecated in HTML_QuickForm, the one in the
> renderer should be used instead.
>
> Apart from that, I don't know why this would have changed between 3.0 and
> 3.1 as the code was left untouched AFAIK. Maybe try to upgrade HTML_Common
> if it's not already.
I too noticed the change from a string to an array for the form attributes. I
use the Smarty template to layout the Quickform data and had to use a {foreach}
to dump each of the form tags attributes when using the new QF 3.1
Regards,
Mike C.
--
http://www.buddasworld.co.uk
----------------------------------------------
This mail sent through http://www.ukonline.net