[Catalyst] Catalyst DBIX stash, getting at the data

2012-10-15 Thread Tadhg
Hi, I'm developing my first Catalyst application, Windows, MySQL, DBIx and Template Toolkit. As part of this I've overcome various problems and now have a working app, but I'm having recurring difficulties understanding the relationship between DBIx, Catalyst and TT. What I want is simply to

Re: [Catalyst] Catalyst DBIX stash, getting at the data

2012-10-15 Thread Francisco Obispo
You don't need to store the data in $c-session. if you're using Catalyst::View::TT, you just be able to: $c-stash-{project}=$c-model('DB::Project')-find($project_id); and then in your view: h3[% project.project_name %]/h3 regards On Oct 15, 2012, at 12:28 PM, Tadhg tadhg.da...@gmail.com