[Catalyst] Custom error handling

2009-07-03 Thread kakimoto
hi ,guys, referring to http://search.cpan.org/~hkclark/Catalyst-Manual-5.8000/lib/Catalyst/Manual/Cookbook.pod#Delivering_a_Custom_Error_Page, i can't seem to see the error page when I have my Root.pm's sub end set up this way. sub end : ActionClass('RenderView') { my ($self, $c) = @_;

Re: [Catalyst] Custom error handling

2009-07-03 Thread Tomas Doran
On 3 Jul 2009, at 08:33, kakim...@tpg.com.au wrote: I can see that a $c-error () is being called in one of my controllers You mean you're calling $c-error yourself in your own controller code? and the Room-end has been called (thanks to my debugging messages above) BUT the $c-error doesn't

Re: [Catalyst] I18N with quotation marks

2009-07-03 Thread Jose Luis Martinez
Ton Voon escribió: For javascript in script blocks, you should use single quotes for the string value and pass through an escape_js filter, eg: script var string = '[% c.loc(May have single quotes or \ in it) | escape_js %]'; /script Instead of forcing yourself to use single quoted strings

Re: [Catalyst] adding my_app_name to action paths

2009-07-03 Thread Mike Glen
J. Shirley wrote: On Wed, Jul 1, 2009 at 8:43 AM, Mike Glen mike.g...@mindsweep.net mailto:mike.g...@mindsweep.net wrote: I'm trying to setup a catyst app to run behind nginx so that the app is accessed at http://my.server.com/my_app_name/ I have set this up following instructions

Re: [Catalyst] adding my_app_name to action paths

2009-07-03 Thread J. Shirley
On Fri, Jul 3, 2009 at 4:15 AM, Mike Glen mike.g...@mindsweep.net wrote: J. Shirley wrote: On Wed, Jul 1, 2009 at 8:43 AM, Mike Glen mike.g...@mindsweep.netmailto: mike.g...@mindsweep.net wrote: I'm trying to setup a catyst app to run behind nginx so that the app is accessed at

Re: [Catalyst] adding my_app_name to action paths

2009-07-03 Thread Mike Glen
J. Shirley wrote: Sorry for no responding yesterday, had a full day. You can set the proxy header directly, just using: proxy_set_header SCRIPT_NAME /my_app/; That should do the trick, but may be missing something. I have a working config on a system that is currently sitting in an Apple

[Catalyst] OpenID and SREG

2009-07-03 Thread Trevor Phillips
I've only just started looking at OpenID, and would love to integrate it with Catalyst apps. Using Catalyst::Authentication::Credential::OpenID I've got the basics of Authentication working, but I'm having problems with SREG. The first problem is when using a .conf config, the docs say you can