[Catalyst] Announce: Test::WWW::Mechanize::Catalyst 0.51

2009-03-16 Thread Ash Berlin
New version released that closes a few rt.cpan bugs and fixed a few issues I was having with CATALYST_SERVER. 0.51 Mon Mar 16 10:00 GMT 2009 - Doc updates from thejester - User agent fixes from ANDREMAR - Fix bug where redirect was followed on a 500 response - All remote

Re: [Catalyst] command in Catalyst tute part 4 for generating schema files (static creation) using DBIx::Class::TimeStamp needs to be updated

2009-03-16 Thread Adam Witney
kakim...@moomba-water-fest:~/projects/myApp/script$ ./myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static components=TimeStamp dbi:Pg:dbname=myApp:Username=test_user:Password=password11 exists /home/kakimoto/projects/myApp/script/../lib/myApp/Model exists

Re: [Catalyst] Catalyst::Controller::DBIC::Transaction Integration

2009-03-16 Thread Carl Franks
2009/3/16 David Schmidt davew...@gmx.at: Hello list, I need to put all DBIC Operations in an action into a transaction and thought the use of http://search.cpan.org/~druoso/Catalyst-Controller-DBIC-Transaction-0.3/lib/Catalyst/Controller/DBIC/Transaction.pm would be a good idea, but ever

Re: [Catalyst] Catalyst::Controller::DBIC::Transaction Integration

2009-03-16 Thread David Schmidt
Hello Carl and thanks I already attempted to solve the problem with changing the order of the parent classes. I still get the same error Can't call method submitted_and_valid on an undefined value at /home/david/temp/catalyst/nolabel2/Nolabel2/script/../lib/Nolabel2/Controller/Accounts.pm line

Re: [Catalyst] Catalyst::Controller::DBIC::Transaction Integration

2009-03-16 Thread Moritz Onken
If any Cat dev could point me to a Cat controller that does the action registering correctly, so I can fix C-C-HTML-FormFu, I'd very much appreciate it. Did you try to put this in C::C::HTML::FormFu? sub _parse_Form_attr { my ( $self ) = @_; return ( ActionClass =

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Adam Witney
On 14 Mar 2009, at 20:26, Moritz Onken wrote: Hi Scott, thanks for the info, do you use any particular module or have you built it yourself? I have found so far: HTML::FormFu::ExtJS Catalyst-Controller-HTML-FormFu-ExtJS any you'd recommend taking a look at? thanks again adam Hi

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Moritz Onken
Thanks for the link Moritz, I'm working my way through your examples from http://html-formfu.googlecode.com/svn/trunk/HTML-FormFu-ExtJS/lib/HTML/FormFu/ExtJS.pm Should javascript.tt2 contain this: script type=text/javascript Ext.onReady(function(){ var submitForm = function() {

RE: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Scott Pham (scpham)
-Original Message- From: Adam Witney [mailto:awit...@sgul.ac.uk] Sent: Saturday, March 14, 2009 2:05 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Catalyst and ExtJS On 14 Mar 2009, at 15:19, Scott Pham (scpham) wrote: -Original Message- From: Adam

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Adam Witney
Hi Scott, thanks for the info, do you use any particular module or have you built it yourself? I have found so far: HTML::FormFu::ExtJS Catalyst-Controller-HTML-FormFu-ExtJS any you'd recommend taking a look at? thanks again adam I built it myself using Catalyst::View::JSON and TT. It's

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Moritz Onken
Hi Scott, thank for your reply, in having a go at using Catalyst::View::JSON i keep running into the ... encountered object 'MyApp::Model::DB::Experiment=HASH(0xe8ac4c)', but neither allow_blessed nor convert_blessed settings ... error. I'm getting data from DBIC but can't figure out

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread J. Shirley
On Mon, Mar 16, 2009 at 10:53 AM, Moritz Onken on...@houseofdesign.dewrote: Hi Scott, thank for your reply, in having a go at using Catalyst::View::JSON i keep running into the ... encountered object 'MyApp::Model::DB::Experiment=HASH(0xe8ac4c)', but neither allow_blessed nor

Re: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Adam Witney
No, don't do that! Use $row-get_columns which returns a hash of the column data! Accessing internal methods is bad, accessing internal hash keys is doubleplusungood. If you find yourself doing that, go read some documentation. If you haven't figured it out without doing that, submit

RE: [Catalyst] Catalyst and ExtJS

2009-03-16 Thread Scott Pham (scpham)
-Original Message- From: Adam Witney [mailto:awit...@sgul.ac.uk] Sent: Monday, March 16, 2009 3:00 PM To: The elegant MVC web framework Subject: Re: [Catalyst] Catalyst and ExtJS No, don't do that! Use $row-get_columns which returns a hash of the column data! Accessing