[Catalyst] Feature request HTML::Widget

Sebastian Riedel sri at oook.de
Wed Feb 1 02:40:51 CET 2006


01.02.2006 02:24 Christopher H. Laco:

> Sebastian Riedel wrote:
>>
>> Am 01.02.2006 um 02:16 schrieb A. Pagaltzis:
>>
>>> * Sebastian Riedel <sri at oook.de> [2006-02-01 00:40]:
>>>>
>>>>    $widget->get_element('email')
>>>>
>>>> This wouldn't work because the following is valid.
>>>>
>>>>    my $w = HTML::Widget->new('foo');
>>>>    $w->element( 'Textfield', 'email' );
>>>>    $w->element( 'Textfield', 'email' );
>>>
>>> There’s no issue. You can just return a list with two elements in
>>> that case.
>>
>> get_element() would still be the wrong name.
>>
>> -- 
>> sebastian
>
> get_elements() :-)

What a wonderful idea, lets just do that! :)


--
sebastian




More information about the Catalyst mailing list