[Catalyst] [ANNOUNCE] New plugin: Catalyst::Plugin::Assets

2008-01-13 Thread Robert Krimen
Catalyst::Plugin::Assets http://search.cpan.org/~rkrimen/Catalyst-Plugin-Assets-0.012/ Managing .css and .js inclusions has been a recurring problem of mine; I usually hack something together with Template Toolkit and call it day. Copying and pasting was becoming bothersome, though, so I decided t

Re: [Catalyst] Gentoo Catalyst overlay: repository moved!

2008-01-13 Thread Toby Corkindale
On Wed, Jan 09, 2008 at 06:06:05PM +0100, Michele Beltrame wrote: > Hello! > > The Catalyst-related ebuilds (along with some others) are now part of the > perl-exprimental Gentoo overlay. > > Old repository and overlay will not be maintained any more. Hi Michele, Are you still maintaining the re

Re: [Catalyst] component's new() call browser dependent

2008-01-13 Thread Jonathan Rockway
On Sun, 2008-01-13 at 19:41 -0500, Juan Camacho wrote: > Do you still need some code? Should new be called for every request or > is there some intentional session caching going on? new is usually called at COMPONENT time, not ACCEPT_CONTEXT time. I'd like to see how you're using this code, thou

Re: [Catalyst] Serving html pages

2008-01-13 Thread Matt S Trout
On Sat, Jan 12, 2008 at 11:18:21AM +0800, Martin Ellison wrote: > I have a similar problem, but I am on shared hosting and I do not have > access to httpd.conf, only to the local .htaccess files. I have the static > plugin set up so we are delivering HTML, image files and other static pages > via C

Re: [Catalyst] process a restored request

2008-01-13 Thread Matt S Trout
On Fri, Jan 11, 2008 at 07:06:17PM +, Jonas Alves wrote: > On Jan 11, 2008 6:27 PM, Matt S Trout <[EMAIL PROTECTED]> wrote: > > Don't try and serialize $c->req, just dump any POST data back out into > > hidden fields in the login form, don't change the URL, and have the login > > form processed

Re: [Catalyst] component's new() call browser dependent

2008-01-13 Thread Juan Camacho
On Jan 13, 2008 7:17 PM, Jonathan Rockway <[EMAIL PROTECTED]> wrote: > > > On Sun, 2008-01-13 at 19:11 -0500, Juan Camacho wrote: > > I found something quite strange. When I use Firefox the model's new > > method is called for each request, but if I use IE it doesn't. This > > is under mod_perl. I

Re: [Catalyst] component's new() call browser dependent

2008-01-13 Thread Jonathan Rockway
On Sun, 2008-01-13 at 19:11 -0500, Juan Camacho wrote: > I found something quite strange. When I use Firefox the model's new > method is called for each request, but if I use IE it doesn't. This > is under mod_perl. Is this behavior by design? Have I missed some > documentation on this? Can you

[Catalyst] component's new() call browser dependent

2008-01-13 Thread Juan Camacho
I found something quite strange. When I use Firefox the model's new method is called for each request, but if I use IE it doesn't. This is under mod_perl. Is this behavior by design? Have I missed some documentation on this? Thanks, Juan ___ List: Cat

Re: [Catalyst] Two ways to create record

2008-01-13 Thread Alex Povolotsky
Matt S Trout wrote: On Sun, Jan 13, 2008 at 04:47:38PM +0300, Alex Povolotsky wrote: Hello! In Tutorial (BTW, "CRUD" section of tutorial lacks U completely), I've seen this way of filling in the record: my $book = $c->model('GalleryDB::Gallery')->new({}); $book->populate_from_widge

Re: [Catalyst] Two ways to create record

2008-01-13 Thread Matt S Trout
On Sun, Jan 13, 2008 at 04:47:38PM +0300, Alex Povolotsky wrote: > Hello! > > In Tutorial (BTW, "CRUD" section of tutorial lacks U completely), I've > seen this way of filling in the record: > >my $book = $c->model('GalleryDB::Gallery')->new({}); >$book->populate_from_widget($result);

Re: [Catalyst] Re-enable digest mode?

2008-01-13 Thread Matt S Trout
On Fri, Jan 11, 2008 at 03:43:25PM -0500, Lampert, Hugh wrote: > Well, I respectfully submit that the purpose of a digest is so people can > archive the mailing list themselves in their e-mail systems, one digest per > day. An RSS feed does not easily allow this, and for a busy list like this >

[Catalyst] Two ways to create record

2008-01-13 Thread Alex Povolotsky
Hello! In Tutorial (BTW, "CRUD" section of tutorial lacks U completely), I've seen this way of filling in the record: my $book = $c->model('GalleryDB::Gallery')->new({}); $book->populate_from_widget($result); In InstantCRUD data is filled in with my $item = $result->save_to_db(); Can