Re: Re: [PEPr] Comment on HTML::HTML_QuickForm_ElementTable
| From: | Justin Patrin | Date: | Wed, 24 May 2006 15:33:25 +0000 |
| Subject: | Re: Re: [PEPr] Comment on HTML::HTML_QuickForm_ElementTable | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42598@lists.php.net to get a copy of this message | ||
On 5/24/06, Philippe Jausions <Philippe.Jausions@11abacus.com> wrote:
Justin Patrin wrote: On 24 May 2006 08:37:04 -0000, Fabio Ambrosanio <fabio@ambrosanio.com> wrote:True, but I still think ElementTable is better because it evokes a table of elements. Just Table makes it sound like it's a static table (to me).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.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
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.It certainly could be with an element template set. -- Justin Patrin