Re: QuickForm 3.1 issue??
| From: | Bertrand Mansion | Date: | Wed, 23 Jul 2003 09:47:46 +0000 |
| Subject: | Re: QuickForm 3.1 issue?? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6756@lists.php.net to get a copy of this message | ||
<mikeatwork@ukonline.co.uk> wrote :
> 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
Upgrade your HTML_Common version to 1.2.1
Bertrand Mansion
Mamasam