[cgiapp] Q on Data::FormValidator filters used in my C::A

2005-08-30 Thread Kleindenst, Fred
Hello All, The Data::FormValidator docs say: field_filters field_filters = { cc_no = ['digit'], }, A hash ref with field names as keys. Values are array references of built-in filters to apply (trim,digit,etc) or an anonymous subroutine which should take one parameter, the field

[cgiapp] Question on passing a list via param method...

2005-08-05 Thread Kleindenst, Fred
Hello all, I'm trying to pass a list via the param method. I don't see this discussed in the docs, and it seems via some brief experiments that I need to pass a reference to an array. Am I missing something? --Fred - Web

RE: [cgiapp] XMLHTTPRequest / Remote Scripting / AJAX

2005-03-10 Thread Kleindenst, Fred
Very Fine Work. Thanks for contributing this to the community. Cheers --Fred -Original Message- From: Steve Comrie [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 10:54 AM To: cgiapp@lists.erlbaum.net Subject: [cgiapp] XMLHTTPRequest / Remote Scripting / AJAX Good

[cgiapp] Document Management

2005-01-07 Thread Kleindenst, Fred
All, In my next project I'll be making a lightweight document management system. The specs are fairly simple: * use existing infrastructure: Oracle DB, perl on vanilla cgi webserver and existing authentication system * Provide upload, storage and access to .PDF, .xls, .doc etc. * Support Meta

RE: [cgiapp] Proposal: improving mode_param()

2004-09-09 Thread Kleindenst, Fred
I take it that this works exclusively under mod_perl and not on a vanilla web server. --Fred -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Mark Stosberg Sent: Wednesday, September 08, 2004 7:00 PM To: [EMAIL PROTECTED] Subject: [cgiapp] Proposal: improving

RE: [cgiapp] Re: Report generation...

2004-08-24 Thread Kleindenst, Fred
I should mention that I use Text::CSV and Text::CSV_XS (the difference being pure perl vs. not AND that the XS version supports binary data in the fields). # Output use Text::CSV_XS; my $csv_out = Text::CSV_XS-new( {'binary' = 1}); while ( my @row = $sth-fetchrow_array ) {

RE: [cgiapp] Re: Proposal for Error handling runmode

2004-08-23 Thread Kleindenst, Fred
I think it would be a good idea to have this as part of C::A, mostly due to the reasons tha Cees sited; that it is very simple to understand and use once it has been written, but it is not necessaraly obvious before it is written. I do find it interesting that most programmers that use C::A

[cgiapp] OFFTOPIC: RE: [cgiapp] FW: A couple of questions for a newbie

2004-08-04 Thread Kleindenst, Fred
Hello Dan, (as an aside, I visited Kiwi land recently and found it amazingly wonderful). I wanted to interject: You don't need Root to install perl modules for your purposes. If you find it troublesome to have the modules installed in the default perl installation, you can simply install the

RE: [cgiapp] Simple form example using both C-A and H-T?

2004-08-03 Thread Kleindenst, Fred
Here's a really brain dead example: # sub report_dump { my $self = shift; my $out = Dumper $RCF{report_defs}; my $t = $self-load_tmpl('simpleText.tmpl',die_on_bad_params=0); $t-param( output_text = $out,); return $t-output; }

RE: [cgiapp] RFC - C::A::Plugin - abstract base class for plugins

2004-07-27 Thread Kleindenst, Fred
-Original Message- From: Michael Peters [mailto:[EMAIL PROTECTED] Cees: As an example of how it works, I have put up new versions of the CGI::Application::Session and CGI::Application::TT modules on my website (http://cees.crtconsulting.ca/perl/modules/), as well as a tarball

[cgiapp] OT: top posting

2004-07-22 Thread Kleindenst, Fred
I hope we don't get into a flame war on this. I understand the usenet convention is to NOT top post. In my company email (which I use for this list) the convention IS to top post when replying to emails. I don't care as long as quotes are attributed in some way. --Fred -Original

RE: [cgiapp] Measuring the time taken by the CGI...

2004-07-01 Thread Kleindenst, Fred
secondsBR#; } #end cgiapp_postrun = Fred Kleindenst [EMAIL PROTECTED] Internet Platforms 310.302.3801 -Original Message- From: Kleindenst, Fred Sent: Tuesday, June 29, 2004 3:41 PM Cc: [EMAIL

[cgiapp] Measuring the time taken by the CGI...

2004-06-29 Thread Kleindenst, Fred
Hello, I'd like to measure the time taken to execute each particular hit to cgi::app and display the result. My thoughts on how to implement this are roughly: * get the time $T1 in cgiprerun - store in $self * get the time $T2 in cgipostrun and compute the difference * output the result as a

RE: [cgiapp] load_tmpl() question.

2004-04-09 Thread Kleindenst, Fred
My two cents on load_tmpl: In my work I found that its behavior was not to my taste/needs so ended up overriding it anyway. From the responses, it seems that others have too. Therefore, I concur with William McKee when we says: load_tmpl should be an abstract method that must be

[cgiapp] Question on header_props and meta refresh

2004-04-01 Thread Kleindenst, Fred
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

RE: [cgiapp] Question on header_props and meta refresh

2004-04-01 Thread Kleindenst, Fred
[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

[cgiapp] Data::FormValidator question in context of CGI::App

2004-03-17 Thread Kleindenst, Fred
All, I am using Data::FormValidator to provide input checking/constraints/filters for my CGI::Application. Data::FV makes it easy to code constraints on $B and $C, or to require $B and $C if $A exists by setting up rules contained in a hash structure. Like so... # snip dependencies =

RE: [cgiapp] Untaiting in C::A::ValidateRM

2003-10-10 Thread Kleindenst, Fred
After you run check_rm you'll want to use items from $res-valid to put into the DB to get the untainted entries. See perldoc Data::FormValidator for the correct syntax. Cheers = Fred Kleindenst [EMAIL