Re: [cgiapp] C::A::P::Routes

2010-03-04 Thread Clayton Scott
instance script loaded a bunch of CGI::App based modules and used CAP::Dispatch to assign root urls for each module (/contacts, /staff, /etc) then I used CAP::Routes to define the different url/variable/runmode combinations within each Application. -- Clayton Scott clayton.sc...@gmail.com

Re: [cgiapp] only one session id per instance under fcgi?

2009-04-25 Thread Clayton Scott
CGI script: use CGI::Fast; use My::Module; while ( my $q = CGI::Fast-new ){ my $app = My::Module-new( QUERY = $q ); $app-run(); } Clayton -- Clayton Scott clayton.sc...@gmail.com # CGI::Application community mailing list

[cgiapp] Dispatching both 'login' and 'login/*' to the same app?

2009-02-24 Thread Clayton Scott
First off, thanks everyone for the work on CGI::Application and CGI::Application::Dispatch. I love working with them. Here is my issue: I want want both '/login' and '/login/*' to go to the same App but I can't see how to do it short of overriding _parse_path in a sub-class. In my table I've

[cgiapp] Re: Dispatching both 'login' and 'login/*' to the same app?

2009-02-24 Thread Clayton Scott
On Tue, Feb 24, 2009 at 11:56 AM, Clayton Scott clayton.sc...@gmail.com wrote: I want want both '/login' and '/login/*' to go to the same App but I can't see how to do it short of overriding _parse_path in a sub-class. I ended up sub classing CA::Dispatch::Regexp and overriding _parse_path so

Re: [cgiapp] Ping or down?

2008-12-04 Thread Clayton Scott
/ ## #### -- Clayton Scott [EMAIL PROTECTED] # CGI::Application community mailing list

Re: [cgiapp] How to retrieve 'action'

2008-12-03 Thread Clayton Scott
via $self-current_run_mode. Clayton -- Clayton Scott [EMAIL PROTECTED] # CGI::Application community mailing list #### ## To unsubscribe, or change your message delivery options, ## ## visit: http

Re: [cgiapp] How do I implement this pattern: Resume interrupted POST after login

2008-12-02 Thread Clayton Scott
On Tue, Dec 2, 2008 at 10:28 AM, Michael Peters [EMAIL PROTECTED]wrote: Clayton Scott wrote: I went as far as freezing the query and stuffing it into the session. Short of using LWP to rerun the POST what are my options? That's actually a pretty good option. You can't just pass

Re: [cgiapp] can not redirect to upper level url ?

2008-09-03 Thread Clayton Scott
= $cap-query-url(-absolute = 1) . '../' x @levels . 'home'; $cap-redirect( $home_url ); I'd still go with option one (absolute url) HTH, Clayton -- Clayton Scott [EMAIL PROTECTED] # CGI::Application community mailing list

Re: [cgiapp] Redirects and address bar

2004-11-04 Thread Clayton Scott
Jonathan Mangin wrote: And does the address bar in IE always reflect the proper destination after the redirect? --Jon What happens when you use a different browser like Firebird or Opera? Clayton - Web Archive:

Re: [cgiapp] Re: order of method calls

2004-10-28 Thread Clayton Scott
Ron Savage wrote: Good, but... this picture http://savage.net.au/Clipboard01.png is an accurate rendition of the unreadable font on the wiki. Could you change the font size, please? Can you not adjust the font size in your web browser? The default font size is perfectly legible to me and in

Re: [cgiapp] Re: register_hooks() proposal

2004-09-27 Thread Clayton Scott
that are registered at those hooks as (cgiapp_init, cgiapp_prerun, cgiapp_postrun, teardown). So as an example, the cgiapp_prerun callback will automatically be registered at the prerun hook with the default ordering (DONTCARE). So, these are like Class::Trigger triggers? Clayton Scott

Re: [cgiapp] Re: RFC: ::Plugin::ConfigAuto .02

2004-09-06 Thread Clayton Scott
= $self-config; Clayton Scott - Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiappr=1w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [cgiapp] problem with form-data (get/post)

2004-06-17 Thread Clayton Scott
Jan Dworschak wrote: Hi, maxlength is already set in the input field with a value of 256 (that should be enough). Are you sure that your TripleDES javascript function is not to blame? Javascript doesn't always work the same in all browsers. Clayton

Re: [cgiapp] Changing run modes from another run mode

2004-03-23 Thread Clayton Scott
[EMAIL PROTECTED] wrote: I have what looks like a fairly simple problem. I have a run mode and this run mode calls a utility method. The utility method might throw an error, but the error is fixable. I want my utility method to see if it has an error and then switch to a specific error run