Re: [Catalyst] C::C::FormBuilder question

2007-01-30 Thread Carl Franks
On 29/01/07, Marc Logghe [EMAIL PROTECTED] wrote: Hi all, I am lost. In my conf I have: # configuration of FormBuilder Controller::FormBuilder: method_name: form template_type: Mason stash_name: form obj_name: fb form_suffix: fb attr_name: Form form_path:

[Catalyst] Re: Tweaking REST

2007-01-30 Thread A. Pagaltzis
* Christopher H. Laco [EMAIL PROTECTED] [2007-01-29 20:10]: As for RSS/Atom, I'd need a Serializer for them, which in the end isn't really different than writing a view. I have a nice module for Atom. :-) Any reason why you want to generate both RSS and Atom? (And which version of RSS are you

Re: [Catalyst] C::C::FormBuilder question

2007-01-30 Thread Tobias Kremer
I was just looking at this last week, as I was using the code as a basis for a new controller. I suspect that it's never been tested, because as far as I can tell, it incorrectly reads the config from the controller object, rather than the application object. Yeah, I stumbled across this the

Re: [Catalyst] Field types and Sybase

2007-01-30 Thread Matt S Trout
On 29 Jan 2007, at 17:46, Jonathan Batchelor wrote: I have a problem with one of the field types set up in my Database and wondered if anyone can help me to define it within my model properly. The error I get is as follows: Caught exception in ReCharge::Controller::Contracts-url_create

Re: [Catalyst] Tweaking REST

2007-01-30 Thread Christopher H. Laco
Adam Jacob wrote: On Jan 29, 2007, at 12:19 PM, Christopher H. Laco wrote: Christopher H. Laco wrote: I'm needing to support RSS/Atom feeds of some of my cart/wishlist data. The lazy guy in me says I can just make a view or two and be done with it (Thanks for the code LTjake!). The anal

Re: [Catalyst] Re: Tweaking REST

2007-01-30 Thread Christopher H. Laco
A. Pagaltzis wrote: * Christopher H. Laco [EMAIL PROTECTED] [2007-01-29 20:10]: As for RSS/Atom, I'd need a Serializer for them, which in the end isn't really different than writing a view. I have a nice module for Atom. :-) Any reason why you want to generate both RSS and Atom? (And

Re: [Catalyst] Tweaking REST

2007-01-30 Thread Christopher H. Laco
There are still some issues with using views, mainly that they both fight of setting content-type...and since REST sets it already, the view never sets it, which is good, but also the charset=utf isn't set either... Just to solidify that statement... __load_content_plugins sets the response

[Catalyst] DBIx virtual columns depending on database column

2007-01-30 Thread Ulrich Leodolter
Hi I working on a database frontend using Catalyst, DBIx and all the other goodies. The schema is loaded from existing MySQL database using DBIx::Class::Schema::Loader and Catalyst::Model::DBIC::Schema The database is not DBIx::Class friendly (multi pk and other things) but my Catalyst/DBIx

Re: [Catalyst] DBIx virtual columns depending on database column

2007-01-30 Thread Matt S Trout
On 30 Jan 2007, at 16:38, Ulrich Leodolter wrote: Hi I working on a database frontend using Catalyst, DBIx and all the other goodies. The schema is loaded from existing MySQL database using DBIx::Class::Schema::Loader and Catalyst::Model::DBIC::Schema The database is not DBIx::Class

Re: [Catalyst] C::C::FormBuilder question

2007-01-30 Thread Matt S Trout
On 30 Jan 2007, at 09:07, Tobias Kremer wrote: I was just looking at this last week, as I was using the code as a basis for a new controller. I suspect that it's never been tested, because as far as I can tell, it incorrectly reads the config from the controller object, rather than the

Re: [Catalyst] C::C::FormBuilder question

2007-01-30 Thread Matt S Trout
On 30 Jan 2007, at 08:48, Carl Franks wrote: I was just looking at this last week, as I was using the code as a basis for a new controller. I suspect that it's never been tested, because as far as I can tell, it incorrectly reads the config from the controller object, rather than the

Re: [Catalyst] Tweaking REST

2007-01-30 Thread Adam Jacob
On Jan 30, 2007, at 7:13 AM, Christopher H. Laco wrote: There are still some issues with using views, mainly that they both fight of setting content-type...and since REST sets it already, the view never sets it, which is good, but also the charset=utf isn't set either... Just to solidify

Re: [Catalyst] Tweaking REST

2007-01-30 Thread Adam Jacob
Yeah, I totally spaced it. I was spelling Flavor instead of Flavour. Silly english. Adam On Jan 30, 2007, at 2:29 AM, Kieren Diment wrote: On 30/01/07, Adam Jacob [EMAIL PROTECTED] wrote: On top of that, I want things to also work by extension: .json, .atom, .rss etc. That's where

Re: [Catalyst] C::C::FormBuilder question

2007-01-30 Thread Juan Camacho
On 1/29/07, Marc Logghe [EMAIL PROTECTED] wrote: Actually, the docs give a TT example: [% FormBuilder.render %] And therefore in TT it is not clear whether it is a variable or a package name. Anyways, I tried it with the package name in Mason as well (FormBuilder-render,

Re: [Catalyst] Hair-pulling over YAML config

2007-01-30 Thread Jonathan Rockway
Chisel Wright wrote: On Tue, Jan 30, 2007 at 09:58:00AM -, Carl Vincent wrote: That's exactly what we need - outputting warnings at on of the ConfigLoader levels loses the content of the error message. Could always add a Keep Quiet option... To be read from the unparsable/invalild

Re: [Catalyst] Re: Tweaking REST

2007-01-30 Thread Christopher H. Laco
Jonathan Rockway wrote: As for version, probably 2.0, or whatever XML::Feed spits out. Which version of RSS 2.0? Google for RSS 2.0 and you'll find it's a nightmare. Multiple versions with the same version number, inability to embed HTML properly etc. Nightmare, nightmare, nightmare.

[Catalyst] Re: Tweaking REST

2007-01-30 Thread Greg McAlpin
I would very much appreciate feedback on my approach to using my TT view with REST. I'm just playing with the AdventREST example trying to understand the whole REST thing. I created a class (lib/AdventREST/MyREST.pm) for my controllers to inherit from. This class inherits from

Re: [Catalyst] Re: Tweaking REST

2007-01-30 Thread Adam Jacob
On Jan 30, 2007, at 11:01 AM, Greg McAlpin wrote: I would very much appreciate feedback on my approach to using my TT view with REST. I'm just playing with the AdventREST example trying to understand the whole REST thing. I created a class (lib/AdventREST/MyREST.pm) for my controllers to