Template Flexy problem

From: Date: Fri, 02 Jan 2004 05:02:18 +0000
Subject: Template Flexy problem
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9899@lists.php.net to get a copy of this message
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?

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