Here's the complete runmode for an interstitial:

sub wait_screen {
   my $self = shift;
   my $t = $self->load_tmpl('wait.tmpl',die_on_bad_params=>0);

   # Create Link to Actual Run Mode
   # This becomes a Meta refresh 
   my $URL = "report.cgi?rm=report_tsv";

   $self->header_props(-Refresh=>"1; URL=$URL");

   # pass in some values
   #     
   $t->param(
                    msg =>              'Your Report is being generated. Please wait.',
            );
   return $t->output;

}


=============================================================================
Fred Kleindenst                 [EMAIL PROTECTED]
Internet Platforms
310.302.3801 


-----Original Message-----
From: Kleindenst, Fred 
Sent: Thursday, April 01, 2004 11:37 AM
To: [EMAIL PROTECTED]
Subject: [cgiapp] Question on header_props and meta refresh


Hello all,

I'm am busy RTFM right now trying to get the syntax correct on the following:

I want to set the header of an HTML page I am returning so that it contains a meta 
refresh going to another runmode.

Why?  I plan to display page 1 that contians an interstitial message explaining a long 
load time for page 2.

Can anyone share their one line of code that does this, before I figure it out?

--Fred


=============================================================================
Fred Kleindenst                 [EMAIL PROTECTED]
Internet Platforms
310.302.3801 


-----Original Message-----
From: David Scott [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [cgiapp] Questions about CGI Application vrs CGI-Builder


Randall,

> 
> First, I like what I have seen so far of
> CGI::Application, however, I have seen documentation
> on the web that indicates CGI::Application has been
> superseeded by CGI-Builder. Is this true?
>

CGI::Application is designed to fit into many tool
environments.  It gives you object oriented control
over your screens.

I use CGI::FormBuilder and CGI.pm both in building
application screens.
 
> Assuming it isn't, what is the best form generation
> and validation tool/module to use with
> CGI::Application given that I already use TT2?

I find CGI::FormBuilder easy to use and it also fits
right into two common template tools in Perl.  I use
it almost transparently with CGI::Application.  When I
need some custom work, I can always use CGI.pm for
that part.

For commands ... you have to decide how you want to
manage it.  In one application I parse a file of
commands and then display results using
CGI::FormBuilder.  I use the upload feature to get the
file from the PC connected to the server.  Then I save
the command stream in a common data area that is
shared by all users who need to use that command
stream.

I use a separate object to manage parsing and
disemination of the data.

Sincerely,

David Scott

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[EMAIL PROTECTED]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to