Correction:
$self->mode_param('rm');
$self->run_modes(
On Sun, Mar 14, 2010 at 10:42 AM, Erez David <[email protected]> wrote:
> 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">
>
##### CGI::Application community mailing list ################
## ##
## To unsubscribe, or change your message delivery options, ##
## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ##
## ##
## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ##
## Wiki: http://cgiapp.erlbaum.net/ ##
## ##
################################################################