[Catalyst] $row-copy causing exit from controller(!)

2008-05-01 Thread Paul Makepeace
I'm seeing something exceedingly odd: copying data causing a premature return from the controller, like a detach(), foreach my $table (@chart_related_tables) { my $rs = $ds-resultset($table); warn copying $table for , $new_chart-uid; for my $row

[Catalyst] Re: How to print/display some data in an end action

2008-05-01 Thread Aristotle Pagaltzis
* Andreas Marienborg [EMAIL PROTECTED] [2008-05-01 10:50]: No point in forwarding to end, since that is done automaticly. In which case it would run twice, actually. But maybe he has a more specific `end` action and so forwarding to ::C::Root::end is actually a useful thing to do in his app. As

Re: [Catalyst] $row-copy causing exit from controller(!)

2008-05-01 Thread Jonathan Rockway
* On Thu, May 01 2008, Paul Makepeace wrote: I'm seeing something exceedingly odd: copying data causing a premature return from the controller, like a detach(), foreach my $table (@chart_related_tables) { my $rs = $ds-resultset($table); warn copying $table for ,

Re: [Catalyst] $row-copy causing exit from controller(!)

2008-05-01 Thread Ash Berlin
On 1 May 2008, at 13:33, Ash Berlin wrote: On 1 May 2008, at 13:25, Jonathan Rockway wrote: * On Thu, May 01 2008, Paul Makepeace wrote: I'm seeing something exceedingly odd: copying data causing a premature return from the controller, like a detach(), foreach my $table

Re: [Catalyst] $row-copy causing exit from controller(!)

2008-05-01 Thread Paul Makepeace
On Thu, May 1, 2008 at 1:25 PM, Jonathan Rockway [EMAIL PROTECTED] wrote: * On Thu, May 01 2008, Paul Makepeace wrote: I'm seeing something exceedingly odd: copying data causing a premature return from the controller, like a detach(), foreach my $table (@chart_related_tables)

[Catalyst] Re: $row-copy causing exit from controller(!)

2008-05-01 Thread Aristotle Pagaltzis
Hi Paul, * Paul Makepeace [EMAIL PROTECTED] [2008-05-01 17:00]: How does one use perl -d in the context of a FastCGI instance? Any other debugging tips? does your problem happen only with the FastCGI engine or can you reproduce it with others? If you can, well, there you go. Regards, --

[Catalyst] Tutorial

2008-05-01 Thread gaurav001
Hello gurus, I am newb for Catalyst so forgive me if I ask stupid questions. I have Rockway's book. I followed it. All went good so far (ignore FormBuilder stuff ). Now i want to customize application. Lets say FormBuilder.render gives me submit button automatically (no idea how). But what if I

[Catalyst] Using URIs for my app in another program

2008-05-01 Thread Byron Young
Hi all I've run into a situation that I can't find a good solution to and am hoping to solicit some ideas from people on the list here. An app I've been working on consists of two main parts - a Catalyst-based web app which provides the UI, and a daemon that does the heavy lifting. They are

Re: [Catalyst] Using URIs for my app in another program

2008-05-01 Thread Robert Krimen
The most straightforward method I can think of is to factor out the URIs to a common config file. You can have your daemon read in the config file and generate URIs from that. Your Catalyst application can either continue to use base to generate URIs or you can generate some special URIs from the

Re: [Catalyst] Tutorial

2008-05-01 Thread Ali M.
Considere reading the mailist thread about the possibilities for a new book here is the link http://www.gossamer-threads.com/lists/catalyst/users/18157 it will give you a better idea about the state of catalyst documentation and how to find answer Good luck On Thu, May 1, 2008 at 9:17 PM,

RE: [Catalyst] Using URIs for my app in another program

2008-05-01 Thread Byron Young
Ah, right, I need a HTTP request to get base. I wasn't thinking straight about that. I think storing links in the database is what I'll do, because that leaves the responsibility of generating URIs solely with the catalyst app. If I refactor code or move things around I don't want to have to

Re: [Catalyst] Using URIs for my app in another program

2008-05-01 Thread J. Shirley
On Thu, May 1, 2008 at 4:00 PM, Byron Young [EMAIL PROTECTED] wrote: Ah, right, I need a HTTP request to get base. I wasn't thinking straight about that. I think storing links in the database is what I'll do, because that leaves the responsibility of generating URIs solely with the

RE: [Catalyst] Using URIs for my app in another program

2008-05-01 Thread Byron Young
J. Shirley wrote on 2008-05-01: On Thu, May 1, 2008 at 4:00 PM, Byron Young [EMAIL PROTECTED] wrote: Ah, right, I need a HTTP request to get base. I wasn't thinking straight about that. I think storing links in the database is what I'll do, because that leaves the responsibility of

Re: [Catalyst] Using URIs for my app in another program

2008-05-01 Thread J. Shirley
On Thu, May 1, 2008 at 4:53 PM, Byron Young [EMAIL PROTECTED] wrote: Hey J. Yes, that could work too, but it requires making a call to the catalyst app, which means at least one hard-coded url will be in the daemon. I considered having a page on my app that would just serve up a requested