[Catalyst] dependency 'bug' in Catalyst::Runtime 5.7012

2008-04-30 Thread Ulf Lenski
Hi all, a friend of mine found this and asked me to post it here: there is a build dependency 'bug' in Catalyst::Runtime 5.7012 , Makefile.PL (line 12) states: requires 'Class::Inspector' = '1.06'; this should read : requires 'Class::Inspector' = '1.17' ; to avoid Class::Inspector

[Catalyst] Dispatching with Chained vs HTTP method

2008-04-30 Thread Toby Corkindale
just looking for some advice on the best way to do something.. So I wrote a controller class using Chained that basically auto-converts any DBIx::Schema (which includes a tiny extra base class itself) into a REST API.. Well, a simple one anyway - it supports find and search so far, and foreign

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-04-30 Thread Zbigniew Lukasiak
Hi Toby, I don't know if you are aware - but building a REST-like CRUD interface to DBIx::Schema is my long term goal (started with Catalyst::Example::InstantCRUD). Do you think we could collaborate? Cheers, Zbyszek On Wed, Apr 30, 2008 at 10:26 AM, Toby Corkindale [EMAIL PROTECTED] wrote:

[Catalyst] Re: Dispatching with Chained vs HTTP method

2008-04-30 Thread Aristotle Pagaltzis
* Toby Corkindale [EMAIL PROTECTED] [2008-04-30 10:40]: I was thinking something like this: (Abbreviated code below) http://search.cpan.org/dist/Catalyst-Action-REST/ http://search.cpan.org/dist/Catalyst-Request-REST-ForBrowsers/ Regards, -- Aristotle Pagaltzis // http://plasmasturm.org/

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

2008-04-30 Thread Emmanuel Quevillon
Hi, I'd like to incorporate an action into an object tag that only prints some data (XML SVG). I have an action in a controller Foo that do this : sub display : Local : Args(1) { my $t = $object-display_graph(); $c-detach('Foo', 'end', [$t]); } sub end : Private {

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-04-30 Thread Moritz Onken
Hi Zbyszek, do you plan FormFu support? In case the submitted values are not valid the response is a xml/json/whatever which includes the error messages. That would be really great :) cheers, moritz Am 30.04.2008 um 11:24 schrieb Zbigniew Lukasiak: Hi Toby, I don't know if you are

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

2008-04-30 Thread Andreas Marienborg
On Apr 30, 2008, at 11:51 AM, Emmanuel Quevillon wrote: Hi, I'd like to incorporate an action into an object tag that only prints some data (XML SVG). I have an action in a controller Foo that do this : sub display : Local : Args(1) { my $t = $object-display_graph();

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-04-30 Thread Zbigniew Lukasiak
On Wed, Apr 30, 2008 at 11:46 AM, Moritz Onken [EMAIL PROTECTED] wrote: Hi Zbyszek, do you plan FormFu support? In case the submitted values are not valid the response is a xml/json/whatever which includes the error messages. That would be really great :) I have not yet settled down with

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-04-30 Thread Moritz Onken
Maybe you could make it modular so we can easily add another processor like formfu Am 30.04.2008 um 12:03 schrieb Zbigniew Lukasiak: On Wed, Apr 30, 2008 at 11:46 AM, Moritz Onken [EMAIL PROTECTED] wrote: Hi Zbyszek, do you plan FormFu support? In case the submitted values are not

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

2008-04-30 Thread Emmanuel Quevillon
Andreas Marienborg wrote: On Apr 30, 2008, at 11:51 AM, Emmanuel Quevillon wrote: Hi, I'd like to incorporate an action into an object tag that only prints some data (XML SVG). I have an action in a controller Foo that do this : sub display : Local : Args(1) { my $t =

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

2008-04-30 Thread Emmanuel Quevillon
Aristotle Pagaltzis wrote: * Emmanuel Quevillon [EMAIL PROTECTED] [2008-04-30 15:05]: Catalyst always try to wrap the action result 'display' into a template. No, it doesn’t. If that happens in your app, then you have set it up to happen like that. But the code you pasted does not include

Re: [Catalyst] Dispatching with Chained vs HTTP method

2008-04-30 Thread Toby Corkindale
On Wed, Apr 30, 2008 at 11:24:36AM +0200, Zbigniew Lukasiak wrote: Hi Toby, I don't know if you are aware - but building a REST-like CRUD interface to DBIx::Schema is my long term goal (started with Catalyst::Example::InstantCRUD). Do you think we could collaborate? Sure, if you liked.