Hi Steve --

> The respective scripts and modules that I'm running are 
> attached to this
> message.

We didn't get them.  Please post the salient bits of your code in the body
of your message (as opposed to an attachment).


>  test.cgi and TestWebApp.pm work as expected.  When running
> test1.cgi, I never get to run mode 'mode1'.  The 'rm' 
> parameter never gets
> set to 'mode1', it is always 'mode0a', so this may be a CGI 
> problem and not
> a CGI::Application problem.  However, I thought I'd ask here 
> first to see if
> anyone has had similar problems or could give me any clues as 
> to what the
> problem is.  TIA.


Without seeing the code, I would hazard a guess (based on this description)
that you are having troubles setting the value of your hidden "mode"
parameter.  The most common mistake is failing to set the "override"
attribute in the hidden() method of CGI.pm.  Many people do this:

   $output .= $q->hidden(-name=>'rm', -value=>'new_mode');

 ...Instead of this:

   $output .= $q->hidden(-name=>'rm', -value=>'new_mode', -override=>1);


Look familiar?  Post your code, if this doesn't fix your problem.


-Jesse-



--

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  Jesse Erlbaum ....................... CTO
  [EMAIL PROTECTED] ............. Vanguard Media
  v: 212.242.5317 x115 ...... New York City
+-+-+-+-+-+- http://www.vm.com/ +-+-+-+-+-+-+


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to