Jeff MacDonald wrote:
Hi,
I've been using an internal CGI framework for the past few yers. We do
smething like this to draw a screen that is not taking data from the
user :
foo.cgi?a=sscreen=dataEntryForm
Which means action = s [draw a screen] and the screen is probably
somewhere like
Ed,
I think it's not saying that $authcode is undefined, it's saying that
$dbh is. Looking at:
my $dbh = $q-param( 'mydbh' );
Usually I store my database handle in the CGI::App object ($self), not
the CGI.pm query object ($q). Is it possible that you're doing the
same? Of course if
On Mon, 29 Nov 2004 12:08:25 -0600, Ed Pigg [EMAIL PROTECTED] wrote:
Hi all,
I've been knocking my head against an error I get from $dbh-quote and
I'm sure that I'm missing something obvious. I've just been looking at
the same thing too long. Here's the environment
Michael has already
Below I have pasted a run mode from one of my applications. The sub
grabs a report from a database and then returns it to the user. It
works fine under Firefox, but under IE I get a dialogue box asking
whether I want to save or open the file; if I choose to open the file it
isn't recognized as
Doublecheck to see if you can put a -name or something like that in
the headers. I'm don't exactly remember what it is. IE doesn't use the
-type parameter correctly, especially not versions prior to 6.0.1.
Rob
On Mon, 29 Nov 2004 11:49:13 -0800, Tim Howell [EMAIL PROTECTED] wrote:
Below I have
Below I have pasted a run mode from one of my applications. The sub
grabs a report from a database and then returns it to the user. It
works fine under Firefox, but under IE I get a dialogue box asking
whether I want to save or open the file; if I choose to open the file it
isn't
Hi,
First up. Sorry for the empty post sent earlier. Need more sleep ;)
I am using a series of 4 run modes for a module. Each of the first
3 modes displays an HTML template screen where a user could enter
data.
In each HTML::Template file, I have a hidden variable like so:
Kasturirangan Rangaswamy wrote:
Now, I want to add form validation for each of the first 3 mode
screens. I propose to do this using CGI::Application::ValidateRM.
This would mean introducing 3 'new' run modes for the sake of
processing those forms. I am unable to figure out a way where, if
On Nov 29, 2004, at 12:19 PM, Michael Peters wrote:
The error message doesn't mean that $authcode, $reqname, $created_ip
don't have values but that your $dbh is undefined. Test what you're
$dbh is before you call quote(). You're pulling it from the param()
but not checking to see if it's
Michael Graham wrote:
In addition to setting the type with the Content-Type header, you can
also set the filename with:
Content-Disposition: inline; filename=foo.xls
I think the header_add syntax would be:
$self-header_add(
-content_disposition = 'inline;
What I'm looking for is a method which i cause use 1 single runmode to
display any page in my system, [and let the pages more or less draw
them selves.] then other runmodes would only be used for doing
business logic, adding things to a database etc.. I thought of using
embedded perl with this..
Hi,
I am sequentially accessing 4 run modes.
At each run mode, I give the user a screen, perform some
validations and move on to the next mode(screen).
The screens are displayed using HTML::Template
I am declaring a hidden HTML variable in each screen as follows
INPUT
12 matches
Mail list logo