Re: Template Flexy problem

From: Date: Fri, 02 Jan 2004 08:21:57 +0000
Subject: Re: Template Flexy problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9901@lists.php.net to get a copy of this message
<noroominhead@hotmail.com> wrote : > Using the existing QuickForm and flexy-static.html example as a starting > point, I have been creating a template for a form. I've created an html > quick form like so: > > $form = new HTML_QuickForm('location', 'POST',$view->action); > > Where I've confirmed that the action I'm passing is correctly formatted. > However, the following line in my template: > > {form.outputHeader():h} > > Results in the following output in the compiled html: > > <form Array> > > When I would expect it to output the form tag including name and attributes. > Checking the code for the quick form and ObjectFlexy class, I noticed that > the quick form object stores attributes as an array, but ObjectFlexy expects > a string. Therefore, when quick form hands off the attributes for > rendering, it would explain the results I see. > > Is there anyway to work around this, or am I missing something? Update your HTML_Common package. Bertrand Mansion Mamasam

« previous php.pear.general (#9901) next »