Re: Quickform and templates

From: Date: Mon, 24 Feb 2003 15:20:58 +0000
Subject: Re: Quickform and templates
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13757@lists.php.net to get a copy of this message
<jeroen@terena.nl> wrote : > Hi, > > I'm currently using quickforms and templates again (Smarty) and when the > pages get a bit more complicated the toArray() method doesn't quite cut > it anymore. Especially with selects it gets messy because the array > doesn't contain the possible values. Can you send your code, I'll have a look. > How do others work with templates and quickforms? > Bertrand, do you have a cunning plan yet for bridging templates and > QuickForm? Yep, I will but I am waiting to have the last version of IT in PEAR... And it looks like this is taking more time than I thought it would ;) My strategy will be to make a bridge object that will call different methods in different containers. Some kind of object delegation could be needed here. I plan a container for IT followed by one for Smarty, I'll probably need help for this one. I might also create a Matrix container that will put form elements into a matrix layout (some kind of table probably). It would be cool if QuickForm could switch from one container to another in the same form. In terms of timing, I won't be able to code it this week as I have a job to finish. I'll probably start next weekend. I hope it will rain ;) Bertrand Mansion Mamasam

« previous php.pear.dev (#13757) next »