[Catalyst] Best practice for using transactions?

2006-12-15 Thread Jon Warbrick
ppropriate coderef to wrap), and I can't see where I could appropriately call txn_begin/txn_commit/txn_rollback to achieve a useful effect. Any advice from people who've been here before (even if it's 'you don't want to do that') would be very welcome. Jon. -- Jon

Re: [Catalyst] bad luck with shadowcat install -- something wrong with cpan? was Re: [Dbix-class] How to Install Catalyst on windows

2006-12-12 Thread Jon Warbrick
current/localperl/bin/perl > > CPAN: Storable loaded ok > > Going to read /home/thartman/.cpan/Metadata > > Database was generated on Thu, 24 Nov 2005 14:54:20 GMT I've seen this effect with ftp.perl.org occasionally in the pas

Re: [Catalyst] Mason configuration in YAML

2006-12-08 Thread Jon Warbrick
AGE__->config->{data_dir} = $c->config->{data_dir}; Er, can you? Where do you get $c from? Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge ___ List: Catalyst@lists.rawmode.org Listinfo: http://list

RE: [Catalyst] Re: template comparison

2006-10-29 Thread Jon Warbrick
you probably want the current developer version (0.04_01) which fixes problems working with config files. Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge ___ List: Catalyst@lists.rawmode.org Listinfo: http://list

Re: [Catalyst] Dispatching question: same path but different args attributes

2006-10-17 Thread Jon Warbrick
earch.cpan.org with no indication that it has been replaced by Catalyst-Runtime is likely to lead to confusion for anyone who goes looking for 'something called Catalyst'. Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge _

Re: [Catalyst] Reaction opened up for people to play with (patches welcome :)

2006-10-17 Thread Jon Warbrick
e module's maintainer. 3) DateTime::Format::MySQL appears to be needed for Date parsing but doesn't appear as an explicit dependency. Now to actually play with it... Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge

Re: [Catalyst] Rails-like form helpers

2006-10-13 Thread Jon Warbrick
ML::Widget also works on the update side - at least can check the > constraints, but it does not set values of an object - do the RoR helpers? A lot of this functionality exists in HTML::Widget. The main difference seems to be that in HTML::Widget you decide how you want your form controls

[Catalyst] $c->request->uri returning 'wrong' results?

2006-10-12 Thread Jon Warbrick
ed becasue http://www.example.com/ != http://www.example.com It looks as if this may at least partly be down to the inner workings of URI::canonical. Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge ___ List: Catalyst@l

Re: [Catalyst] Debugging Catalyst Apps

2006-10-12 Thread Jon Warbrick
me [condition] Set a breakpoint at first line of subroutine after it is compiled. It make it easy to set a breakpoint on entry to something like a method in a plugin without first having to work out where it's loaded and without having to edit it. Jon. -- Jon Warb

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-03 Thread Jon Warbrick
On Mon, 2 Oct 2006, Matt S Trout wrote: > Jon Warbrick wrote: > > But for some reason my Catalyst::View::MicroMason > > view, called Lookup::View::MicroMason _isn't_ successfully configured - it > > behaves as if the extra mixins are not present. Anyone any idea w

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-02 Thread Jon Warbrick
On Mon, 2 Oct 2006, Matt S Trout wrote: > Jon Warbrick wrote: > > But for some reason my Catalyst::View::MicroMason > > view, called Lookup::View::MicroMason _isn't_ successfully configured - it > > behaves as if the extra mixins are not present. Anyone any idea w

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-02 Thread Jon Warbrick
fo: - dbi:Pg:dbname=jw35 View::MicroMason: Mixins: - -Filters - -CompileCache -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/ma

Re: [Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-10-01 Thread Jon Warbrick
On Thu, 28 Sep 2006, Ash Berlin wrote: > Jon Warbrick wrote: > > Can a Catalyst::Model::DBIC::Schema model be configured from a YAML > > file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in > > the documentation somewhere, but if so I'v

[Catalyst] Configuring Catalyst::Model::DBIC::Schema from YAML

2006-09-28 Thread Jon Warbrick
Can a Catalyst::Model::DBIC::Schema model be configured from a YAML file via Catalyst::Plugin::Config::YAML? If so, how? Apologies if it's in the documentation somewhere, but if so I've yet to find it... Jon. -- Jon Warbrick Web/News Development, Computing Service, University of

Re: [Catalyst] Rails-like form helpers

2006-09-21 Thread Jon Warbrick
o suspect that there are some things that can't. Jon. -- Jon Warbrick Web/News Development, Computing Service, University of Cambridge ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchabl

[Catalyst] Rails-like form helpers

2006-09-20 Thread Jon Warbrick
thing that provides anything like the helpers themselves. Before I start creating something, probably as a DBIx::Class component, please can anyone tell me if I'm re-inventing the wheel? Jon. [1] http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#M000389 -- Jon Wa

Re: [Catalyst] Tutorial - CatalystBasics

2006-09-09 Thread Jon Warbrick
rror.tt2', > TIMER => 0 > }); > > Am using Catalyst version 5.7001. FWIW I've just had, and solved, exactly these problems (and another that caused 'MyApp' to be used in the INCLUDE_PATH settings for an application of a different name). It looks a