NAME

CGI::Test::Form::Widget::Menu::Popup - A popup menu

SYNOPSIS

# Inherits from CGI::Test::Form::Widget::Menu
# $form is a CGI::Test::Form

my $action = $form->menu_by_name("action");
$action->select("reboot");

DESCRIPTION

This class models a popup menu, from which one item at most may be selected, and for which there is at least one item selected, i.e. where exactly one item is chosen.

If no item was explicitely selected, CGI::Test arbitrarily chooses the first item in the popup (if not empty) and warns you via logwarn.

INTERFACE

The interface is the same as the one described in CGI::Test::Form::Widget::Menu.

WEBSITE

You can find information about CGI::Test and other related modules at:

http://cgi-test.sourceforge.net

PUBLIC CVS SERVER

CGI::Test now has a publicly accessible CVS server provided by SourceForge (www.sourceforge.net). You can access it by going to:

http://sourceforge.net/cvs/?group_id=89570

AUTHORS

The original author is Raphael Manfredi <Raphael_Manfredi@pobox.com>.

Send bug reports, hints, tips, suggestions to Steven Hilton at <mshiltonj@mshiltonj.com>

SEE ALSO

CGI::Test::Form::Widget::Menu(3).