Re: [Catalyst] Accessing $c from Model

2007-03-06 Thread Scott Thomson
Excellent, that works - Thank you! On 3/5/07, Juan Miguel Paredes <[EMAIL PROTECTED]> wrote: On 3/5/07, Scott Thomson <[EMAIL PROTECTED]> wrote: > Ok, I think I'm close... > > My main schema class: > > package DB; > > use base qw/DBIx::Class::Schema DBIx::Class::AccessorGroup/; > > __PACKAGE__-

Re: [Catalyst] Chained, slashes, and escaping

2007-03-06 Thread Matt Lawrence
Jim Spath wrote: I'm implementing tagging under Catalyst and want to be as unrestrictive as possible on the tag text. As such, I allow slashes in the tag text. To view information on a given tag, you hit the following path: /tag/URI_ESCAPED_TAG Which uses the following action in the Tag con

[Catalyst] Again: Lighttpd deployment problems as non root

2007-03-06 Thread Kieren Diment
When I deploy my application at /fastcgi with lighttpd, the url http://my.site.com/fastcgi gives a 404 error, and http://my.site.com/fastcgi/ returns an internal server error handled by catalyst (with unknown resource fastcgi). This happens for every url without a trailing slash. If I try http:/

[Catalyst] Re: Chained, slashes, and escaping

2007-03-06 Thread A. Pagaltzis
* Jonathan Rockway <[EMAIL PROTECTED]> [2007-03-06 06:20]: > Apparently back in the early days of the web, a URL like that > caused problems with poorly written CGI scripts that blindly > opened the PATH_INFO variable. Instead of fixing the scripts, > the apache / NCSA HTTPD authors decided to brea

Re: [Catalyst] Chained, slashes, and escaping

2007-03-06 Thread Carl Johnstone
When I access the following URI: /tag/sl%2Fashes $tag gets set to sl instead of sl/ashes. Apparently back in the early days of the web, a URL like that caused problems I ran into this a couple of weeks ago. As far as I could the development myapp_server actually deals with everything corre

Re: [Catalyst] Chained, slashes, and escaping

2007-03-06 Thread Jim Spath
Hi Matt, I had considered that. I just wanted to check with the list before I went that route. Thanks! - Jim Matt Lawrence wrote: Jim Spath wrote: I'm implementing tagging under Catalyst and want to be as unrestrictive as possible on the tag text. As such, I allow slashes in the tag text.

Re: [Catalyst] Chained, slashes, and escaping

2007-03-06 Thread Jim Spath
Unfortunately I'm using lighttpd. Carl Johnstone wrote: When I access the following URI: /tag/sl%2Fashes $tag gets set to sl instead of sl/ashes. Apparently back in the early days of the web, a URL like that caused problems I ran into this a couple of weeks ago. As far as I could the deve

[Catalyst] reserved words

2007-03-06 Thread Octavian Rasnita
Hi, Please tell me how can I find the list of reserved words that cannot be used as names for views, controllers, models, $c->stash elements... For example I have seen that the name of the application is also found in $c->stash->{name}. $c->stash->{template} is also special. I have also tri

Re: [Catalyst] reserved words

2007-03-06 Thread John Napiorkowski
- Original Message From: Octavian Rasnita <[EMAIL PROTECTED]> To: catalyst@lists.rawmode.org Sent: Tuesday, March 6, 2007 12:02:39 PM Subject: [Catalyst] reserved words Hi, Please tell me how can I find the list of reserved words that cannot be used as names for views, controllers, mo

Re: [Catalyst] Accessing $c from Model

2007-03-06 Thread Jason Kohles
On Mar 5, 2007, at 7:02 AM, Scott Thomson wrote: Ok, I think I'm close... My main schema class: package DB; use base qw/DBIx::Class::Schema DBIx::Class::AccessorGroup/; __PACKAGE__->mk_group_accessors(simple => 'context'); __PACKAGE__->load_classes(qw//); 1; Very Bad Things are likely to h

Re: [Catalyst] Accessing $c from Model

2007-03-06 Thread Scott Thomson
Noted and actioned, Cheers. Very Bad Things are likely to happen if you ever attempt to run your application under the debugger when you have a package named 'DB'. I'd recommend using a different name... -- Jason Kohles [EMAIL PROTECTED] http://www.jasonkohles.com/ "A witty saying proves noth

Re: [Catalyst] Some bits missing/wrong in the docs for the dev version of C::P::Authentication

2007-03-06 Thread Jay K
Hi Dave, Thanks for the feedback. You are definitely right about the session / supports issue, I'll add some wording to make that clear. Regarding supported_features, supports, and user_supports, you are partially correct and it is definitely confusing. Let me try to shed some light. First, $