[cgiapp] submit returns allways to the same run mode.
Erez David
introx at gmail.com
Sun Mar 14 04:42:29 EDT 2010
Hi,
In my application I have few run modes (Each run mode represent a different
tab in the application) but whenever I press the submit button of one of the
tabs, It qllways bring me back to the first run mode which I have defined in
the setup by calling the start_mode method.
sub setup {
my $self = shift;
$self->start_mode('builder_project');
$self->mode_param('rm');
$self->run_modes(
'builder_project' => 'builder_project_tab',
'builder_users' => 'builder_users_tab',
'builder_dir_structure' => 'builder_dir_structure_tab',
In the html of this tab I have the following form tag: <form name=conf
method="post" action="?rm=configuration">
More information about the cgiapp
mailing list