>  I am facing an issue with run mode defaulting on form submission. Just 
> curious if someone has experienced a
> similar issue and have come with any solutions or workaround.
> 
>   Problem :
>      Missing CGI parameters on html form submissions

I'm honestly not sure what your problem is, but here's a suggestion that
in my opinion improves the code, and may help. 

In cgiapp_init, add this:

 $self->mode_param( path_info=> 1 );

Then in your form:

> <form action="" method=POST>
> <input type="hidden" name="rm" value="set_action"/>

You can move the 'rm' to the <form> action. I prefer this because it cleanly 
seperates your data from directives to used to process it. So, the new code
could be:

> <form action="script.cgi/set_action" method=POST>

I assume you actually do reference some script in "<form action>". If you
actually do have it left as "", I wouldn't be surprised if that's related to 
the IE bug.

I have built websites with CGI::App using the technique I describe and haven't 
run into what
you describe (Although I've run into plenty of other IE quirks in web 
development!)

    Mark

-- 
http://mark.stosberg.com/




#####  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/                 ##
##                                                            ##
################################################################

Reply via email to