[Catalyst] How to register a stored procedure with the model?

2008-09-25 Thread Kai Andresen
Hi all, I need to call an Oracle stored procedure, and a function, where can I find som reference material on that? I've been trying to search the web, but I've probably failed to get the search terms right. We use Catalyst::Model::DBIC::Schema, and the database function and stored procedure

Re: [Catalyst] How to register a stored procedure with the model?

2008-09-25 Thread Will Hawes
2008/9/25 Kai Andresen [EMAIL PROTECTED]: Hi all, I need to call an Oracle stored procedure, and a function, where can I find som reference material on that? http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class/Manual/Cookbook.pod#Using_database_functions_or_stored_procedures

[Catalyst] Conditional GET with Catalyst::Controller::REST

2008-09-25 Thread Gavin Carr
I'm seeing a weird problem trying to get conditional GETs working under Catalyst::Controller::REST (0.66). Short version is that everything works beautifully when doing a HEAD, and my 304 is happily returned, but the same code on a GET causes a 500, with nothing helpful logged. Code snippet

Re: [Catalyst] Conditional GET with Catalyst::Controller::REST

2008-09-25 Thread Oleg Kostyuk
Short version is that everything works beautifully when doing a HEAD, and my 304 is happily returned, but the same code on a GET causes a 500, with nothing helpful logged. Code snippet is: sub index_GET { my ($self, $c) = @_; my $sset = $c-stash-{sset} or return; Probably, when

Re: [Catalyst] How to register a stored procedure with the model?

2008-09-25 Thread J. Shirley
On Thu, Sep 25, 2008 at 1:42 AM, Kai Andresen [EMAIL PROTECTED] wrote: Hi all, I need to call an Oracle stored procedure, and a function, where can I find som reference material on that? I've been trying to search the web, but I've probably failed to get the search terms right. We use

[Catalyst] How to send raw HTTP response

2008-09-25 Thread Christian Lackas
Hi Everybody, is it possible for a controller method to directly produce the raw HTTP response? My application generates a (potentially large)) ZIP file on the fly, which I don't want to store (on disk or in memory) but rather send it directly to the client while producing it. In a CGI script I

Re: [Catalyst] FormBuilder not working

2008-09-25 Thread abhishek jain
That problem is solved , i have yet another one, In my form definition i am writing the following: name: search method: post fields: dom: label: Dom type: text size: 30 required: 1 ext:

Re: [Catalyst] How to send raw HTTP response

2008-09-25 Thread J. Shirley
On Thu, Sep 25, 2008 at 11:35 AM, Christian Lackas [EMAIL PROTECTED] wrote: Hi Everybody, is it possible for a controller method to directly produce the raw HTTP response? My application generates a (potentially large)) ZIP file on the fly, which I don't want to store (on disk or in memory)

Re: [Catalyst] FormBuilder not working

2008-09-25 Thread Dermot
2008/9/25 abhishek jain [EMAIL PROTECTED]: Someone pl. reply, Thank, abhi I can't answer your question but I would point out that FormBuilder is no longer being developed. HTML::FormFu and friends are the *preferred modules these days. It's active and the mailing list works. Dp.

Re: [Catalyst] How to send raw HTTP response

2008-09-25 Thread Tomas Doran
On 25 Sep 2008, at 19:35, Christian Lackas wrote: print CGI::header(...); $ZIP-writeToFileHandle(*STDOUT); for my $f (@files) { $ZIP-addFile($f, basename($f)); } How can I achieve something similar under Catalyst? Looking at the source code for Catalyst::write, and

Re: [Catalyst] How to send raw HTTP response

2008-09-25 Thread Wade . Stuart
Tomas Doran [EMAIL PROTECTED] wrote on 09/25/2008 04:04:58 PM: On 25 Sep 2008, at 19:35, Christian Lackas wrote: print CGI::header(...); $ZIP-writeToFileHandle(*STDOUT); for my $f (@files) { $ZIP-addFile($f, basename($f)); } How can I achieve something

Re: [Catalyst] FormBuilder not working

2008-09-25 Thread Giancarlo Corcuera
abhishek jain wrote: That problem is solved , i have yet another one, In my form definition i am writing the following: name: search method: post fields: dom: label: Dom type: text size: 30

Re: [Catalyst] Conditional GET with Catalyst::Controller::REST

2008-09-25 Thread Gavin Carr
On Thu, Sep 25, 2008 at 04:34:50PM +0300, Oleg Kostyuk wrote: Short version is that everything works beautifully when doing a HEAD, and my 304 is happily returned, but the same code on a GET causes a 500, with nothing helpful logged. Code snippet is: sub index_GET { my ($self,

Re: [Catalyst] Conditional GET with Catalyst::Controller::REST

2008-09-25 Thread J. Shirley
On Thu, Sep 25, 2008 at 4:02 AM, Gavin Carr [EMAIL PROTECTED] wrote: I'm seeing a weird problem trying to get conditional GETs working under Catalyst::Controller::REST (0.66). Short version is that everything works beautifully when doing a HEAD, and my 304 is happily returned, but the same