in reply to How do you use HTML::Widget::Plugin::Combo;

You read
perldoc HTML::Widget::Plugin::Combo
perldoc HTML::Widget::Plugin
perldoc HTML::Widget
perldoc HTML::Widget::Plugin::Select
? My guess is http://search.cpan.org/src/RJBS/HTML-Widget-Factory-0.059/t/select.t
  • Comment on Re: How do you use HTML::Widget::Plugin::Combo;

Replies are listed 'Best First'.
Re^2: How do you use HTML::Widget::Plugin::Combo;
by Just in (Sexton) on Sep 07, 2007 at 01:45 UTC
    Yeah well . . . I'll continue looking at the .pm and .t but it still doent help. The .t is convoluted with isa calls that are throwing me off . . .
      Stop looking and read docs :)

      From the test

      { # make a select field with AoA options my ($html, $tree) = widget(select => { options => [ [ '' => 'Flavorless', ], [ minty => 'Peppermint', ], [ perky => 'Fresh and Warm', ], [ super => 'Red and Blue', ], ], name => 'flavor', value => 'minty', });
      for you to try
      { my $factory = HTML::Widget::Factory->new(); my $html = = $factory->combo({ id => 'required', options => [ [ '' => 'Flavorless', ], [ minty => 'Peppermint', ], [ perky => 'Fresh and Warm', ], [ super => 'Red and Blue', ], ], name => 'flavor', value => 'minty', });