RE: [cgiapp] Re: Help on possible CGI::Application::Plugin::HTML :Table

2005-08-16 Thread Johan Bosman (EDS)
Thanks for the feedback. How should I use the HTML::Table module in a CGI::Application? It seems that I am doing something wrong. In the following code I call a function (_query ) from Query (run mode1) that creates the object $table1 . The problem is that this object is only visible from the

[cgiapp] Restrict access to certain run modes

2005-08-16 Thread Prakash Inuganti \(pinugant\)
Hi, How do I restrict user access to certain run modes based on user role. E.g: $self-param('role' = 'Employee'); He should have access to only run modes 'Reports' and 'Search'. If he tries to access any other run mode by copying and pasting url or by other means, I want to take him to an

[cgiapp] ANNOUNCE: CGI::Application::Plugin::HTDot

2005-08-16 Thread Jason A. Crome
For those of you who have been eagerly waiting. . . here's the plugin to add the magic dot to HTML::Template in CGI::Application-derived apps. Enjoy! -- Jason The uploaded file CGI-Application-Plugin-HTDot-0.02.tar.gz has entered CPAN as file:

Re: [cgiapp] Re: Help on possible CGI::Application::Plugin::HTML :Table

2005-08-16 Thread Sean Davis
On 8/16/05 7:16 AM, Johan Bosman (EDS) [EMAIL PROTECTED] wrote: Thanks for the feedback. How should I use the HTML::Table module in a CGI::Application? It seems that I am doing something wrong. In the following code I call a function (_query ) from Query (run mode1) that creates the object

Re: [cgiapp] Restrict access to certain run modes

2005-08-16 Thread Jonathan Mangin
- Original Message - From: Prakash Inuganti (pinugant) [EMAIL PROTECTED] To: cgiapp@lists.erlbaum.net Sent: Tuesday, August 16, 2005 8:39 AM Subject: [cgiapp] Restrict access to certain run modes Hi, How do I restrict user access to certain run modes based on user role. E.g:

[cgiapp] Re: CGI-Application on IIS and PATH_INFO

2005-08-16 Thread Mark Stosberg
On 2005-08-16, Andrew Main [EMAIL PROTECTED] wrote: Hello folks I'm new to both CGI-App and IIS and having a little trouble getting them to play nicely together. What version of CGI::App. 4.0 had a related fix for IIS and PATH_INFO The CGI-App docs state that you should be able to use

Re: [cgiapp] Re: CGI-Application on IIS and PATH_INFO

2005-08-16 Thread Andrew Main
I'm using CGI-App 4.01, installed from the ActiveState PPMs. The command I'm using is what I thought was a standard one: self-mode_param( path_info = 1 ); I'm sorry if the solution is obvious, I just couldn't readily find the answer on the CPAN docs, the wiki, or the list archives. Thanks

Re: [cgiapp] CGI-Application on IIS and PATH_INFO

2005-08-16 Thread Cees Hek
On 8/16/05, Andrew Main [EMAIL PROTECTED] wrote: Hello folks I'm new to both CGI-App and IIS and having a little trouble getting them to play nicely together. The CGI-App docs state that you should be able to use URLs like this /cgi-bin/instance.cgi/edit_form?breed_id=2 on any web

RE: [cgiapp] Restrict access to certain run modes

2005-08-16 Thread Barry Moore
Prakash- I've been working on something similar lately, and I'll share what I've got working. I'm fairly new at all of this too, so Caveat lector! I'd appreciate any best practice comments/suggestions from anyone else who has time to look at this. The code is attached as two files: 1)

Re: [cgiapp] Re: CGI-Application on IIS and PATH_INFO

2005-08-16 Thread Ron Savage
On Tue, 16 Aug 2005 13:10:55 -0700, Andrew Main wrote: Hi Andrew self-mode_param( path_info = 1 ); I'm sorry if the solution is obvious, I just couldn't readily find the answer on the CPAN docs, the wiki, or the list archives. But the docs for CGI::App say that mode_param sets the /name/ of

[cgiapp] Re: CGI-Application on IIS and PATH_INFO

2005-08-16 Thread Mark Stosberg
On 2005-08-16, Ron Savage [EMAIL PROTECTED] wrote: On Tue, 16 Aug 2005 13:10:55 -0700, Andrew Main wrote: Hi Andrew self-mode_param( path_info = 1 ); I'm sorry if the solution is obvious, I just couldn't readily find the answer on the CPAN docs, the wiki, or the list archives. But the

Re: [cgiapp] Restrict access to certain run modes

2005-08-16 Thread Cees Hek
On 8/16/05, Barry Moore [EMAIL PROTECTED] wrote: If you're on Windows or something else without /tmp edit the line 16 of the cgiapp module to something like this: CGI_SESSION_OPTIONS = [driver:File, $self-query, {Directory = C:\\}], I know this doesn't have anything to do with what your are

[cgiapp] ANNOUNCE: AnyTemplate 0.10

2005-08-16 Thread Michael Graham
I've finally gotten around to making a stable release of AnyTemplate. Version 0.10 should be available on CPAN shortly: http://search.cpan.org/~mgraham/CGI-Application-Plugin-AnyTemplate-0.10_05/ This is a major new release with a lot of new features and some incompatible API changes. The

Re: [cgiapp] ANNOUNCE: AnyTemplate 0.10

2005-08-16 Thread Michael Graham
Oops - got the URL wrong. Version 0.10 should be available on CPAN shortly: http://search.cpan.org/~mgraham/CGI-Application-Plugin-AnyTemplate-0.10/ Michael --- Michael Graham [EMAIL PROTECTED] - Web Archive: