Re: [Catalyst] Forms generation

2007-06-14 Thread Eden Cardim
://code2.0beta.co.uk/reaction/svnweb/index.cgi/reaction -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática ___ List: Catalyst@lists.rawmode.org Listinfo: http

Re: [Catalyst] running a function once on all requests

2007-06-04 Thread Eden Cardim
/Catalyst/Manual/Intro.pod#Built-in_actions_in_controllers/autochaining http://dev.catalystframework.org/wiki/FlowChart -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática

Re: [Catalyst] running a function once on all requests

2007-06-04 Thread Eden Cardim
if this is the best way to do it, I'd much prefer this over subclassing since things can get messy if you need to inherit from another controller like FormBuilder or REST. -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de

Re: [Catalyst] Catalyst and transactions

2007-05-25 Thread Eden Cardim
On 5/25/07, Eden Cardim [EMAIL PROTECTED] wrote: You need to ask for the model name that inherits from Catalyst::Model::DBIC::Schema, the one that has __PACKAGE__-config( schema_class = 'kRadDB', config_info = '...' ) in it, not the schema class. oops, s/config/connect/ -- Eden Cardim

Re: [Catalyst] ActiveRecord for Perl

2007-05-22 Thread Eden Cardim
DBIC works. -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo

Re: [Catalyst] Howto use ConfigLoader?

2007-05-12 Thread Eden Cardim
On 5/12/07, Johannes Rumpf [EMAIL PROTECTED] wrote: snip Howto find out if my Config is loaded? Because $c-config-{my_test} result in empty value? Any advice? Make sure to put a trailing \n in the file. -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e

[Catalyst] Debug/Warning messages for duplicate files under M/V/C directorios

2007-04-28 Thread Eden Cardim
this done? -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo

Re: [Catalyst] putting an object in the stash

2007-03-13 Thread Eden Cardim
On 3/13/07, Octavian Rasnita [EMAIL PROTECTED] wrote: Please tell me what it means column inflation. Check the docs for DBIx::Class::InflateColumn -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de

Re: [Catalyst] assigning vars to $c-stash

2007-03-12 Thread Eden Cardim
On 3/12/07, Robert 'phaylon' Sedlacek [EMAIL PROTECTED] wrote: $c-stash( %$hash ); $c-stash( $hash ); is a little bit faster... -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática -- you

Re: [Catalyst] reserved words

2007-03-07 Thread Eden Cardim
implemented. Or just change TT to whatever type of view you want. Either that or implement a process() method yourself. -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática -- you seem to think that 'close

Re: [Catalyst] default template

2006-12-29 Thread Eden Cardim
-uri_for('/')); } -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática -- you seem to think that 'close enough' is close enough... please learn to be 'literal' around programming. merlyn

Re: [Catalyst] Accessing $c from Model

2006-12-27 Thread Eden Cardim
just say $c-model('Log')-info(foo) and automatically get $c passed in? What's wrong with $c-forward('Model::Log', 'info', ['foo']) ? -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática -- you seem

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-06 Thread Eden Cardim
, etc, with whatever external module I see fit, based on the stash data. Then I stuff them back into the stash and use the template only for layouting those pre-built pieces. -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas

Re: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-06 Thread Eden Cardim
to the view in the first place. An object is still an object, whether it's stored in a database or not. -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática -- you seem to think that 'close enough

Re: [Catalyst] Re: How to redirect before some code excute

2006-10-27 Thread Eden Cardim
myaction : Local { $c-res-body('running job'); $c-after_finalize(sub { run_job() } ); } -- Eden Cardim Instituto Baiano de Biotecnologia Núcleo de Biologia Computacional e Gestão de Informações Biotecnológicas Laboratório de Bioinformática -- you seem to think that 'close enough' is close enough

Re: [Catalyst] Program the logic

2006-06-29 Thread Eden Cardim
On 6/28/06, Eduardo Oliveros [EMAIL PROTECTED] wrote: I know is difficult in practice to separate both worlds (logic from the presentation) but that is the false promise of the MVC pattern :). Not really, no, the MVC pattern is actually just a specialized Adapter pattern so you can program