Re: DB_DataObject and Structures_DataGrid integration

From: Date: Wed, 11 Aug 2004 21:22:45 +0000
Subject: Re: DB_DataObject and Structures_DataGrid integration
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32568@lists.php.net to get a copy of this message
On Wed, 11 Aug 2004 15:46:12 -0500, Jackson Miller <jmiller@magazines.com> wrote: > On Wednesday 11 August 2004 03:28 pm, Justin Patrin wrote: > > Perfectly possible. I'd still like to use FormBuilder to do it, > > though. It's very feature-rich. Editing a single record in-line would > > be a snap with the QuickForm horiz renderer I made. Editing multiples > > at once will take a little more work. But we do have a patch to add > > prefixes to element names...we just have to get around to trying it > > out. > I am all for using an existing Form package. I have not used FormBuilder > (yet) but I have been using QuickForm for a long time. > Well, FormBuilder makes QuickForms for you based on the columns and config options in the DataObject, so it's another layer. Its first defining feature was creating select boxes for links. > If there was only one row to edit then I could see why horiz forms would work. > If we shoot for editing multiple rows at once then wouldn't it be better to > use element groups? > Yeah, one row, one form, that's easy (and should be supported). Multi-row editing *could* be done using groups, but again, FormBuilder will be confused. Hmmm, then again....I suppose you could have FB create the form, extract the elements, then put them in a group. On submit, loop through the groups and set them to $_POST so that FB can see them...a bit of a hack, but not that bad. The one problem here is you would lose all of your QF rules.... > -Jackson > > > > > > -- > > DB_DataObject_FormBuilder - The database at your fingertips > > http://pear.php.net/package/DB_DataObject_FormBuilder > > > > paperCrane --Justin Patrin-- > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

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