Re: DB_DataObject_FormBuilder and HTML_QuickForm_Controller. How to ?
| From: | arnaud sellenet bodin | Date: | Thu, 10 Nov 2005 19:07:15 +0000 |
| Subject: | Re: DB_DataObject_FormBuilder and HTML_QuickForm_Controller. How to ? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21877@lists.php.net to get a copy of this message | ||
Oh yes thank you very much. I had read that page some times but at that moment I wasn't into controller.
I'll try this. this afternoon I found a workaround making some kind of "transtyping" between HTML_QuickForm and HTML_QuickForm_Page (made a function that gets all the properties from an object $a, create an instance ($b) of another class that inherits from $a's class and copies all the properties from $a to $b). Was kinda ugly stuff, your solution looks more elegant and less memory-hungry.
Le 10 nov. 05, à 18:23, Justin Patrin a écrit :
On 11/10/05, arnaud sellenet bodin <demental@free.fr> wrote:Arnaud Sellenet-Bodin Dév et dés http://demental.info Tel : 05 63 55 24 46 / | \Well it's all in the subject. I'd like to setup a wizard using HTML_QuickForm_Controller, and all my forms are generated with DBDOFB. But I can't figure out how to make those two work together. Any idea ?There's a small page about this in the docs: http://opensource.21st.de/35.html Also, search the mailing list archives. I know this has been asked before. -- Justin Patrin -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php \ | /