Re: Template_flexy + QuickForm problem: hidden formfieldgets overwritten with bad value
| From: | Ron McClain | Date: | Thu, 07 Aug 2003 15:52:25 +0000 |
| Subject: | Re: Template_flexy + QuickForm problem: hidden formfieldgets overwritten with bad value | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7095@lists.php.net to get a copy of this message | ||
Sorry about that, haven't had a chance to clear up the api
documentation yet.
Use setLabelTemplate() and setHtmlTemplate() instead. See docs/renderers/FlexyStatic_example.php for an example.
-Ron
Andy Crain wrote:
Still struggling getting the ObjectFlexy renderer going, but--and I could be wrong--it appears setRequiredTemplate() and setErrorTemplate() aren't defined. Andyreplacing-----Original Message----- From: Andy Crain [mailto:apcrain@fuse.net] Sent: Thursday, August 07, 2003 3:30 PM To: pear-general@lists.php.net Subject: RE: [PEAR] Template_flexy + QuickForm problem: hidden formfieldgets overwritten with bad value I'm sure I'm missing something, but I have gotten the latest from cvs for both QuickForm and Template_flexy, and although I haven't yet hadachance to do anything with the new Flexy renderer for QuickForm, I'm still having the same problem: without my doing anything to explicitly call QuickForm, Flexy is calling QuickForm and modifying my hard-coded form in my template, and it's still rewriting form field defaults with variables from the previous request. Am I missing something? I had thought the latest Flexy droppedautomaticQuickForm integration, with the renderer available for cases where QuickForm is needed. Or is this behavior not in cvs and only plannedforthe next release? Hoping I'm not missing something really basic, Andy-----Original Message----- From: Andy Crain [mailto:apcrain@fuse.net] Sent: Wednesday, August 06, 2003 12:54 PM To: 'Bertrand Mansion'; pear-general@lists.php.net Subject: RE: [PEAR] Template_flexy + QuickForm problem: hidden formfieldgets overwritten with bad value Will do, although it might be a week or so yet. Thanks, Andy-----Original Message----- From: Bertrand Mansion [mailto:bmansion@mamasam.com] Sent: Wednesday, August 06, 2003 3:48 AM To: Andy Crain; pear-general@lists.php.net Cc: 'Ron McClain'; 'Alan Knowles' Subject: Re: [PEAR] Template_flexy + QuickForm problem: hidden formfieldgets overwritten with bad value <apcrain@fuse.net> wrote :Alan, Ron and Bertrand, Thanks for the help. Glad to hear about the QF renderer
intervenetheimplicit integration of QF. I was hoping for an easy way to
and add interact with QF from within my objects without having
to
(andalterthe base QuickForm or Flexy classes, and as best I could tell
Iitdefinitely could be wrong) there was no interface for that. Now
hadeasilysounds like I can take or leave QuickForm in my templates, andaccess its methods it if I do use it. I'll check out the CVS (I
seendead).a link for the renderer earlier on the list but the link was
-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpThanks!Hi Andy, If you do use it, please report any problems, missing features, difficulties you find. Thanks, Bertrand Mansion Mamasam -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php