[Html-widget] More POD patches
A. Pagaltzis
pagaltzis at gmx.de
Mon Jul 10 18:47:32 CEST 2006
Hi,
I just wasted half an hour trying to puzzle out the docs until I
decided to just read the code… hopefully these will save someone
else some time.
Sorry for the haphazard patch format, I’m in too much of a hurry
right now to do it more neatly.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
-------------- next part --------------
--- Widget.pm.orig 2006-07-10 18:38:27.000000000 +0200
+++ Widget.pm 2006-07-10 18:39:56.000000000 +0200
@@ -289,12 +289,10 @@
my $e = $widget->element( 'RadioGroup', 'name', ['foo', 'bar', 'baz'] );
$e->comment('(Required)');
$e->label('Foo');
- $e->checked('bar');
$e->value('bar');
This is a shortcut to add multiple radio buttons with the same name at the
-same time. See above. (Note that the C<checked> method has a different meaning
-here).
+same time. See above.
=item L<HTML::Widget::Element::Reset>
-------------- next part --------------
--- RadioGroup.pm.orig 2006-07-10 18:44:55.000000000 +0200
+++ RadioGroup.pm 2006-07-10 18:45:48.000000000 +0200
@@ -51,9 +51,9 @@
A list of options in key => value format. Each key is the unique id of an
option tag, and its corresponding value is the text displayed in the element.
-=head2 selected
+=head2 value
-A list of keys (unique option ids) which will be pre-set to "selected".
+A key (unique option id) which will be pre-set to "checked".
=cut
More information about the Html-widget
mailing list