[Catalyst] Feature request HTML::Widget

Christopher H. Laco claco at chrislaco.com
Wed Feb 1 02:24:15 CET 2006


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() :-)

It's not any more broken than getElementsByName() in the newer DOM...

-=Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060131/1154e1b1/signature.pgp


More information about the Catalyst mailing list