Re: [PEPr] Comment on HTML::HTML_QuickForm_ElementTable

From: Date: Wed, 24 May 2006 15:14:58 +0000
Subject: Re: [PEPr] Comment on HTML::HTML_QuickForm_ElementTable
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42596@lists.php.net to get a copy of this message
Justin Patrin wrote: > On 24 May 2006 08:37:04 -0000, Fabio Ambrosanio <fabio@ambrosanio.com> > wrote: > >> Fabio Ambrosanio (http://pear.php.net/user/fabamb) has commented on >> the proposal for HTML::HTML_QuickForm_ElementTable. >> >> Comment: >> >> and it can be useful if you want to have two or more tables with the same >> elements and obviously different names, like with group element >> > > The elementTable is not supposed to be like a group. It is simply > supposed to be a table holding other elements which already have their > own names. > > It could possibly be a feature addition to make it behave like a group > and add its own name to the names of its sub-elements, but I find this > not particularly useful myself. I would suggest just adding any extra > name you want straight into the name of the elements you add to the > table. Seems like a nice QF element to add. I agree that the "element" in the "elementTable" name is kind of redundant. Although it probably means "table of elements" instead of "a table-shape element", "table" alone sounds better IMO. I'm wondering (and I haven't looked into that at all) if that table could be set to be scrollable within a <div>, when using the standard renderer. This would be great for large/long tables of elements. -Philippe

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