Re: [PEPr] Comment on HTML::HTML_QuickForm_ElementTable
| From: | Justin Patrin | Date: | Wed, 24 May 2006 14:43:51 +0000 |
| Subject: | Re: [PEPr] Comment on HTML::HTML_QuickForm_ElementTable | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42594@lists.php.net to get a copy of this message | ||
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: IMHO ... I would have overloaded getvalue, only In this way exportValues returns [elementTable] => Array ( <rows values> ) 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 elementThe 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. -- Justin Patrin