RE: [PEAR] Template_flexy + QuickForm problem: hidden formfieldgets overwritten with bad value

From: Date: Fri, 08 Aug 2003 17:51:23 +0000
Subject: RE: [PEAR] 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-7116@lists.php.net to get a copy of this message
I'll do that. Thanks! Andy > -----Original Message----- > From: Ron McClain [mailto:mixtli@cats.ucsc.edu] > Sent: Thursday, August 07, 2003 11:52 AM > To: Andy Crain > Cc: pear-general@lists.php.net > Subject: Re: [PEAR] Template_flexy + QuickForm problem: hidden > formfieldgets overwritten with bad value > > 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. > >Andy > > > > > > > >>-----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 had > >> > >> > >a > > > > > >>chance 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 dropped > >> > >> > >automatic > > > > > >>QuickForm integration, with the renderer available for cases where > >>QuickForm is needed. Or is this behavior not in cvs and only planned > >> > >> > >for > > > > > >>the 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 > >>>>> > >>>>> > >replacing > > > > > >>>the > >>> > >>> > >>>>>implicit integration of QF. I was hoping for an easy way to > >>>>> > >>>>> > >>>intervene > >>> > >>> > >>>>>and add interact with QF from within my objects without having > >>>>> > >>>>> > >to > > > > > >>>alter > >>> > >>> > >>>>>the base QuickForm or Flexy classes, and as best I could tell > >>>>> > >>>>> > >(and > > > > > >>I > >> > >> > >>>>>definitely could be wrong) there was no interface for that. Now > >>>>> > >>>>> > >it > > > > > >>>>>sounds like I can take or leave QuickForm in my templates, and > >>>>> > >>>>> > >>>easily > >>> > >>> > >>>>>access its methods it if I do use it. I'll check out the CVS (I > >>>>> > >>>>> > >>had > >> > >> > >>>seen > >>> > >>> > >>>>>a link for the renderer earlier on the list but the link was > >>>>> > >>>>> > >>dead). > >> > >> > >>>>>Thanks! > >>>>> > >>>>> > >>>>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 > >>>> > >>>> > >>> > >>> > >>>-- > >>>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.php > >> > >> > > > > > > > > > > > > >

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