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

2007-01-31 Thread Carl Franks
On 30/01/07, Matt S Trout <[EMAIL PROTECTED]> wrote: 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 con

RE: [Catalyst] C::C::FormBuilder question

2007-01-31 Thread Marc Logghe
> -Original Message- > From: Juan Camacho [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 30, 2007 6:22 PM > To: The elegant MVC web framework > Subject: Re: [Catalyst] C::C::FormBuilder question > > On 1/29/07, Marc Logghe <[EMAIL PROTECTED]> wrote: >

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, Catalyst::Controller::

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 application

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 appli

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

2007-01-30 Thread Juan Camacho
On 1/30/07, Tobias Kremer <[EMAIL PROTECTED]> 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

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 t

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: __path_to

RE: [Catalyst] C::C::FormBuilder question

2007-01-29 Thread Marc Logghe
> > Couldn't render component "/moe/mol_3D_conv_form" - error > was "Can't > > call method "render" on an undefined value ... > > According to the docs, you need to call render on the package: > ><% FormBuilder->render %> Actually, the docs give a TT example: [% FormBuilder.render %] And th

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

2007-01-29 Thread Jonathan Rockway
Marc Logghe wrote: > Couldn't render component "/moe/mol_3D_conv_form" - error was "Can't > call method "render" on an undefined value ... According to the docs, you need to call render on the package: <% FormBuilder->render %> -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name